javax.net.ssl.SSLHandshakeException
802524Oct 2 2010 — edited Oct 5 2010Greetings,
I'm stuck, with this problem... here it's:
I'm trying to connect with a server with a self signed certificate,I'm getting this Exception:
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
I've dowloaded the certifcate with the class java InstallCert, but I got a 403 forbidden error.
Moreover, I also recived a .cer certificate form the systems administrator in the remote server, and I've added in my keystore with the keytool -import ....
I checked thec correct import of this file with: keytool -list -keystore jssecacerts -alias mykey -v and everything is ok.
I still got the previous error:javax.net.ssl.SSLHandshakeException.
Thanks in advance for your help