hostname in certificate didn't match:<>!=<> WSO2 APIM

僤鯓⒐⒋嵵緔 提交于 2019-12-07 10:31:15

问题


I have a https endpoint and I need to access it from wso2 API manager. (uses 1.10).I already added the certificate files to "client-truststore.jks" file. But now it gives an error as follows.

 hostname in certificate didn't match:<ip>!=<entry name>. 

I have already updated the axis2.xml file as follows also.

<parameter name="HostnameVerifier">AllowAll</parameter>

How can I solve this issue with WSO2 APIManager to access this https backend service


回答1:


The CN of the certificate should match with the hostname of the URL. You get above error when they don't match.



来源:https://stackoverflow.com/questions/39868602/hostname-in-certificate-didnt-match-wso2-apim

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!