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.
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. It is really very gud. And wht i suggest u is if
View Tutorial By: Ragava rao at 2008-07-19 05:33:18
2. setting on my nokia 7610 on mtn using operamini 4.
View Tutorial By: DREAD at 2010-06-21 07:40:13
3. thanks a looooooooooooooooot
this can give
View Tutorial By: bhagabat at 2011-07-24 02:39:59
4. I have a computer science lab final on tuesday (09
View Tutorial By: kudas at 2009-06-07 10:55:06
5. Thanks a LOT !!
I was confused with this !
View Tutorial By: rishabhsethi at 2012-10-31 15:07:07
6. Thanks for the tutorial,
I have a q
View Tutorial By: rajendra at 2013-04-29 15:37:28
7. Thanks a ton! :)
View Tutorial By: Prateek at 2015-03-12 11:40:08
8. very useful. Thx
View Tutorial By: reddy at 2015-05-07 09:58:19
9. Good work. Although it would be nicer if you can p
View Tutorial By: frisked09 at 2011-05-26 23:52:34
10. can u explain about printStackTrace()method.what i
View Tutorial By: himabindu at 2009-06-10 20:03:14