【发布时间】:2015-06-20 04:41:16
【问题描述】:
我在启动应用程序时收到此错误。
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (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)
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (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)
我通过System.setProperty("javax.net.ssl.trustStore", "Path to certificate).. 设置我的证书路径
但这对我不起作用..而且我已将证书导入 Java Home 的“cacerts”。但我仍然收到错误..
如有任何帮助,将不胜感激......
【问题讨论】:
标签: java jboss ssl-certificate keystore sslhandshakeexception