In my App I currently use a VoIP Services Certificate
“Establish connectivity between your notification server, the Apple Push Notification service sandbox, and production environment to alert background VoIP apps of incoming activity. A separate certificate is required for each app you distribute.”
I now need to also use Apple Push Notification service SSL (Sandbox & Production)
“Establish connectivity between your notification server, the Apple Push Notification service sandbox, and production environments to deliver remote notifications to your app. When utilizing HTTP/2, the same certificate can be used to deliver app notifications, update ClockKit complication data, and alert background VoIP apps of incoming activity. A separate certificate is required for each app you distribute”
From my reading of these descriptions it seems too suggest that I can simply use the one Apple Push Notification service SSL (Sandbox & Production) certificate with HTTP/2 to send pushes to both
- VoIP Push Server (api.push.apple.com:443 and api.development.push.apple.com:443)
- Normal Push Server (api.sandbox.push.apple.com:443 and api.push.apple.com:443
Can anybody confirm if this is true? If its is true what is the point of having the separate “VoIP Services Certificate” at all if it is already catered for by the Apple Push Notification service SSL (Sandbox & Production)?
> So just to be 100% sure are you saying that with HTTP/2 I can use “Apple Push Notification service SSL Certificate” instead of “VoIP Services Certificate”. So I would only need one cert for both VoiP and normal pushes. Is that correct?
Please let me emphasize that I have never actually worked with VOIP via APNs, and so my understanding comes entirely from working the APNs as a protocol.
So with that said: I don't know for sure. I believe that's correct, but can't verify it from experience. I don't know what a "VOIP services certificate" is for, but I'm confident that "normal" APNs certificate can send notifications to com.example.yourapp, com.example.yourapp.voip, and com.example.yourapp.complication. There may be more that needs to happen in the wider VOIP ecosystem, but in terms of sending an APNs notification to a VOIP topic, the non-VOIP certificate should be just fine.
If you're using macOS, you can verify the APNs topics your certificate covers by using "quick view" on the certificate to see what metadata it contains.