Will client JVM for a web service(https) throw an SSL Exception when the server is having a valid ce

Posted by ring bearer on Stack Overflow See other posts from Stack Overflow or by ring bearer
Published on 2010-04-29T18:53:09Z Indexed on 2010/04/29 18:57 UTC
Read the original article Hit count: 311

Filed under:
|
|
|

I have a web service deployed on tomcat hosted on a remote server. I have set it up such that it can be accessed only via HTTPS. For this, I generated a Certificate Signing Request (CSR) and used it to get a temporary certificate from VeriSign.

My web service client is on my local machine. If I try to access the service it will throw a javax.net.ssl.SSLHandshakeException:unable to find valid certification path to requested target If I install the certificate in to local Java's keystore, the issue will be resolved.

My question is if I install a valid SSL certificate from a CA in to my tomcat server, will I get this client-side error even if I do not import the certificate to local key store?

© Stack Overflow or respective owner

Related posts about java

Related posts about security