SSL Certificate Type
I understand that a .p12 certificate is scoped to a single bundle ID and environment. However, with a .p8 key, it is designed to be used by a developer account for all apps and environments. The Sendbird settings for managing the push notification certificate don’t give any guidance for whether a .p8 key should have the “Development” or “Production” SSL certificate type.
I was confused because the .p8 is ultimately a production value. However if you mark it as Production and use it to test sending a push with a token from a dev build, then it will return a “BadDeviceToken” error.
Question:
Am I correct in understanding that with a .p8 key, the “SSL certificate type” setting should depend on whether push notifications will target a production or development build? It seems to be working now that I changed it to “Development”.
(To help future readers, I also found this post which ran into the same errors as I am, though I’m using a .p8 instead of a .p12.)