Reputation: 11
I have created development and production APNS
certificates through keychain access. However, when I try to upload aps.cer
and aps-development.cer
to the push configuration dashboard at sinch.com, it says:
Error: Incorrect file type, or file too big. Must be pkcs12 and less than 10kbyte.
I went back to the Apple Developer portal and downloaded the .cer
files there and tried again to no avail.
Upvotes: 1
Views: 242
Reputation: 37590
You need to convert the certificate to a .pem and then to a .p12.
Follow the steps in here https://www.raywenderlich.com/123862/push-notifications-tutorial
Upvotes: 3