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?