Connect to HTTPS + SSL handshake failure
I am using the code attached. It is working when I used this in Eclipse. What I did is to place the generated keystore from the InstallCert.class (blogs.sun.com/andreas/resource/InstallCert.java) to the latest JRE in the Program Files>Java
But when I deployed this class in Tomcat/Bea, I received this errors:
BEA Weblogic - HttpsConnection Exception: [Security:090477]Certificate chain received from <site> - <ip> was not trusted causing SSL handshake failure.
TOMCAT: HttpsConnection Exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target.
Can you give me an idea on how to resolve this issue? Your replies are greatly appreciated.
Looking forward to your replies.
Thanks in Advance