Created
May 23, 2015 20:35
-
-
Save silverbp/b2544d4caf547e1b015e to your computer and use it in GitHub Desktop.
Java Keystore with existing Certs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt | |
keytool -importkeystore -deststorepass ubiquiti -destkeypass ubiquiti -destkeystore keystore -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass ubiquiti -alias 1 | |
keytool -changealias -alias "1" -destalias "airvision" -keypass ubiquiti -keystore /path/to/keystore -storepass ubiquiti |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment