"SSLHandshakeException" with https

2006-02-20
2013-04-26
  • Satya Prakash

    Satya Prakash - 2006-02-20

    Hi All,

    I got the following errors when I was working with Httpunit in a secure environment.

    "Caused by: javax.net.ssl.SSLHandshakeException:
    sun.security.validator.ValidatorException: No trusted certificate found"
    "Caused by: sun.security.validator.ValidatorException:
    No trusted certificate found"

    Please help me with a work around for this.

    Regards,
    I. Satya Prakash.

     
    • scratch

      scratch - 2006-05-09

      Hi,

      i have the same issue.

      I tried several things, such as importing the certificate into cacerts but it didn't work.

      I found some information at the following link:
      http://www.jroller.com/page/azzoti?entry=java_jwebunit_httpunit_and_testing

      My exact error Message is:
      java.io.IOException at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:593)
      ...
      Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
      ...
      Caused by: sun.security.validator.ValidatorException: No trusted certificate found

      Please report here if you found the solution!

      Thank you!
      Scratch85

       
    • Wolfgang Fahl

      Wolfgang Fahl - 2008-03-30

      There is already a feature request for this and it's just been asked for again.
      You might want to join the developer mailinglist and get involved in the development to speed up the process

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks