hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eqbal <eqb...@yahoo.com>
Subject SSL error
Date Fri, 27 Apr 2007 21:47:17 GMT
I am trying to connect to a server using https and I
get this exception thrown:

sun.security.validator.ValidatorException: PKIX path
building failed:
unable to find valid certification path to requested

After this error I did a normal JSSE test mentioned at
the bottom of this page:
It works fine with https://www.verisign.com
I then tried to connect to the certificate authority
in Japan that is issuing the certificate for the
server I am trying to connect to in the first instance
and I get the same/similar error (PKIX path build
failed). How do I fix this?
The japanese certificate authority can be viewed by
accessing https://www2.jcsinc.co.jp
I also tried importing the certificate using following
1. In Internet Explorer I view the certificate and
save it local disk.
2. I then use keytool -import to import the

But I got the same error even after doing this.

It would appear to me that my Java installation
doesn't recognize the certification authority? How do
I make it recognize it? I shouldn't have to import any
specific certificates I would think.

I am using tomcat 5.5.17 with j2se 5.0 and httpclient


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

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

View raw message