Created
July 9, 2014 11:16
-
-
Save alexey-detr/d92c228b333bb88adb1c 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
#!/bin/sh | |
# Extract certificate | |
openssl pkcs12 -clcerts -nokeys -in apns-prod-cert.p12 -out apns-prod-cert.pem | |
# Extract key | |
openssl pkcs12 -nocerts -in apns-prod-key.p12 -out apns-prod-key.pem | |
# Remove password from PEM key | |
openssl rsa -in apns-prod-key.pem -out apns-prod-key-noenc.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment