javax.jms.JMSException: Could not connect to broker URL: ssl://www.matchat.org:61617. Reason: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors

GitHub | fkleedorfer | 3 months ago
  1. 0

    cert mixup

    GitHub | 3 months ago | fkleedorfer
    javax.jms.JMSException: Could not connect to broker URL: ssl://www.matchat.org:61617. Reason: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
  2. 0

    GitHub comment 774#243702997

    GitHub | 3 months ago | heikofriedrich
    javax.jms.JMSException: Could not connect to broker URL: ssl://www.matchat.org:61616. Reason: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  3. 0

    Build Error while building camel maven project

    Stack Overflow | 1 year ago | javauser
    org.apache.maven.plugin.PluginManagerException: Plugin org.apache.felix:maven-bundle-plugin:2.3.7 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-core:jar:2.0.7, org.apache.maven:maven-settings:jar:2.0.7, org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.7, org.apache.maven:maven-profile:jar:2.0.7, org.apache.maven:maven-model:jar:2.0.7, org.apache.maven:maven-artifact:jar:2.0.7, org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1, org.apache.maven:maven-repository-metadata:jar:2.0.7, org.apache.maven:maven-error-diagnostics:jar:2.0.7, org.apache.maven:maven-project:jar:2.0.7, org.apache.maven:maven-plugin-registry:jar:2.0.7, org.apache.maven:maven-plugin-api:jar:2.0.7, org.apache.maven:maven-plugin-descriptor:jar:2.0.7, org.apache.maven:maven-artifact-manager:jar:2.0.7, org.apache.maven:maven-monitor:jar:2.0.7, classworlds:classworlds:jar:1.1: Could not transfer artifact org.apache.maven:maven-core:jar:2.0.7 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    lein self-install throws SSLHandshakeException on OSX (preview5)

    GitHub | 5 years ago | klauern
    org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact reply:reply:pom:0.1.0-beta8 from/to clojars (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  6. 0

    Certificate issue: mvn exec:java sees it, java -jar does not

    Stack Overflow | 4 years ago | ccc
    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  1. Andreas Häber 8 times, last 3 weeks ago
  2. tvrmsmith 4 times, last 2 months ago
  3. Dore 1 times, last 3 months ago
  4. andyglick 17 times, last 2 months ago
  5. davidvanlaatum 10 times, last 4 months ago
2 more registered users
58 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.security.cert.CertPathValidatorException

    Path does not chain with any of the trust anchors

    at sun.security.provider.certpath.PKIXCertPathValidator.validate()
  2. Java RT
    Validator.validate
    1. sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:153)[na:1.8.0_66-internal]
    2. sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)[na:1.8.0_66-internal]
    3. java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)[na:1.8.0_66-internal]
    4. sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:347)[na:1.8.0_66-internal]
    5. sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:260)[na:1.8.0_66-internal]
    6. sun.security.validator.Validator.validate(Validator.java:260)[na:1.8.0_66-internal]
    6 frames
  3. Java JSSE
    X509TrustManagerImpl.checkServerTrusted
    1. sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)[na:1.8.0_66-internal]
    2. sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)[na:1.8.0_66-internal]
    3. sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:105)[na:1.8.0_66-internal]
    3 frames
  4. won.cryptography.ssl
    TrustManagerWrapperWithTrustService.checkServerTrusted
    1. won.cryptography.ssl.TrustManagerWrapperWithTrustService.checkServerTrusted(TrustManagerWrapperWithTrustService.java:55)[won-core-0.2-SNAPSHOT.jar:na]
    1 frame
  5. Java JSSE
    AppOutputStream.write
    1. sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:922)[na:1.8.0_66-internal]
    2. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)[na:1.8.0_66-internal]
    3. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)[na:1.8.0_66-internal]
    4. sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)[na:1.8.0_66-internal]
    5. sun.security.ssl.Handshaker.process_record(Handshaker.java:914)[na:1.8.0_66-internal]
    6. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)[na:1.8.0_66-internal]
    7. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)[na:1.8.0_66-internal]
    8. sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747)[na:1.8.0_66-internal]
    9. sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)[na:1.8.0_66-internal]
    9 frames
  6. ActiveMQ :: Core
    TcpBufferedOutputStream.flush
    1. org.apache.activemq.transport.tcp.TcpBufferedOutputStream.flush(TcpBufferedOutputStream.java:115)[activemq-client-5.8.0.jar:5.8.0]
    1 frame
  7. Java RT
    DataOutputStream.flush
    1. java.io.DataOutputStream.flush(DataOutputStream.java:123)[na:1.8.0_66-internal]
    1 frame
  8. ActiveMQ :: Core
    TcpTransport.oneway
    1. org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:176)[activemq-client-5.8.0.jar:5.8.0]
    1 frame
  9. AMQ HTTP
    TransportFilter.start
    1. org.apache.activemq.transport.AbstractInactivityMonitor.doOnewaySend(AbstractInactivityMonitor.java:322)[activemq-client-5.8.0.jar:5.8.0]
    2. org.apache.activemq.transport.AbstractInactivityMonitor.oneway(AbstractInactivityMonitor.java:304)[activemq-client-5.8.0.jar:5.8.0]
    3. org.apache.activemq.transport.WireFormatNegotiator.sendWireFormat(WireFormatNegotiator.java:168)[activemq-client-5.8.0.jar:5.8.0]
    4. org.apache.activemq.transport.WireFormatNegotiator.sendWireFormat(WireFormatNegotiator.java:84)[activemq-client-5.8.0.jar:5.8.0]
    5. org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:74)[activemq-client-5.8.0.jar:5.8.0]
    6. org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)[activemq-client-5.8.0.jar:5.8.0]
    7. org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)[activemq-client-5.8.0.jar:5.8.0]
    7 frames
  10. ActiveMQ :: Core
    ActiveMQConnectionFactory.createConnection
    1. org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:273)[activemq-client-5.8.0.jar:5.8.0]
    2. org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:238)[activemq-client-5.8.0.jar:5.8.0]
    3. org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:184)[activemq-client-5.8.0.jar:5.8.0]
    3 frames
  11. Spring Framework
    DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
    1. org.springframework.jms.connection.SingleConnectionFactory.doCreateConnection(SingleConnectionFactory.java:351)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    2. org.springframework.jms.connection.SingleConnectionFactory.initConnection(SingleConnectionFactory.java:295)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    3. org.springframework.jms.connection.SingleConnectionFactory.createConnection(SingleConnectionFactory.java:227)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    4. org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    5. org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:413)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    6. org.springframework.jms.listener.AbstractJmsListeningContainer.refreshSharedConnection(AbstractJmsListeningContainer.java:398)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    7. org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful(DefaultMessageListenerContainer.java:907)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    8. org.springframework.jms.listener.DefaultMessageListenerContainer.recoverAfterListenerSetupFailure(DefaultMessageListenerContainer.java:882)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    9. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1053)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    9 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_66-internal]
    1 frame