Skip to content

Instantly share code, notes, and snippets.

@michaelloistl
Last active July 27, 2018 17:32
Show Gist options
  • Save michaelloistl/99ae5b34917c1abb4905 to your computer and use it in GitHub Desktop.
Save michaelloistl/99ae5b34917c1abb4905 to your computer and use it in GitHub Desktop.
openssl x509 -in aps_development.cer -inform der -out aps_dev_cert.pem
openssl pkcs12 -nocerts -out aps_dev_key.pem -in aps_development.p12
cat aps_dev_cert.pem aps_dev_key.pem > aps_dev.pem
openssl x509 -in aps_production.cer -inform der -out aps_prod_cert.pem
openssl pkcs12 -nocerts -out aps_prod_key.pem -in aps_production.p12
cat aps_prod_cert.pem aps_prod_key.pem > aps_prod.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment