# Search Guard not initialized (SG11)

**URL:** https://forum.search-guard.com/t/search-guard-not-initialized-sg11/273
**Category:** Search Guard
**Created:** [September 9, 2016, 7:11pm UTC](https://forum.search-guard.com/t/search-guard-not-initialized-sg11/273 "2016-09-09T19:11:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shashidhar\_rathod](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@shashidhar\_rathod](https://forum.search-guard.com/u/shashidhar_rathod)
#### Post date: [September 9, 2016, 7:11pm UTC](https://forum.search-guard.com/t/search-guard-not-initialized-sg11/273/1 "2016-09-09T19:11:43Z")

</div>

Hi,

We are facing issues while setting up Search Gurad with Elasticsearch for SSL and Authenticaton features…[**This solution suits us because SSL and authentication is completely free with Search Guard -** please confirm if this is not correct]…we are completely stuck because of error - Search Guard not initialized (SG11).

**Different approaches tried for searchguard installation:**

1. We have tried generating keystore.jks and truststore.jks certificates using openssl and keytool. Also configured the elaticsearch.yml file accordingly ---- but not worked out.

2. Using Searchguard Bundle - followed all the steps available in [https://github.com/floragunncom/search-guard/wiki/Search-Guard-Bundle](https://github.com/floragunncom/search-guard/wiki/Search-Guard-Bundle) and executed sgadmin.sh after that started elasticsearch service successfully…when tried accessing [https://localhost:9200](https://localhost:9200) - it says Search Guard not initialized (SG11).

3. Installed the searchguard 2 plugin manually and configured the elasticsearch.yml file accordingly and when trying [https://localhost:9200](https://localhost:9200) - it says Search Guard not initialized (SG11).

**What we are requesting here**

- Please provide the detailed steps which can help us to setup this, also a sample working yml files and configurations.
- Please confirm availability of authentication feature with searchguard free edition.
- Does searchguard works on windows OS.

Your help is highly appreciated…please find below contact email id’s

Best Regards,

Shashi & Anurag

[shashidhar.rathod@gmail.com](mailto:shashidhar.rathod@gmail.com)

[anuragsinghai2010@gmail.com](mailto:anuragsinghai2010@gmail.com)

[elasticsearch.yml](https://forum.search-guard.com/uploads/short-url/2p6Zk4qjW3ixe3qV3BLP2Qobhmy.yml) (4.85 KB)

---

<div class="post-metadata">

### Author: ![searchguard\_google\_group](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/searchguard_google_group/32/462_2.png) [@searchguard\_google\_group](https://forum.search-guard.com/u/searchguard_google_group)
#### Post date: [September 14, 2016, 6:59pm UTC](https://forum.search-guard.com/t/search-guard-not-initialized-sg11/273/2 "2016-09-14T18:59:56Z")

</div>

You can expect a bugfix release this week (alongside with a 2.4.0 compatible version)

> **···**
>
> > Am 09.09.2016 um 21:11 schrieb shashidhar rathod \<shashidhar.rathod@gmail.com\>:
> > 
> > Hi,
> > 
> > We are facing issues while setting up Search Gurad with Elasticsearch for SSL and Authenticaton features...[This solution suits us because SSL and authentication is completely free with Search Guard - please confirm if this is not correct]....we are completely stuck because of error - Search Guard not initialized (SG11).
> > 
> > Different approaches tried for searchguard installation:
> > 
> > 1. We have tried generating keystore.jks and truststore.jks certificates using openssl and keytool. Also configured the elaticsearch.yml file accordingly ---- but not worked out.  
> > 2. Using Searchguard Bundle - followed all the steps available in [GitHub - floragunncom/search-guard: Search Guard Plugin - Security for Elasticsearch](https://github.com/floragunncom/search-guard/wiki/Search-Guard-Bundle) and executed sgadmin.sh after that started elasticsearch service successfully...when tried accessing [https://localhost:9200](https://localhost:9200) - it says Search Guard not initialized (SG11).  
> > 3. Installed the searchguard 2 plugin manually and configured the elasticsearch.yml file accordingly and when trying [https://localhost:9200](https://localhost:9200) - it says Search Guard not initialized (SG11).
> > 
> > What we are requesting here
> > 
> > &nbsp;&nbsp;• Please provide the detailed steps which can help us to setup this, also a sample working yml files and configurations.  
> > &nbsp;&nbsp;• Please confirm availability of authentication feature with searchguard free edition.  
> > &nbsp;&nbsp;• Does searchguard works on windows OS.
> > 
> > Your help is highly appreciated..............please find below contact email id's
> > 
> > Best Regards,  
> > Shashi & Anurag  
> > shashidhar.rathod@gmail.com  
> > anuragsinghai2010@gmail.com
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "Search Guard" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.  
> > To post to this group, send email to search-guard@googlegroups.com.  
> > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/d59943a7-2ec0-4a35-bee2-ad2535ab294a%40googlegroups.com\](https://groups.google.com/d/msgid/search-guard/d59943a7-2ec0-4a35-bee2-ad2535ab294a%40googlegroups.com%5C).  
> > For more options, visit [https://groups.google.com/d/optout\](https://groups.google.com/d/optout%5C).  
> > \<elasticsearch.yml\>

---

<div class="post-metadata">

### Author: ![searchguard\_google\_group](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/searchguard_google_group/32/462_2.png) [@searchguard\_google\_group](https://forum.search-guard.com/u/searchguard_google_group)
#### Post date: [September 22, 2016, 8:23pm UTC](https://forum.search-guard.com/t/search-guard-not-initialized-sg11/273/3 "2016-09-22T20:23:52Z")

</div>

fix is released [Redirecting to Google Groups](https://groups.google.com/forum/#!topic/search-guard/A7UgODwsdWw)

> **···**
>
> > Am 14.09.2016 um 20:59 schrieb SG \<info@search-guard.com\>:
> > 
> > You can expect a bugfix release this week (alongside with a 2.4.0 compatible version)
> > 
> > > Am 09.09.2016 um 21:11 schrieb shashidhar rathod \<shashidhar.rathod@gmail.com\>:
> > > 
> > > Hi,
> > > 
> > > We are facing issues while setting up Search Gurad with Elasticsearch for SSL and Authenticaton features...[This solution suits us because SSL and authentication is completely free with Search Guard - please confirm if this is not correct]....we are completely stuck because of error - Search Guard not initialized (SG11).
> > > 
> > > Different approaches tried for searchguard installation:
> > > 
> > > 1. We have tried generating keystore.jks and truststore.jks certificates using openssl and keytool. Also configured the elaticsearch.yml file accordingly ---- but not worked out.  
> > > 2. Using Searchguard Bundle - followed all the steps available in [GitHub - floragunncom/search-guard: Search Guard Plugin - Security for Elasticsearch](https://github.com/floragunncom/search-guard/wiki/Search-Guard-Bundle) and executed sgadmin.sh after that started elasticsearch service successfully...when tried accessing [https://localhost:9200](https://localhost:9200) - it says Search Guard not initialized (SG11).  
> > > 3. Installed the searchguard 2 plugin manually and configured the elasticsearch.yml file accordingly and when trying [https://localhost:9200](https://localhost:9200) - it says Search Guard not initialized (SG11).
> > > 
> > > What we are requesting here
> > > 
> > > &nbsp;&nbsp;• Please provide the detailed steps which can help us to setup this, also a sample working yml files and configurations.  
> > > &nbsp;&nbsp;• Please confirm availability of authentication feature with searchguard free edition.  
> > > &nbsp;&nbsp;• Does searchguard works on windows OS.
> > > 
> > > Your help is highly appreciated..............please find below contact email id's
> > > 
> > > Best Regards,  
> > > Shashi & Anurag  
> > > shashidhar.rathod@gmail.com  
> > > anuragsinghai2010@gmail.com
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups "Search Guard" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.  
> > > To post to this group, send email to search-guard@googlegroups.com.  
> > > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/d59943a7-2ec0-4a35-bee2-ad2535ab294a%40googlegroups.com\](https://groups.google.com/d/msgid/search-guard/d59943a7-2ec0-4a35-bee2-ad2535ab294a%40googlegroups.com%5C).  
> > > For more options, visit [https://groups.google.com/d/optout\](https://groups.google.com/d/optout%5C).  
> > > \<elasticsearch.yml\>
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "Search Guard" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.  
> > To post to this group, send email to search-guard@googlegroups.com.  
> > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/9B055BC3-EB26-4806-AC09-735CC3E42222%40search-guard.com\](https://groups.google.com/d/msgid/search-guard/9B055BC3-EB26-4806-AC09-735CC3E42222%40search-guard.com%5C).  
> > For more options, visit [https://groups.google.com/d/optout\](https://groups.google.com/d/optout%5C).
