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



Ask a Question

Subscribe to Tutorials

Related Tutorials

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

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. It is very useful.thank you so much.
View Tutorial          By: Pratiksha ijagaj at 2010-11-27 07:03:52

2. PLEASE I WANT A CODE TO BE PUT BEHIND A BUTTON SO
View Tutorial          By: KALUSHA at 2012-07-02 12:32:56

3. array is the one which can save similar data typed
View Tutorial          By: Cegonsoft Reviews at 2011-07-26 00:54:18

4. Plse Send me The Code For Sms Application to My Ma
View Tutorial          By: Santoshb at 2010-09-08 07:08:55

5. this is no doubt a simple program for the learner
View Tutorial          By: shweta at 2008-07-12 01:18:59

6. hello how can i get a better java date code
View Tutorial          By: ramutomotest at 2011-12-08 17:44:49

7. The above code given for sending SMS through your
View Tutorial          By: ROHAN at 2008-10-17 00:55:46

8. How can i download the comm.API .
pls tel

View Tutorial          By: Sajeer kc at 2015-01-16 04:12:28

9. Hello, I'm using the above codes for my project. B
View Tutorial          By: Sandeep Dattaraju at 2011-02-26 11:01:48

10. This is a great article that deals with the evolut
View Tutorial          By: JPS SASTRY at 2009-02-11 21:29:56