问题
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