• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

JVM - TLSClientParameters

New Here ,
May 13, 2009 May 13, 2009

Copy link to clipboard

Copied

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

TOPICS
Advanced techniques

Views

746

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 17, 2009 May 17, 2009

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 18, 2009 May 18, 2009

Copy link to clipboard

Copied

LATEST
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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation