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 : Ankur
Comment Added at : 2012-02-24 16:49:59
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
There is 3rd Party webservices hosted over HTTPS, while consuming webservice i am facing SSL handshake failure error.
For security reasons we do no have access to 3rd party url or service, its only our client can access from there environment.
I have done enough hit and trial but still not succeeded.
Our application is running on Weblogic 9.2.
3rd party have provided the certificate (.p7b format). I have imported these certificates in the javakeystore (cacerts), even in the weblogic keystores (demotrust.jks), but still same error. I have tried different combination of importing the certificate in keystore, i can see the entry of teh certificate in the keystore as well.
Even the stubs we have asked the client to generate in there environment(since we cannot acces from our environment), using HTTP stubs are getting generated but using HTTPS, it gives SSL handshake failure.
I think if we resolve this issue, then application will also run.
Application runs fine on http, but on https it gives SSL handshake failure error.
I have properly converted from (.p7b to .cer format and then imported), even used .p7b to .pem to .der format and then imported in the java keystore, demotrust.jks, but still does not work.
Am i missing any steps, please let me know.
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
1. when i use this, the textarea automatically create
View Tutorial By: gary at 2011-06-08 07:14:09
2. hi everbody. i need to extract a output from one j
View Tutorial By: keerthi at 2010-10-29 13:38:28
3. Thanks a lot of!! at last I understood how use Arr
View Tutorial By: Juan Carlos Aviles at 2011-03-11 05:22:03
8. you can see this page: http://devlinslab.blogspot.
View Tutorial By: luis at 2011-11-08 06:46:23
9. I have a problem , i cant see the Microsoft.Office
View Tutorial By: Japz at 2012-01-16 09:51:11