Meteor-Community-Packages / raix-push

DEPRECATED: Push notifications for cordova (ios, android) browser (Chrome, Safari, Firefox)
https://atmospherejs.com/raix/push
MIT License
513 stars 197 forks source link

iOS Distribution Certificate expiration - one year anniversary! #215

Closed Alveoli closed 8 years ago

Alveoli commented 8 years ago

It's my one year anniversary with raix:push! Thank you for the great work @raix et al! :dancers:

So Apple has kindly emailed me to say iOS Distribution Certificate will expire. Has anyone else come to the same threshold?

To resolve this, is it just a matter of generating and replacing the keyData and certData .PEM files? And would the new PEMs work straightaway or do I have to wait for the old one to expire first?

raix commented 8 years ago

Thanks @Alveoli :)

You just need to create a new distribution cert and use that in the provision + generate new push certs...

Alveoli commented 8 years ago

Ok, I just did the Renew APN certificate dance, here's the difference from the first time:

  1. Go to https://developer.apple.com/account/ios/identifier/bundle
  2. Select your App
  3. Edit. It should look like this: image
  4. Create Certificate
  5. Continue
  6. Choose your CertificateSigningRequest.certSigningRequest file from last year (You kept it handy, right? :) )
  7. Continue
  8. Download the .cer file
  9. Follow the rest of the guide from Congrats, now click 'Download' at https://github.com/raix/push/wiki/iOS-Micro-Walkthrough

Ultimately, replace your two exisiting .pem files. You don't need to expire the old ones, so these ones can be valid at the same time. Note that the validity date is 365 days from when you request these new certs, so every time you're bringing your expiry date forward a little.