Monday, December 08, 2014

create a new java keystore with existing cert

create a new java keystore with existing cert

openssl pkcs12 -export -in host.crt -inkey host.key > host.p12

# DO ENTER A PASSWORD

keytool -importkeystore -srckeystore host.p12 -destkeystore host.jks -srcstoretype pkcs12