Last active
May 2, 2018 07:12
-
-
Save votienan123/b0b4fd43a732955740f41308faf0c7f4 to your computer and use it in GitHub Desktop.
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
keytool -genkey -alias quangnam -keyalg RSA -keysize 2048 -keystore quangnam.jks -dname "CN=localhost,OU=Home,O=Home,L=SL,S=WS,C=LK" -storepass quangnam -keypass quangnam |
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
keytool -export -alias quangnam -keystore quangnam.jks -file quangnam.pem |
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
keytool -import -alias quangnam -file quangnam.pem -keystore quangnam-truststore.jks -storepass quangnam |
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
keytool -importkeystore -deststorepass an123456 -destkeypass an123456 -destkeystore quangnam-keystore.jks -srckeystore quangnam.jks -srcstorepass quangnam -alias app4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment