I need to change the passwords via the "elasticsearch-setup-passwords" command. It's been working without any problems until I secured my connections with TLS.
Now I get the following error:
SSL connection to https://elasticsearch1:9200/_xpack/security/_authenticate?pretty failed: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Please check the elasticsearch SSL settings under xpack.security.http.ssl. ERROR: Failed to establish SSL connection to elasticsearch at https://elasticsearch1:9200/_xpack/security/_authenticate?pretty.
I've tried to fix it with this troubleshooting guide but I couldn't fix it.
I would appreciate any advice or hints, thank you in advance!