Tomcat not picking keystore from path

116 Views Asked by At

I have a requirement to set javax.net.ssl.keyStore with a particular keystore file in my java code. Now the issue is if I run the code as an independent main function everything works fine. But when I deploy my code over tomcat then there is a SSL Handshake exception. I believe that keystore did not load properly when code is deployed over tomcat. Could anyone help in this regard?

The extension of my keystore file is .ks

0

There are 0 best solutions below