I need to configure a wso2 ESB proxy service to connect with a back end service which expose over HTTPS. To do this i need to insert and configure the SSL Certificate that i have with me.
Currently what i have done was include the certificate to wso2carbon.jks and client-truststore.jks in wso2esb-\repository\resources\security folder and adding custom profile to axis2.xml in wso2esb-\repository\conf\axis2 folder.
But when i try to test the URL when adding to wsdl based proxy it gives me following exception in console.
ERROR - ProxyServiceAdminClient Couldn't create endpoint from the given WSDL URI : java.security.cert.CertificateException: No name matching localhost found
org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminProxyAdminException: Couldn't create endpoint from the given WSDL URI : java.security.cer
t.CertificateException: No name matching localhost found