Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5957

Unable to disable CN Check in "wildfly-8.2.0.Final"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 8.2.0.Final
    • Web Services
    • None

      My application is working in wildfly-8.2.0.Final.
      This application needs to access a web service that allows only SSL connections.
      On posting request to webservice got "Marshalling Error: The https URL hostname does not match the Common Name (CN) on the server certificate in the client's truststore. Make sure server certificate is correct, or to disable this check (NOT recommended for production) set the CXF client TLS configuration property "disableCNCheck" to true." exception.

      So i want to disable CN Check
      Tried with system properties.

      <system-properties>
      <property name="cxf.tls-client.disableCNCheck" value="true"/>
      </system-properties>.

      But the same is not working.
      Please help us to to disable this common name check on wildfly 8.2?

              rhn-support-asoldano Alessio Soldano
              vrkkarthik Karthikeyan Ramasamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: