Last active
February 21, 2017 23:19
-
-
Save brunoleles/2ca6ed8694f44337a11f to your computer and use it in GitHub Desktop.
Convert Apple Push Notification .p12 files to .pem for use on PHP
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
# not tested | |
openssl pkcs12 -in aps_cert.p12 -out aps_cert.pem -nodes -clcerts -passin pass:**** -passout pass:**** | |
# "semi" - tested :] | |
openssl pkcs12 -in aps_cert.p12 -out aps_cert.pem -nodes -clcerts | |
# worked | |
openssl pkcs12 -in aps_cert.p12 -out aps_cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment