Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple Push Services created instead of Apple Production iOS Push Services

I'm trying to create a certificate for Production iOS Push Services. Instead I get an Apple Push Services. How can I create a dedicated Apple Production iOS Push Services certificate?

The top certificate is what I used to get. The bottom one is what I now get.

enter image description here

I use Pusher application to test my push notifications certificate and it cannot read the p12 of the new Apple Push Services.

like image 594
YogevSitton Avatar asked Dec 23 '15 08:12

YogevSitton


People also ask

Can I disable Apple push service?

You can disable push notifications on Android by going into the Settings > Notifications options. Similar to iOS, Android lets you turn off push notifications for individual apps or use a 'Do not disturb' mode.

When did iOS get push notifications?

Push notification technology was first introduced by Apple Inc. back in June 2009, alongside its iOS 3.0 version. Push notifications allowed third party app developers to send messages to their apps' users, even when those apps weren't run.

Does Apple need push service?

Without configuring and registering with an operating system push notification service like Apple Push Notifications Service, your app would be unable to send notifications to iOS users. The Apple Push Notifications Certificate is a necessary element in the process of sending notifications to your users through APNs.

What is Apple push service on Mac?

Apple Push Notification service (commonly referred to as Apple Notification Service or APNs) is a platform notification service created by Apple Inc. that enables third party application developers to send notification data to applications installed on Apple devices.


2 Answers

Apple have changed the name of the certificate that is issued. You can now use the same certificate for both development and production. While you can still request a development only certificate you can no longer request a production only certificate.

Since the purpose of the certificate is no longer production only Apple has changed the common name to Apple Push Services. The functionality of the certificate is not affected.

Unfortunately services that validate the CN of the certificate may reject this new name. There is nothing you can do about this until the service updates its verification code. For example, Parse.com had this issue a few days ago but their verification code has now been updated and they will now accept the new certificate name.

like image 183
Paulw11 Avatar answered Oct 07 '22 16:10

Paulw11


Apple Change Apple Production IOS Push Services cert name to Apple Push Services if you used pushsharp , you need go to github https://github.com/v-tsymbalistyi/PushSharp download zip and used visual studio recombile because the code change if (production && !subjectName.Contains("Apple Production IOS Push Services") && !subjectName.Contains("Apple Push Services")) throw new ArgumentException("You have selected the Production server, yet your Certificate does not appear to be the Production certificate! Please check to ensure you have the correct certificate!");

            if (!production && !subjectName.Contains("Apple Development IOS Push Services") && !subjectName.Contains("Pass Type ID"))                     throw new ArgumentException("You have selected the Development/Sandbox (Not production) server, yet your Certificate does not appear to be the Development/Sandbox certificate!  Please check to ensure you have the correct certificate!");             

and you just copy PushSharp.Apple.dll to server then everything OK

like image 44
吳肇祐 Avatar answered Oct 07 '22 17:10

吳肇祐