Certificate rejected by Apple

When setting up a certificate for Push Notification on my iOS build of a cordova project using OneSignal, the certificate is rejected every time I try to configure it.
I followed the steps mentioned at https://documentation.onesignal.com/docs/generate-an-ios-push-certificate
enter image description here

I tried using the OneSignal Provisionator Tool and generated a certificate using KeyChain access, without any results.

+8
ios push-notification apple-push-notifications onesignal
source share
2 answers

You can test the APNS connection with this script:

https://gist.github.com/greencoder/16d1f8d7b0fed5b49cf64312ce2b72cc

This script requires your key and certificate in pem format. To convert from p12 use

openssl pkcs12 -in PushCertKey.p12 -out PushCertKeyNoCrypt.pem -nodes 
+1
source share

OneSignal had a problem with the service, which led to incorrect detection of certificates as invalid. It has now been fixed, as noted in this status update .

0
source share

All Articles