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

GitHub | heikofriedrich | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 774#243702997

    GitHub | 7 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
  2. 0

    cert mixup

    GitHub | 7 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
  3. 0

    build maven Java project behind firewall intercepting SSL certificates

    Stack Overflow | 1 year ago | Steven McCann
    org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ValidatorException connecting to self-signed locally running HTTPS service

    GitHub | 1 year ago | rubin55
    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
  6. 0

    Build Error while building camel maven project

    Stack Overflow | 2 years 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
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. sun.security.provider.certpath.SunCertPathBuilderException

    unable to find valid certification path to requested target

    at sun.security.provider.certpath.SunCertPathBuilder.build()
  2. Java RT
    Validator.validate
    1. sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146)[na:1.8.0_66-internal]
    2. sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)[na:1.8.0_66-internal]
    3. java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)[na:1.8.0_66-internal]
    4. sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)[na:1.8.0_66-internal]
    5. sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)[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.start
    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.establishSharedConnection(AbstractJmsListeningContainer.java:381)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    7. org.springframework.jms.listener.DefaultMessageListenerContainer.establishSharedConnection(DefaultMessageListenerContainer.java:786)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    8. org.springframework.jms.listener.AbstractJmsListeningContainer.doStart(AbstractJmsListeningContainer.java:285)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    9. org.springframework.jms.listener.AbstractJmsListeningContainer.start(AbstractJmsListeningContainer.java:270)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    10. org.springframework.jms.listener.DefaultMessageListenerContainer.start(DefaultMessageListenerContainer.java:587)[spring-jms-4.1.1.RELEASE.jar:4.1.1.RELEASE]
    10 frames
  12. Camel :: JMS
    ReplyManagerSupport.doStart
    1. org.apache.camel.component.jms.reply.ReplyManagerSupport.doStart(ReplyManagerSupport.java:229)[camel-jms-2.12.1.jar:2.12.1]
    1 frame
  13. Camel :: Core
    ServiceHelper.startService
    1. org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[camel-core-2.12.1.jar:2.12.1]
    2. org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:65)[camel-core-2.12.1.jar:2.12.1]
    3. org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:54)[camel-core-2.12.1.jar:2.12.1]
    3 frames
  14. Camel :: JMS
    JmsProducer.process
    1. org.apache.camel.component.jms.JmsProducer.createReplyManager(JmsProducer.java:516)[camel-jms-2.12.1.jar:2.12.1]
    2. org.apache.camel.component.jms.JmsProducer.initReplyManager(JmsProducer.java:103)[camel-jms-2.12.1.jar:2.12.1]
    3. org.apache.camel.component.jms.JmsProducer.processInOut(JmsProducer.java:177)[camel-jms-2.12.1.jar:2.12.1]
    4. org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:142)[camel-jms-2.12.1.jar:2.12.1]
    4 frames
  15. Camel :: Core
    SedaConsumer.run
    1. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[camel-core-2.12.1.jar:2.12.1]
    2. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.12.1.jar:2.12.1]
    3. org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:573)[camel-core-2.12.1.jar:2.12.1]
    4. org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:506)[camel-core-2.12.1.jar:2.12.1]
    5. org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:215)[camel-core-2.12.1.jar:2.12.1]
    6. org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:153)[camel-core-2.12.1.jar:2.12.1]
    7. org.apache.camel.processor.RecipientList.process(RecipientList.java:112)[camel-core-2.12.1.jar:2.12.1]
    8. org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[camel-core-2.12.1.jar:2.12.1]
    9. org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[camel-core-2.12.1.jar:2.12.1]
    10. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)[camel-core-2.12.1.jar:2.12.1]
    11. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[camel-core-2.12.1.jar:2.12.1]
    12. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.12.1.jar:2.12.1]
    13. org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:103)[camel-core-2.12.1.jar:2.12.1]
    14. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)[camel-core-2.12.1.jar:2.12.1]
    15. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[camel-core-2.12.1.jar:2.12.1]
    16. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.12.1.jar:2.12.1]
    17. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.12.1.jar:2.12.1]
    18. org.apache.camel.component.seda.SedaConsumer.sendToConsumers(SedaConsumer.java:291)[camel-core-2.12.1.jar:2.12.1]
    19. org.apache.camel.component.seda.SedaConsumer.doRun(SedaConsumer.java:200)[camel-core-2.12.1.jar:2.12.1]
    20. org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:147)[camel-core-2.12.1.jar:2.12.1]
    20 frames
  16. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66-internal]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66-internal]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_66-internal]
    3 frames