Hi,
I not only verified the trust store, but also wrote a second client-server
application to verify the entire environment:
1. the server side was a simple servlet, running on the same app server as
my webservice
2. the client side was a standalone HttpClient-based application (same
version used by axis2)

I setup the http client with the default behavior: hc = new
HttpClient(myConMgr)
I also setup the trust store as I do in the original app.

Then I try to access both http://xxx and https://xxx URLs to the servlet -
no problem in both cases. If I omit the trust store settings when using
https, I get the PKIX error, as expected.

I found some articles stating that, by default, HttpClient does not support
self-signed certificates. If that were true, the above test would have
failed, since I use a default configuration for the HttpClient.

Conclusion: the trust store is fine, its password is fine, the certificate
seems to be fine, and I still don't know what is going on. How come a simple
servlet application, accessed by a simple HttpClient code, can use both http
and https, but a simple webservice, accessed by a simple axis2 client can
only use http?



-- 
View this message in context: 
http://www.nabble.com/SSL%3A-ValidatorException%3A-PKIX-path-building-failed-tp19569509p19588163.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to