Hi, This is an issue of your JSSE implementation (the one by Sun) and not HttpClient. Thus we can only offer limited support.
I guess you need to implement a suitable TrustManager that allows for this case. You may want to have a look at the contrib code: http://svn.apache.org/repos/asf/jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/ssl/ Maybe there is also a config option to achieve this. I don't know. Cheers Ortwin Dhanasekaran Vivekanandhan wrote: > Hi All, > I am using HttpClient and GetMethod classes to connect > to a https site,but the certificate provided by the > site is expired.so I am getting the following > exception.Is there a way to connect to https site even > if the certificate provided by the site is expired > Exception: > --------- > ": sun.security.validator.ValidatorException: PKIX > path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: > unable to find valid certification path to requested target" > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]