You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Ja...@vftis.spx.com on 2005/10/19 17:37:26 UTC

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


Hello,
            As its very urgent i am posting in this forum,I have an Applet
to servlet communication using HttpClient ,the servlet is deployed in
tomcat.When the tomcat is started in SSL mode the applet fails with SSL
Handshake Exception ( details below) .I dont have any SSLHandshakeException
using URLConnection of java but we moved to HttpClient .
                                              Please tell me wat should i
set so it works with SSL.
Exception;;

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

      at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)

      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)

      at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)

      at java.io.BufferedOutputStream.flushBuffer(Unknown Source)

      at java.io.BufferedOutputStream.flush(Unknown Source)

      at
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:825)

      at
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975)

      at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)

      at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:393)

      at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:168)

      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)

      at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)

      at
com.vftis.pag.passthru.PassThruClient.getDLLMessages(PassThruClient.java:128)


Thanks,Jakeer.
--------------------------------------------------------------------------------------------

     Jakeer Mohammad
     SoftwareDeveloper
     Tel.: +49 (0)89 32671-337
     Fax: +49 (0)89 32671-400
     eMail: Jakeer.Mohammad@vftis.spx.com
----------------------------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org