[ https://issues.apache.org/jira/browse/AMQ-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dejan Bosanac updated AMQ-2205: ------------------------------- Fix Version/s: (was: 5.4.2) 5.5.0 > AMQ 5.2 SSL implementation broke SSL Broker network previously working on AMQ > 5.1 > --------------------------------------------------------------------------------- > > Key: AMQ-2205 > URL: https://issues.apache.org/jira/browse/AMQ-2205 > Project: ActiveMQ > Issue Type: Bug > Components: Transport > Affects Versions: 5.2.0 > Environment: ActiveMQ 5.1embedded in Apache Tomcat 6.0.18 > environment, Java(TM) 2 Runtime Environment, Standard Edition (build > 1.5.0_16-b02) > , CentOS4.4 > Reporter: Yossi Shmulevitch > Fix For: 5.5.0 > > > I'm using self-signed certificate and private X509TrustManager . > I get this error when trying to connect two brokers. > failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to > find valid certification path to requested target > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(Unknown Source) > at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source) > at > org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:50) > at > org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:58) > at java.io.DataInputStream.readInt(Unknown Source) > at > org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:269) > at > org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:210) > at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:202) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185) > at java.lang.Thread.run(Unknown Source) Caused by: > javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: PKIX path building failed: > sun.security.provider.certpath.SunCert > PathBuilderException: unable to find valid certification path to requested > target > at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown > Source) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source) > at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source) > at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown > Source) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown > Source) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown > Source) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown > Source) > at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source) > at > org.apache.activemq.transport.tcp.TcpBufferedOutputStream.flush(TcpBufferedOutputStream.java:115) > at java.io.DataOutputStream.flush(Unknown Source) > at > org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:167) > at > org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:233) > at > org.apache.activemq.transport.WireFormatNegotiator.sendWireFormat(WireFormatNegotiator.java:160) > at > org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:79) > at > org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) > at > org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) > at > org.apache.activemq.network.DemandForwardingBridgeSupport.start(DemandForwardingBridgeSupport.java:216) > at > org.apache.activemq.network.DiscoveryNetworkConnector.onServiceAdd(DiscoveryNetworkConnector.java:113) > at > org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent$1.run(SimpleDiscoveryAgent.java:165) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > ... 1 more > I'm using hand coded configuration of AMQ broker (Java Code). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.