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. nice code....
nice explanation.. thanks

View Tutorial          By: vinitha at 2013-01-10 10:59:02

2. CAN I ASK A FORMULA OF FOR MAKING A CALCULATOR USI
View Tutorial          By: JUNER at 2011-08-17 03:33:02

3. Thank you very much for explaning the things in su
View Tutorial          By: Sunil Yadav at 2010-05-27 04:04:31

4. mohd see this link http://www.java-samples.com/sho
View Tutorial          By: Issac at 2011-05-31 02:39:55

5. I am new in Java and got good information to under
View Tutorial          By: Umesh Kumar at 2012-01-25 08:42:07

6. thank's a lot for giving me " static "
View Tutorial          By: anwar kotawdekar at 2013-08-14 06:43:34

7. Well, I am fortunate to run CentOS 5 - everywhere
View Tutorial          By: Goozy at 2009-07-25 11:18:45

8. I use this all the time. You can use this exactly
View Tutorial          By: Chetan at 2015-09-08 08:56:06

9. im having errors in sPort.sendBreak in SerialConne
View Tutorial          By: mrrrc at 2013-03-18 08:54:50

10. Thank you!!
View Tutorial          By: Diego at 2015-07-16 21:11:58