2 Replies Latest reply on May 18, 2009 1:10 AM by jumajii

    JVM - TLSClientParameters

    jumajii

      Hi,

      can I set "setDisableCNCheck=false" (class org.apache.cxf.configuration.jsse.TLSClientParameters) in JVM Arguments of CF8-Server Settings-Java and JVM section?

      thanks

      juma

        • 1. Re: JVM - TLSClientParameters
          BKBK Adobe Community Professional & MVP

          I don't think so. SetDisableCNCheck is not a system property, but a function that the object http.getTlsClientParameters() calls, for example, like this

           

          http.getTlsClientParameters().setDisableCNCheck(false);

           

          In any case, that is not necessary. By default, setDisableCNCheck() sets the value to false anyway.

          • 2. Re: JVM - TLSClientParameters
            jumajii Level 1
            I apologize for my confusion.
            The problem is that in a call using <cfhttp> with SSL, I returned this error: "I / O Exception: Name in certificate common name` 'does not match host name `xx.xxx.xxx.xx'."
            This is because the certificate is self-signed and I can not disable the host-name verification.

            Thanks anyway.
            juma