tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: CXF in TomEE: how to set the disableCNCheck global option?
Date Fri, 09 Oct 2015 22:16:25 GMT
Hi

is it a server or client error? if client error just configure it of the
client with ClientProxy, if server didnt you mix jaxrs and jaxws config?


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-10-09 23:28 GMT+02:00 Jim Doyle <rockymtnmagic@gmail.com>:

> How do I configure CXF (embedded in TomEE) with the global variable
> suggested
> by this Exception?
>
> 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.
>
> I tried placing below in src/webapp/META-INF/openejb-jar.xml and it failed
> to work.
> <?xml version="1.0"?>
> <openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
>     <pojo-deployment class-name="jaxrs-application">
>         <properties>
>             cxf.jaxws.properties = disableCNCheck=true
>         </properties>
>     </pojo-deployment>
> </openejb-jar>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/CXF-in-TomEE-how-to-set-the-disableCNCheck-global-option-tp4676463.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message