i have the elastic search up and running with SSL
the command curl --insecure -X GET 'https://localhost:9200?pretty' works perfectly
now after installing the Enterprise Search, the yml looks like below ::
but the connection failed
any idea ?
Are you using self signed certs? If so the. The enterprise search server probably isn't set up to trust the elasticsearch server certificate.
the request curl --insecure -X GET 'https://localhost:9200?pretty' works fine
so I assume the SSL configuration is ok in the elasticsearch
the lasticsearch.yml looks like below ::
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length
I am new to SSL and how it should work, so maybe I am missing something
I wasn't saying that the SSL wasn't setup properly in elasticsearch, but SSL is based off of trust. I trust the issuer so I trust you. If the enterprise search server isn't set to trust the certificates that are on the elasticsearch server then the requests will fail. The reason the curl commands are working is because you're using the
--insecure, try without and you'll see the error I'm referring to.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.