Skip to content

Instantly share code, notes, and snippets.

@brickpop
Last active July 27, 2016 17:02
Show Gist options
  • Save brickpop/b7f8be2945358e842eb732f0dd2f0e79 to your computer and use it in GitHub Desktop.
Save brickpop/b7f8be2945358e842eb732f0dd2f0e79 to your computer and use it in GitHub Desktop.
iOS APN certificate conversion
#!/bin/bash
# CREATE CERTS
echo "Android: http://dev.tapjoy.com/faq/how-to-find-sender-id-and-api-key-for-gcm/"
echo "iOS: http://quickblox.com/developers/How_to_create_APNS_certificates"
# EXTRACT P12 > PEM
openssl pkcs12 -in apn-push-prod.p12 -out apn-push-prod.pem -nodes -clcerts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment