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

ASF subversion and git services commented on AMQ-6074:
------------------------------------------------------

Commit 6e2252d08358f6dc2b0647587930459ead782899 in activemq's branch 
refs/heads/activemq-5.13.x from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=6e2252d ]

https://issues.apache.org/jira/browse/AMQ-6074

Make the transportConnector configs consistent across all four variants
by removing the enableCipherSuites option on openwire NIO+SSL.  RC4 was
enabled on the broker side but in later JDK releases that suite is
disbaled as it is insecure so the client side couldn't find a supported
suite.
(cherry picked from commit 315147c5ef3d545a868c74fe55d8ea7efb09f1d1)


> AMQ4126Test#testOpenwireNIOSSLWithCertificate fails with JDK8
> -------------------------------------------------------------
>
>                 Key: AMQ-6074
>                 URL: https://issues.apache.org/jira/browse/AMQ-6074
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Kevin Earls
>             Fix For: 5.12.2, 5.13.1, 5.14.0
>
>
> Both AMQ4126Test.testOpenwireNIOSSLWithCertificate and 
> AMQ4126Test.testOpenwireNIOSSLWithUsernameAndPassword fail when run with JDK8 
> with the errors below.  They both pass with JDK7.
> -------------------------------------------------------
> Running org.apache.activemq.bugs.AMQ4126Test
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 24.589 sec 
> <<< FAILURE! - in org.apache.activemq.bugs.AMQ4126Test
> testOpenwireNIOSSLWithUsernameAndPassword(org.apache.activemq.bugs.AMQ4126Test)
>   Time elapsed: 2.437 sec  <<< ERROR!
> javax.jms.JMSException: Could not connect to broker URL: 
> ssl://planet-express:34060. Reason: javax.net.ssl.SSLHandshakeException: 
> Remote host closed connection during handshake
>       at 
> org.apache.activemq.bugs.AMQ4126Test.openwireConnectTo(AMQ4126Test.java:132)
>       at 
> org.apache.activemq.bugs.AMQ4126Test.testOpenwireNIOSSLWithUsernameAndPassword(AMQ4126Test.java:153)
> Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection 
> during handshake
>       at 
> org.apache.activemq.bugs.AMQ4126Test.openwireConnectTo(AMQ4126Test.java:132)
>       at 
> org.apache.activemq.bugs.AMQ4126Test.testOpenwireNIOSSLWithUsernameAndPassword(AMQ4126Test.java:153)
> Caused by: java.io.EOFException: SSL peer shut down incorrectly
>       at 
> org.apache.activemq.bugs.AMQ4126Test.openwireConnectTo(AMQ4126Test.java:132)
>       at 
> org.apache.activemq.bugs.AMQ4126Test.testOpenwireNIOSSLWithUsernameAndPassword(AMQ4126Test.java:153)
> testOpenwireNIOSSLWithCertificate(org.apache.activemq.bugs.AMQ4126Test)  Time 
> elapsed: 2.157 sec  <<< ERROR!
> javax.jms.JMSException: Could not connect to broker URL: 
> ssl://planet-express:38890. Reason: javax.net.ssl.SSLHandshakeException: 
> Remote host closed connection during handshake
>       at 
> org.apache.activemq.bugs.AMQ4126Test.openwireConnectTo(AMQ4126Test.java:134)
>       at 
> org.apache.activemq.bugs.AMQ4126Test.testOpenwireNIOSSLWithCertificate(AMQ4126Test.java:158)
> Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection 
> during handshake
>       at 
> org.apache.activemq.bugs.AMQ4126Test.openwireConnectTo(AMQ4126Test.java:134)
>       at 
> org.apache.activemq.bugs.AMQ4126Test.testOpenwireNIOSSLWithCertificate(AMQ4126Test.java:158)
> Caused by: java.io.EOFException: SSL peer shut down incorrectly
>       at 
> org.apache.activemq.bugs.AMQ4126Test.openwireConnectTo(AMQ4126Test.java:134)
>       at 
> org.apache.activemq.bugs.AMQ4126Test.testOpenwireNIOSSLWithCertificate(AMQ4126Test.java:158)
> Results :
> Tests in error: 
>   AMQ4126Test.testOpenwireNIOSSLWithCertificate:158->openwireConnectTo:134 » 
> JMS
>   
> AMQ4126Test.testOpenwireNIOSSLWithUsernameAndPassword:153->openwireConnectTo:132
>  » JMS
> Tests run: 9, Failures: 0, Errors: 2, Skipped: 0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to