Answer the question
In order to leave comments, you need to log in
Why doesn't Push Notification work on production?
[2015-12-02 09:56:56][INFO] Added receiver cbd9a7680fc83b7fbcd7f91014107750a6f20c21ef3408c5c38ae92ba37c4f3a
[2015-12-02 09:56:56][INFO] INFO: Trying tls://gateway.push.apple.com:2195...
[2015-12-02 09:56:58][INFO] INFO: Connected to tls://gateway.push.apple.com:2195.
[2015-12-02 09:56:58][INFO] INFO: Sending messages queue, run #1: 5 message(s) left in queue.
[2015-12-02 09:56:58][INFO] STATUS: Sending message ID 1 [custom identifier: unset] (1/3): 234 bytes..
[2015-12-02 09:56:58][INFO] [Push] No errors, cool!
[2015-12-02 09:56:58][INFO] INFO: Disconnected.
Answer the question
In order to leave comments, you need to log in
Prod.pem generated differently from this manual
openssl x509 -in aps_production.cer -inform der -out PushChatCert.pem
openssl pkcs12 -nocerts -nodes -clcerts -out PushChatKey.pem -in PushChatKey.p12
cat PushChatCert.pem PushChatKey.pem > production.pem
And voila!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question