[prev in list] [next in list] [prev in thread] [next in thread]
List: httpclient-users
Subject: RE: about unable to find valid certification path to requested target
From: "Veena Sarolkar" <sarolkar_veena () extenprise ! com>
Date: 2005-02-28 5:32:04
Message-ID: GDEDJDCIBGJNBEMAANMLOENICBAA.sarolkar_veena () extenprise ! com
[Download RAW message or body]
Hi,
I am using HTTPClient to connect to site over https.
I am behind a proxy. I am specifying proxy details(host,port).
But when I call getMethod's exceute, I am getting following exception
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertificateException: CA certificate does not include
basic constraints extension at
com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at
com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275) at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:69) at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:127) at
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpCo
nnection.java:825) at
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.jav
a:1920) at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:100
2) at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
Director.java:382) at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
ector.java:168) at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:394)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at BasicAuthenticationExample.main(BasicAuthenticationExample.java:79)
For proxy I m writing client.getHostConfiguration().setProxy("192.168.0.1",
3128);
Even I am notable to run sample examples for https like
"BasicAuthenticationExample.java".
Can somebody help me.
Regards,
Veena
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic