Created
August 22, 2018 15:08
-
-
Save sajith/62830e02bf35bc496cee9aff359adcc2 to your computer and use it in GitHub Desktop.
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
#! /bin/bash | |
openssl pkcs12 -in usercred.p12 -nokeys -out usercert.pem | |
openssl pkcs12 -in usercred.p12 -nocerts -out userkey-with-pass.pem | |
openssl rsa -in userkey-with-pass.pem -out userkey.pem | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment