java.security.cert.CertificateException: Untrusted Server Certificate Chain
843811Jan 31 2005 — edited Apr 20 2005Hello,
Even though there are several topics on this i could not avoid posting another on this. I followed all the steps which where there in the previous discussion of the same topic.
My application which is installed in SunOne App server is accessing a https site. I got the trusted CA certs from that URL and i imported that in the cacerts of the JDK, the one which the SunOne App server uses. The SunOne App server is in the Solaris box. The command i used for importing the cacerts is as follows
/usr/j2se/bin/keytool -import -alias ComodoCAPremiumCert -file /stage/CustTest/RootCA/ComodoCAPremium.b64 -keystore /usr/j2se/jre/lib/security/cacerts
I could view the certs in the cacerts. The certificate has expiry date till 2006 dec. The clock setting are fine in both the servers.
But i still get the same exception as follows.
Caught exception here: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Untrusted Server Certificate Chain
Anybody please help me solve this.
Thanks in Advance
Thirumaran