Skip to content

Instantly share code, notes, and snippets.

@sdpjswl
Last active November 19, 2016 12:31
Show Gist options
  • Save sdpjswl/ae494fdc8a0f4953333a to your computer and use it in GitHub Desktop.
Save sdpjswl/ae494fdc8a0f4953333a to your computer and use it in GitHub Desktop.
PEM files
cert:
openssl pkcs12 -clcerts -nokeys -out cert.pem -in cert.p12
key:
openssl pkcs12 -nocerts -nodes -out key.pem -in key.p12
source:
// node.js
http://stackoverflow.com/questions/1762555/creating-pem-file-for-apns
// php
https://github.com/immobiliare/ApnsPHP/blob/master/Doc/CertificateCreation.md
tip: add -nodes option for key to disable passphrase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment