5

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

Anushka Ekanayake
  • 977
  • 2
  • 13
  • 33

1 Answers1

1

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

Bee
  • 12,251
  • 11
  • 46
  • 73