Last active
January 30, 2017 14:17
-
-
Save yyl/3671045 to your computer and use it in GitHub Desktop.
keytool
This file contains hidden or 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 x509 -outform der -in res/raw/cert.pem -out res/raw/cert.der |
This file contains hidden or 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 -keystore 'mykeystore.bks' -storepass tlstest -file './ssl-cert-snakeoil.pem' -alias mykeystore -storetype BKS -providerPath /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/bcprov-jdk16-1.45.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider |
This file contains hidden or 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
security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment