Hi,
I’ve just upgraded my ES from 5.5 to 5.6.2 but when I’m trying to launch sgadmin I’ve got this error:
ERR: You try to connect with a ssl node certificate instead of an admin client certificate
This may have worked in previous versions of Search Guard but is now forbidden
For more informations look here: https://github.com/floragunncom/search-guard-docs/blob/master/sgadmin.md#configuring-the-admin-certificate
``
I’ve generated all the certificates from the certificate generator webpage
cat /etc/elasticsearch/elasticsearch.yml
cluster.name: quicollectdev
node.name: qcmidev.inetworking.it
network.host: localhost
bootstrap.memory_lock: true
node.master: 1
node.data: 1
transport.tcp.port: 9300
http.port: 9200
discovery.zen.ping.unicast.hosts: [“192.168..”]
searchguard.ssl.transport.enable_openssl_if_available: false
searchguard.ssl.transport.keystore_filepath: CN=qcmi03.inetworking.it-keystore.jks
searchguard.ssl.transport.keystore_password: password-generated
searchguard.ssl.transport.truststore_filepath: truststore.jks
searchguard.ssl.transport.truststore_password: password-generated
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.ssl.transport.resolve_hostname: false
searchguard.ssl.http.enabled: false
searchguard.ssl.http.truststore_filepath: truststore.jks
searchguard.ssl.http.truststore_password: password-generated
searchguard.ssl.http.keystore_filepath: CN=qcmi03.inetworking.it-keystore.jks
searchguard.ssl.http.keystore_password: password-generated
searchguard.authcz.admin_dn:
- CN=sgadmin
``
this is the diagnose Diagnostic sgadmin traceES client version: 5.6.2Client properties: {java.run - Pastebin.com
I’ve placed the sgadmin-keystore and the truststore in plugins/search-guard-5/tools path:
[root@qcmidev tools]# pwd
/usr/share/elasticsearch/plugins/search-guard-5/tools
[root@qcmidev tools]# ll
total 576
-rw-r–r-- 1 elasticsearch elasticsearch 4060 4 ott 15.59 CN=sgadmin-keystore.jks
-rw-r–r-- 1 root root 214 4 ott 11.43 hash.bat
-rwxr-xr-x 1 root root 373 4 ott 11.43 hash.sh
-rwxr-xr-x 1 root root 18449 4 ott 11.43 install_demo_configuration.sh
-rw-r–r-- 1 root root 282 4 ott 11.43 sgadmin.bat
-rw-r–r-- 1 root root 542883 4 ott 16.21 sgadmin_diag_trace_2017-Oct-04_16-21-25.txt
-rwxr-xr-x 1 root root 414 4 ott 11.43 sgadmin.sh
-rw-r–r-- 1 elasticsearch elasticsearch 972 4 ott 15.59 truststore.jks
``
I’ve searched for a solution around but nothing. Any help is really appreciated