We have an application deployed in Jboss SOA 5.3.1. Created self signed certificate in both server and client and it is 1 way ssl. But both server and client certificate created with hostname and end point is registered with IP address. We are using
protocol-socket-factory=org.apache.commons.httpclient.contrib.ssl.StrictSSLProtocolSocketFactory
configured in httpClient.properties. But when hitting the end point, exception is thrown saying
org.jboss.soa.esb.actions.ActionProcessingException: problem processing HTTP I/O: hostname in certificate didn't match: <15.191.34.56> != hostname.
Please let me know how to disable the host name verification for Strict SSL?