Programming Tutorials

Comment on Tutorial - 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 By Ramlak



Comment Added by : Jesper Udby

Comment Added at : 2010-01-23 10:21:32

Comment on Tutorial : 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 By Ramlak
Hi,

as mentioned on my blog (http://blog.udby.com/archives/8), one can also create a simple "TrustAllTrustManager" and use that with the HttpsURLConnection.


View Tutorial