I am facing Host name does not match the certificate issue in ES. I tried checking in ES forum and some has asked to disable the CN name check at code level but in the same thread we also see that its not recommended solution. I have pasted the error below, Please help if you have found any other solution otherthan disabling the hostname verification at code level. I have 2 nodes in a cluster in Elastic Search and connecting from JBoss 7.1.
Please find the url for which I referred,
INFO : 24 Mar 2021 11:32:34,094 org.ifc.search.controller.SearchController - Ops!
java.io.IOException: Host name 'xyz.org' does not match the certificate subject provided by the peer (CN=xyz.org)