$ curl -XGET https://localhost:9200/_cluster/settings curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.
In the logs I have:
opensearch-node1 | [2022-01-19T10:39:57,736][ERROR][o.o.s.s.h.n.SecuritySSLNettyHttpServerTransport] [opensearch-node1] Exception during establishing a SSL connection: javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca opensearch-node1 | javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca opensearch-node1 | at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?] opensearch-node1 | at sun.security.ssl.Alert.createSSLException(Alert.java:117) ~[?:?] opensearch-node1 | at sun.security.ssl.TransportContext.fatal(TransportContext.java:356) ~[?:?] opensearch-node1 | at sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:293) ~[?:?]
I tried editing
docker-compose.yml and added:
- DISABLE_INSTALL_DEMO_CONFIG=false - plugins.security.ssl.http.enabled=false
but it didn’t help.
Once I solve this it can be used as reference here, but anyone who can hint me at the right direction is much appreciated