Created
July 12, 2018 18:27
-
-
Save dgyesbreghs/413b22220790af813bba14e604a93a9e 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
filename=$1 | |
suffix=".p12" | |
filename=${filename%$suffix} | |
echo "Convert file: " ${filename}; | |
openssl pkcs12 -in ${filename}.p12 -out ${filename}.pem -nodes -clcerts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment