I am not able to post request to external source.i always gets error: handshake alert: unrecognized_name"
Can you provide a bit more information?
What does your config look like?
I am using webhook in action like this.
"actions" : {
"my_webhook" : {
"webhook" : {
"scheme":"https",
"method" : "get",
"host" : "host",
"path": "uripath",
"port":443,
"headers":{
"header1":"value1"
}
}
}
}
Exception :
"id": "my_webhook",
"webhook": {
"success": false,
"reason": "failed to execute [webhook] action [ount_watch_0-2015-06-17T14:37:52.408Z/my_webhook]. error: handshake alert: unrecognized_name"
It could be an SSL mismatch error.
Does the hostname you are connecting to have that as a valid entry in the SSL certificate?
Hi,
Java 7 is quite strict with SNI. You can also try running elasticsearch with the following system argument:
-Djsse.enableSNIExtension=false