[ 
https://issues.apache.org/jira/browse/CXF-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656933#comment-16656933
 ] 

Colm O hEigeartaigh commented on CXF-7876:
------------------------------------------

The SAMLRenewTest failure is interesting...what's happening is that the CXF 
client is getting a token from the STS + then calling the service endpoint and 
sleeping to expire the token. Then the second call renews the token from the 
STS + tried to call the service endpoint again. However the following error is 
thrown:

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.

It looks like it is not picking up the TLS Spring configuration the second time 
around with JDK11...

> several tests failed with OpenJDK 11
> ------------------------------------
>
>                 Key: CXF-7876
>                 URL: https://issues.apache.org/jira/browse/CXF-7876
>             Project: CXF
>          Issue Type: Task
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>            Priority: Major
>             Fix For: 3.3.0
>
>
> Though they are ok with Oracle one.
> They are
> {code}
>        
> rt/bindings/xml/src/test/java/org/apache/cxf/binding/xml/interceptor/XMLMessageInInterceptorTest.java
>         
> rt/bindings/xml/src/test/java/org/apache/cxf/binding/xml/interceptor/XMLMessageOutInterceptorTest.java
>         
> rt/transports/http-netty/netty-client/src/test/java/org/apache/cxf/transport/http/netty/client/integration/SSLNettyClientTest.java
>         
> rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/integration/SSLNettyServerTest.java
>         
> rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/integration/SSLNettySpringServerTest.java
>         
> services/sts/sts-core/src/test/java/org/apache/cxf/sts/token/provider/SAMLProviderLifetimeTest.java
>         
> services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/renew/SAMLRenewTest.java
>         
> systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to