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



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. well...raghu download the sun api...whose link is
View Tutorial          By: rima at 2008-12-27 22:22:03

2. sir can you write the sample proram of this:

View Tutorial          By: bryan labastida at 2011-06-29 02:53:14

3. how to solve this problem

javax.com

View Tutorial          By: bhamre sandeep at 2010-02-28 04:18:36

4. I need full code for sending SMS. Please send to m
View Tutorial          By: Ramesh at 2014-05-21 06:54:52

5. nice
View Tutorial          By: narendra at 2012-04-23 09:40:00

6. plz can u give me code for key excange b/n pda &am
View Tutorial          By: visnas at 2009-05-04 20:18:32

7. good one
View Tutorial          By: yogesh at 2010-07-24 21:18:24

8. how to downlow the different 5 files please !!
View Tutorial          By: Agnin at 2009-06-24 05:29:09

9. thanks....good explanation...
View Tutorial          By: jiby at 2012-01-14 05:57:33

10. my query is like this: " accept a string, cou
View Tutorial          By: samtopper at 2014-07-31 17:40:25