I'm using docker-compose setup as described here:
And I'm able to send requests to e01 using curl passing a certificate and username with password.
Now I want to send requests from my application to e01 node. I tried to do it with postman first and always run into an error:
GET https://localhost:9200/indices
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "missing authentication credentials for REST request [/_cat/indices]",
"header": {
"WWW-Authenticate": [
"Basic realm=\"security\" charset=\"UTF-8\"",
"Bearer realm=\"security\"",
"ApiKey"
]
}
}
],
"type": "security_exception",
"reason": "missing authentication credentials for REST request [/_cat/indices]",
"header": {
"WWW-Authenticate": [
"Basic realm=\"security\" charset=\"UTF-8\"",
"Bearer realm=\"security\"",
"ApiKey"
]
}
},
"status": 401
}
I have ca.crt and ca.key client certificate set. I took them from ca.zip.
What am I missing?