How to update AWS SNS with new iOS certificate
When adding notifications using amplify add notifications
you will need to provide a .p2
certificate. This certificate expires, usually within a year I believe. Here's how to update it:
amplify update notifications
Here's the docs. You will have to re-create the same .p2
file located in your Apple account
Read more about how to Upload a Certificate Signing Request to apple and manually generate a Certificate. You'll need a Certificate Signing Request (CSR) file from your Mac.