Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Rest Client disableCNCheck

Hello!!
I'm using TOS BD V5.5.1, I need to connect with my server API using a rest client.
With Talend BD I'm using tRESTClient to make the requests.
When I try to post something to my server the bellow error is displayed:
java.io.IOException: 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.

I already tried to use the keytool to import the .cer file but it didn't work.
How can I set the disableCNCheck to true?
Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,
If you deployed your rest client job into Talend Runtime (OSGi) container, then there is a configuration file etc/org.apache.cxf.http.conduits-common.cfg which can be used to configure cxf http conduit including disableCNCheck, keystore, etc.
HTH
Xilai Dai

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hi,
If you deployed your rest client job into Talend Runtime (OSGi) container, then there is a configuration file etc/org.apache.cxf.http.conduits-common.cfg which can be used to configure cxf http conduit including disableCNCheck, keystore, etc.
HTH
Xilai Dai