S_s_l_handshake_exception error

I am getting the following error

{
"error" : {
"root_cause" : [
{
"type" : "s_s_l_handshake_exception",
"reason" : "Received fatal alert: handshake_failure"
}
],
"type" : "s_s_l_handshake_exception",
"reason" : "Received fatal alert: handshake_failure"
},
"status" : 500
}

I have checked and verified all inputs for the following curl reindex call:

curl -X POST "SERVER/_reindex?pretty" -H 'Content-Type: application/json' -d"{ "source": { "remote": { "host": "REMOTE_SERVER", "username": "SERVICE_ACC", "password": "PW"},"index": "INDEX", "query": { "match_all": {} } }, "dest": { "index": "INDEX" }}"

The remote servers have been added to the elasticsearch.yml. However, I am not sure if the issue is that the server i am running this call on is an http protocol server and the remote is https so it may have problems. But as you can see in the call i provided the username and password for the remote servers.

Is the issue the http to https connection or what else could be wrong?

So I managed to set both servers to that of an https protocol. Both are secure and on the same domain. But the error still occurs.

Looks like SSL Certificate issue

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.