# sgadmin fails please solve this issue

**URL:** <https://forum.search-guard.com/t/sgadmin-fails-please-solve-this-issue/651>\
**Category:** Search Guard\
**Created:** [October 23, 2017, 5:05pm UTC](https://forum.search-guard.com/t/sgadmin-fails-please-solve-this-issue/651 "2017-10-23T17:05:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreenu\_boggala](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@sreenu\_boggala](https://forum.search-guard.com/u/sreenu_boggala)\
**Post date:** [October 23, 2017, 5:05pm UTC](https://forum.search-guard.com/t/sgadmin-fails-please-solve-this-issue/651/1 "2017-10-23T17:05:32Z")

</div>

When asking questions, please provide the following information:

- Search Guard and Elasticsearch version: searchguard in 5.6.3-16 and elasticsearch-5.6.3

- JVM version and operating system version:1.8 and windows 8.1

elasticsearch.yml

searchguard.ssl.transport.enable\_openssl\_if\_available: false  
searchguard.ssl.http.enable\_openssl\_if\_available: false  
searchguard.ssl.transport.keystore\_filepath: CN=127.0.0.1-keystore.jks  
searchguard.ssl.transport.keystore\_password: 318e5a5cd48317fcbf52  
searchguard.ssl.transport.truststore\_filepath: truststore.jks  
searchguard.ssl.transport.truststore\_password: 89c9649dbfb96c4155f0  
searchguard.ssl.transport.enforce\_hostname\_verification: false  
searchguard.ssl.http.enabled: true  
searchguard.ssl.http.keystore\_filepath: CN=127.0.0.1-keystore.jks  
searchguard.ssl.http.keystore\_password: 318e5a5cd48317fcbf52  
searchguard.ssl.http.truststore\_filepath: truststore.jks  
searchguard.ssl.http.truststore\_password: 89c9649dbfb96c4155f0

searchguard.authcz.admin\_dn:

- CN=sgadmin

cluster.name: searchguard\_demo

network.host: 127.0.0.1

please tell me how to fix this issue asap its very urgent implementing my project.

thanks and regards,

sreenu

 ![](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/1X/bf40d6b78af51e0c3f5888856683078b44d88847.png)

 ![](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/1X/205855626144bc4163a7fada670038ac796df68d.png)

---

<div class="post-metadata">

**Author:** ![sreenu\_boggala](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@sreenu\_boggala](https://forum.search-guard.com/u/sreenu_boggala)\
**Post date:** [October 23, 2017, 5:11pm UTC](https://forum.search-guard.com/t/sgadmin-fails-please-solve-this-issue/651/2 "2017-10-23T17:11:14Z")

</div>

C:\ELK-STACK\elasticsearch-5.6.3\elasticsearch-5.6.3\plugins\search-guard-5\tool

> sgadmin.bat -ts truststore.jks -tspass 89c9649dbfb96c4155f0 -ks CN=sgadmin-key  
> store.jks -kspass 318e5a5cd48317fcbf52 -nhnv -icl -cd …/sgconfig/

> **···**
>
> On Monday, October 23, 2017 at 10:35:32 PM UTC+5:30, sreenu boggala wrote:
> 
> > When asking questions, please provide the following information:
> 
> > - Search Guard and Elasticsearch version: searchguard in 5.6.3-16 and elasticsearch-5.6.3
> 
> > - JVM version and operating system version:1.8 and windows 8.1
> 
> > elasticsearch.yml
> 
> > 
> 
> > searchguard.ssl.transport.enable\_openssl\_if\_available: false  
> > searchguard.ssl.http.enable\_openssl\_if\_available: false  
> > searchguard.ssl.transport.keystore\_filepath: CN=127.0.0.1-keystore.jks  
> > searchguard.ssl.transport.keystore\_password: 318e5a5cd48317fcbf52  
> > searchguard.ssl.transport.truststore\_filepath: truststore.jks  
> > searchguard.ssl.transport.truststore\_password: 89c9649dbfb96c4155f0  
> > searchguard.ssl.transport.enforce\_hostname\_verification: false  
> > searchguard.ssl.http.enabled: true  
> > searchguard.ssl.http.keystore\_filepath: CN=127.0.0.1-keystore.jks  
> > searchguard.ssl.http.keystore\_password: 318e5a5cd48317fcbf52  
> > searchguard.ssl.http.truststore\_filepath: truststore.jks  
> > searchguard.ssl.http.truststore\_password: 89c9649dbfb96c4155f0
> > 
> > searchguard.authcz.admin\_dn:
> > 
> > - CN=sgadmin
> > 
> > [cluster.name](http://cluster.name): searchguard\_demo
> > 
> > network.host: 127.0.0.1
> 
> > please tell me how to fix this issue asap its very urgent implementing my project.
> 
> > 
> 
> > thanks and regards,
> 
> > sreenu

---

<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:** [November 1, 2017, 8:46pm UTC](https://forum.search-guard.com/t/sgadmin-fails-please-solve-this-issue/651/3 "2017-11-01T20:46:44Z")

</div>

Why has CN=sgadmin-keystore.jks and 127.0.0.1-keystore.jks the same password?  
Maybe you confused the keystores somehow?

> **···**
>
> > Am 23.10.2017 um 19:11 schrieb sreenu boggala \<boggalasreenu@gmail.com\>:
> > 
> > C:\ELK-STACK\elasticsearch-5.6.3\elasticsearch-5.6.3\plugins\search-guard-5\tool  
> > \>sgadmin.bat -ts truststore.jks -tspass 89c9649dbfb96c4155f0 -ks CN=sgadmin-key  
> > store.jks -kspass 318e5a5cd48317fcbf52 -nhnv -icl -cd ../sgconfig/
> > 
> > On Monday, October 23, 2017 at 10:35:32 PM UTC+5:30, sreenu boggala wrote:  
> > When asking questions, please provide the following information:
> > 
> > \* Search Guard and Elasticsearch version: searchguard in 5.6.3-16 and elasticsearch-5.6.3
> > 
> > \* JVM version and operating system version:1.8 and windows 8.1  
> > elasticsearch.yml
> > 
> > searchguard.ssl.transport.enable\_openssl\_if\_available: false  
> > searchguard.ssl.http.enable\_openssl\_if\_available: false  
> > searchguard.ssl.transport.keystore\_filepath: CN=127.0.0.1-keystore.jks  
> > searchguard.ssl.transport.keystore\_password: 318e5a5cd48317fcbf52  
> > searchguard.ssl.transport.truststore\_filepath: truststore.jks  
> > searchguard.ssl.transport.truststore\_password: 89c9649dbfb96c4155f0  
> > searchguard.ssl.transport.enforce\_hostname\_verification: false  
> > searchguard.ssl.http.enabled: true  
> > searchguard.ssl.http.keystore\_filepath: CN=127.0.0.1-keystore.jks  
> > searchguard.ssl.http.keystore\_password: 318e5a5cd48317fcbf52  
> > searchguard.ssl.http.truststore\_filepath: truststore.jks  
> > searchguard.ssl.http.truststore\_password: 89c9649dbfb96c4155f0  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
> > searchguard.authcz.admin\_dn:  
> > &nbsp;&nbsp;- CN=sgadmin
> > 
> > cluster.name: searchguard\_demo
> > 
> > network.host: 127.0.0.1  
> > please tell me how to fix this issue asap its very urgent implementing my project.
> > 
> > thanks and regards,  
> > sreenu
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" 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/6caaa28c-6039-465d-9c5a-fc8a06484a0c%40googlegroups.com\](https://groups.google.com/d/msgid/search-guard/6caaa28c-6039-465d-9c5a-fc8a06484a0c%40googlegroups.com%5C).  
> > For more options, visit [https://groups.google.com/d/optout\](https://groups.google.com/d/optout%5C).
