title: The https URL hostname does not match the Common Name (CN) on the server certificate
body: <p>I am getting the following error </p>
  
  <pre><code>javax.xml.ws.soap.SOAPFaultException: Marshalling Error: The https URL hostname does not match the Common Name (CN) on the server certificate.  To disable this check (NOT recommended for production) set the CXF client TLS configuration property "disableCNCheck" to true.
  </code></pre>
  
  <p>when I try to connect and use the Web Services. </p>
  
  <p>I have added the following lines in cxf.xml but it still  doesn't work. </p>
  
  <pre><code>&lt;http-conf:conduit  name="*.http-conduit"&gt;
  &lt;!--  deactivate HTTPS url hostname verification (localhost, etc)
  WARNING ! disableCNcheck=true should NOT be used in production --&gt;
  &lt;http-conf:tlsClientParameters  disableCNCheck="true" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>The cxf.xml file is placed under WEB-INF/classes/CxfService.</p>
  
  <p>Kindly let me know on what would be the issue?.  </p>