Java SSL connection with self-signed certificate without copying complete keystore to client
- 阅读更多 关于 Java SSL connection with self-signed certificate without copying complete keystore to client
I am setting up a licensing servlet in Java together with a client app that will post request for new licenses and validate existing licenses at that server. The servlet runs in Tomcat. I've configured Tomcat so that it only allows connections to the servlet over https, and this works just fine. I have created a self-signed certificate using 'keytool -genkey -alias www.mysite.com -keyalg RSA -keystore license.store' which creates a file license.store and pointed tomcat to this keystoreFile with its password asdf1234 . When I just try to connect from the client to the servlet over https in Java