Last active
August 29, 2015 14:02
-
-
Save jellyninjadev/db22657a2121871aae4c 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/bash | |
openssl x509 -in $1 -inform der -out cert.pem & | |
wait | |
openssl pkcs12 -nocerts -out key.pem -in $2 & | |
wait | |
cat cert.pem key.pem > apns-cert.pem | |
rm cert.pem | |
rm key.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment