You may enable SSL tracing on your deployment container by setting '-Djavax.net.debug=SSL,handshake,trustmanager' jvm option ... see http://docs.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html
This should enable you to find out which truststore is used and why the verification fails. -Bernhard On 1/18/12, uib <[email protected]> wrote: > thank you for your help. > I did this in my development environment and it worked. (I was able to > connect to web service) > I also put the certificate in my production server and it is said that > certificate added successfully to key store. > When I run the code I am still getting the error: > > javax.net.ssl.SSLHandshakeException: sun.security.val > idator.ValidatorException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > val > id certification path to requested target > > any ideas. > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/consumig-a-web-service-with-https-tp5123480p5154088.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- IT-Consulting Bernhard Thalmayr - Painstaking Minds - 83620 Vagen (Munich area) Germany
