Created
October 16, 2013 10:57
-
-
Save bulv1ne/b30a3dcc73ab2c63ec1f to your computer and use it in GitHub Desktop.
Convert iOS push notification pem to cert and key
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 | |
FILENAME="$1.p12" | |
echo $FILENAME | |
openssl pkcs12 -in $FILENAME -out $1.cert -clcerts -nokeys -passin pass: | |
openssl pkcs12 -in $FILENAME -out $1.key -nocerts -nodes -passin pass: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment