From 193d94ab40dfb73dc4c6545b8501c026890775aa Mon Sep 17 00:00:00 2001 From: rhunt222 Date: Sun, 24 Jun 2018 10:52:21 -0400 Subject: [PATCH] Notification cert needs to be same as p12 cert Need to use Pass Type ID cert for APNS to work. From Apple: Your server sends the following pieces of information: The pass type identifier (in the certificate) The push token (in the communication to the Apple Push Notification service) --- config/passbook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/passbook.rb b/config/passbook.rb index b54ba35..9eaa731 100644 --- a/config/passbook.rb +++ b/config/passbook.rb @@ -4,5 +4,5 @@ passbook.p12_certificate = 'certificates/p12_certificate.pem' passbook.wwdc_cert = 'certificates/wwdr.pem' passbook.notification_gateway = 'gateway.push.apple.com' - passbook.notification_cert = 'certificates/push_notificfation_certificate.pem' + passbook.notification_cert = 'certificates/p12_certificate.pem' end