./sgctl.sh connect localhost --ca-cert /etc/elasticsearch/cacert.pem --cert /etc/elasticsearch/cert.pem --key /etc/elasticsearch/key.pem -v -k
Connecting to localhost:9200 with certificate CN=Server, O=XXX
Server is unavailable: Service Unavailable
@Varinder1 Could you run the following command from the same place as sgctl.sh
curl --insecure -u <username>:<password> https://localhost:9200
@pablo , Its resolved . I was dues to certs, DN mismatch with client cert and searchguard’s mismatch.
Thanks.
1 Like
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.