Host name does not match the certificate

Hi,

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,

Error:
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)

Thanks,
Ajith

When you generate your certificates, you should set the appropriate hostname.
See the --dns option to certutil

Hi Tim,

We have the SAN names in the CSR we generated and using that .csr we have created an internal certificate. PFA screenshot.

Thanks,


Ajith

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