Menu

"SSLHandshakeException" with https

Help
2006-02-24
2013-04-26
  • Satya Prakash

    Satya Prakash - 2006-02-24

    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. 
    Thanks in advance.
    Regards,
    I. Satya Prakash.

     
    • Abirami

      Abirami - 2006-02-24

      Hi Satya Prakash,
      My first question,
      Did you try out of "httpunit"? Is that working fine?

      From the error message, I infer that  server is not having the "truststore" . If the server has the truststore, then the client keystore/certificate is not in the Server's trusted certificate list.

      http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security6.html

      The above link would be helpful to import/export keystores.

       

Log in to post a comment.

MongoDB Logo MongoDB