로컬 Tomcat SSL 테스트하기
tomcat 7, tomcat 8.5
openssl genrsa -aes256 -out localhost_private.key 2048
openssl req -new -key localhost_private.key -out localhost.csr
openssl x509 -req -days 1825 -extensions v3_user -in localhost.csr -CA rootca.crt -CAcreateserial -CAkey rootca_private.key -out localhost.crt
openssl pkcs12 -export -in localhost.crt -inkey localhost_private.key -out keystore -name “localhost cert”
keytool -importkeystore -srckeystore keystore -srcstoretype pkcs12 -destkeystore keystore.jks -deststoretype jks