title: How to disable Hostname verification in jboss
body: <p>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</p>
  
  <pre><code>protocol-socket-factory=org.apache.commons.httpclient.contrib.ssl.StrictSSLProtocolSocketFactory
  </code></pre>
  
  <p>configured in httpClient.properties. But when hitting the end point, exception is thrown saying</p>
  
  <blockquote>
    <p>org.jboss.soa.esb.actions.ActionProcessingException: problem processing HTTP I/O: hostname in certificate didn't match: &lt;15.191.34.56> != hostname.</p>
  </blockquote>
  
  <p>Please let me know how to disable the host name verification for Strict SSL?</p>