You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# get .p12 file from StartSSL# import .p12 file using
keytool -import -trustcacerts -file /path/to/ca/ca.pem -alias CA_ALIAS -keystore c:/data/server/stash/cacerts
#rename newly imported cert (should have a number) to the desired name using
keytool -changealias -alias old_name -destalias new_name -keystore c:/data/server/stash/cacerts
# set pwd of the imported key to the same as for the keystore using (if you have a different password defined)
keytool -keypasswd -new changeit -keystore c:/data/server/stash/cacerts -storepass changeit -alias someapp -keypass password
Import DER file (didn't work):
# Validate the root certificate content
keytool -v -printcert -file ca.der
# Import the root certificate into the JVM trust store
keytool -importcert -alias startssl -keystore c:/data/server/stash/cacerts -storepass changeit -file ca.der
# (the default password for the CA store is changeit)# The keytool will prompt you for confirmation, enter yes to complete the operation.# Verify that the root certificate has been imported
keytool -keystore "c:/data/server/stash/cacerts" -storepass changeit -list | grep startssl