Question:
We use Amazon SNS to send push notifications to our users. We recently renewed the certificates but for some reason we nog get the following error:
1 2 3 4 5 6 7 8 9 |
PlatformApplicationDisabled |
We haven’t changed anything to the code or to the certificates.
When I verify the certificates using openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert myapnsappcert.pem -key myapnsappprivatekey.pem
everything also works fine. The only problem is that the notifications for iOS won’t be sent due to the error. Android is working fine.
Answer:
The error can caused because your p.12 is expired, you can create a new one or update the current in AWS SNS.