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:
<?xml version="1.0" encoding="UTF-8"?>
<ErrorResponse xmlns="http://sns.amazonaws.com/doc/2010-03-31/">
<Error>
<Type>Sender</Type>
<Code>PlatformApplicationDisabled</Code>
<Message>Platform application is disabled</Message>
</Error>
</ErrorResponse>
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.