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: 
jschmied
Contributor
Contributor

set disableCNCheck = true in ESBConsumer

Hi,
I connect to a https service endpoint and use SetKeystore for definition of the truststore.
The ESBConsumer creates the following error:
Caused by: 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.
Where can i define disableCNCheck = true to switch off the CN check?
BR, Jürgen
0683p000009MB2o.png
Labels (3)
8 Replies
Anonymous
Not applicable

Jürgen,
you have to define a cxf conduits configuration for your endpoint, similar to the configuration in ${TESB_Container}/etc/org.apache.cxf.http.conduits-common.cfg. The prefix of the conduits configuration file must be org.apache.cxf.http.conduits-. The rest of the file name is up to you. Chapter 10 of the Talend ESB Container Administration Guide provides detailed information of all the properties you can set. To disable the CN check you have to include
tlsClientParameters.disableCNCheck = true

Regards,
Zsolt
jschmied
Contributor
Contributor
Author

Hi,
Thank you for your fast response.
Do i have to store this configuration file in a specific folder in my workspace/PROJECT directory?
BR, Jürgen
Anonymous
Not applicable

Ooh, are trying to run the client from within the studio?
Zsolt
jschmied
Contributor
Contributor
Author

Yes.
Now i have uploaded a image of the project.
Finally it should run as exported, standalone java project.
Anonymous
Not applicable

My suggestion to use a cxf conduit selector configuration file only works if you run your job in the TESB container. Unfortunately you cannot define a cxf conduit selector configuration within the studion
If you run your job stand alone with the help of the job server using a tSetKeystore component is the right choice.
Zsolt
jschmied
Contributor
Contributor
Author

I will try.
I never worked with ESB container.
Anonymous
Not applicable

It's fun 0683p000009MACn.png In case you run into problems this forum is a good place to get them solved.
Zsolt
jschmied
Contributor
Contributor
Author

Does anybody know what the property "Checking server identity" at tKeyStore element mean and which function is switched with this property?
0683p000009MAtA.png