I am a noob trying to set up SSL in localhost eclipse tomcat using openssl. Used the below commands
-
created key.pem and cert.pem
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 999
-
created crt file using
openssl x509 -outform der -in cert.pem -out mycert.crt
-
Added the below connectir tag to tomcat server.xml
When i access https://localhost:8443, tomcat console shows SEVERE: Failed to load keystore type JKS with path /root/.keystore due to /root/.keystore
Can anybody point out what i have to do correct this error and to gain accces to https://localhost:8443 ?
Aucun commentaire:
Enregistrer un commentaire