Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Authentication error #92

Open
ehongyu opened this issue May 3, 2019 · 1 comment
Open

Authentication error #92

ehongyu opened this issue May 3, 2019 · 1 comment

Comments

@ehongyu
Copy link

ehongyu commented May 3, 2019

After running docker-compose up, I was able to log into Kabana UI at port 5601 of localhost, but I am having trouble accessing Elasticsearch in port 9200. The server log shows something like:
io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record
I've tried putting Username (elastic) and Password (copied from stdout) in the Authorization menu in Postman, but my GET or PUT requests still failed and the log shows the same error.

@ChuckWoodraska
Copy link

I was also having a hard time with this. I had to pass a cert and my creds to the endpoint. In the end my curl looked like:

curl https://127.0.0.1:9200/_cat/health --cacert PATH-TO/config/ssl/ca/ca.crt -u elastic -p

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants