SSL for Tomcat8 (Resolved)

Hi @schoen

It is resolved.

  1. mkdir -p /etc/tomcat8/keystore/

  2. openssl pkcs12 -export -in /etc/letsencrypt/live/yourdomain.com/fullchain.pem -inkey

/etc/letsencrypt/live/yourdomain.com/privkey.pem -out /etc/tomcat8/keystore/students.kodebay.com.p12

-password pass:yourpassword

  1. keytool -importkeystore -srckeystore /etc/tomcat8/keystore/yourdomain.com.p12 -srcstoretype pkcs12 -

srcstorepass yourpassword -destkeystore /etc/tomcat8/keystore/yourdomain.com.keystore -

deststoretype jks -deststorepass yourpassword

Thanks to @sahsanu His reply on a tread helped me. The above procedure works!

Thanks @schoen

1 Like