Skip to content

Instantly share code, notes, and snippets.

@bulv1ne
Created October 16, 2013 10:57
Show Gist options
  • Save bulv1ne/b30a3dcc73ab2c63ec1f to your computer and use it in GitHub Desktop.
Save bulv1ne/b30a3dcc73ab2c63ec1f to your computer and use it in GitHub Desktop.
Convert iOS push notification pem to cert and key
#!/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