Vuze Forums

Full Version: SSLHandshakeException on https RSS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Any help with this would be appreciated.


Code:
[03:28:53.191] {stderr} 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
[03:28:53.191] {stderr} at sun.security.ssl.Alerts.getSSLException(Unknown Source)
[03:28:53.192] {stderr} at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
[03:28:53.192] {stderr} at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
[03:28:53.192] {stderr} at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
[03:28:53.193] {stderr} at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
[03:28:53.193] {stderr} at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
[03:28:53.194] {stderr} at sun.security.ssl.Handshaker.processLoop(Unknown Source)
[03:28:53.195] {stderr} at sun.security.ssl.Handshaker.process_record(Unknown Source)
[03:28:53.195] {stderr} at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
[03:28:53.196] {stderr} at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
[03:28:53.196] {stderr} at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
[03:28:53.196] {stderr} at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
[03:28:53.197] {stderr} at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
[03:28:53.197] {stderr} at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
[03:28:53.197] {stderr} at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
[03:28:53.198] {stderr} at org.kmallan.azureus.rssfeed.Downloader.init(Downloader.java:237)
[03:28:53.198] {stderr} at org.kmallan.azureus.rssfeed.Downloader.init(Downloader.java:273)
[03:28:53.198] {stderr} at org.kmallan.azureus.rssfeed.Scheduler.runFeed(Scheduler.java:210)
[03:28:53.199] {stderr} at org.kmallan.azureus.rssfeed.Scheduler$1.run(Scheduler.java:75)
[03:28:53.199] {stderr} Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[03:28:53.200] {stderr} at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
[03:28:53.200] {stderr} at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
[03:28:53.201] {stderr} at sun.security.validator.Validator.validate(Unknown Source)
[03:28:53.201] {stderr} at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
[03:28:53.201] {stderr} at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
[03:28:53.202] {stderr} at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
[03:28:53.202] {stderr} ... 15 more
[03:28:53.203] {stderr} Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[03:28:53.203] {stderr} at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
[03:28:53.203] {stderr} at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
[03:28:53.204] {stderr} at java.security.cert.CertPathBuilder.build(Unknown Source)
[03:28:53.204] {stderr} ... 21 more


Java 1.8.0_66 (64 bit)
Oracle Corporation
SWT v4508, win32
Windows 7 v6.1, amd64
V5.7.0.0/4 az3

Plugin in question:
RSSfeed v1.4.18
Tried to see if it's a .certs problem, no problem found. Certs seem to contain the needed certificates. In option I've ticked Automatically install unknown SSL certificates without prompting. Still, the issue persists.
No one?

I've found this SSLpoke.class on atlassian docs about how to solve the issue.
Using the path to Azureus certs is seems to connect fine:
java -Djavax.net.ssl.keyStore=[...]\Roaming\Azureus\.certs SSLPoke kat.cr 443

replies with:
Successfully connected

Still, in Az I get nothing but that error and only on this RSS host. Other https hosts work fine. In browser it works fine, but in Az it doesn't.
hmm, have you tried resetting the cert store? Tools->Options->Security
I've tried all there was. Anyway, now I got an update alert for RSSfeed to v1.4.20 and all is fixed.