Created
September 10, 2015 07:58
-
-
Save max-potapov/b9f11e6fac3877c27984 to your computer and use it in GitHub Desktop.
convert p12 certificates to 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
#!/bin/sh | |
for i in $(find . -name "*.p12"); do | |
IN=$i | |
OUT=$(echo $i | sed 's/\.p12/.pem/g') | |
openssl pkcs12 -in $IN -out $OUT -nodes -clcerts | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment