tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Doyle <>
Subject CXF in TomEE: how to set the disableCNCheck global option?
Date Fri, 09 Oct 2015 21:28:52 GMT
How do I configure CXF (embedded in TomEE) with the global variable suggested
by this Exception?

Caused by: 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 tried placing below in src/webapp/META-INF/openejb-jar.xml and it failed
to work. 
<?xml version="1.0"?>
<openejb-jar xmlns="">
    <pojo-deployment class-name="jaxrs-application">
   = disableCNCheck=true

View this message in context:
Sent from the TomEE Users mailing list archive at

View raw message