Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saturngod/apns_test
APNS Testing with node.js
https://github.com/saturngod/apns_test
Last synced: 2 months ago
JSON representation
APNS Testing with node.js
- Host: GitHub
- URL: https://github.com/saturngod/apns_test
- Owner: saturngod
- Created: 2013-06-20T06:52:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-02T02:54:46.000Z (over 10 years ago)
- Last Synced: 2024-10-10T18:28:18.714Z (3 months ago)
- Language: JavaScript
- Size: 222 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##Install
npm install apns_test -g
##Usages
apns_test your_token development|production cert_key_path private_key_pem [Message]
##Example
apns_test 094f11604aa8fddb85c3cef4fd6e30dd42389b45d717113a0d922ee8f4ceb788 development ./cert.pem ./key.pem "Testing APNS"
##Generate Key
Download **.cer** file from Apple Development.
$openssl x509 -in cert.cer -inform DER -outform PEM -out cert.pem
Open Keychain Access and select push notification certificate and private key. Right Click export.
![keychain export](http://cl.ly/WMsG/download/push.png)
Chose .p12 File Format Extension.
$openssl pkcs12 -in key.p12 -out key.pem -nodes