Certificate being rejected by Apple

2020-05-21 04:30发布

While configuring certificate for Push Notification on my ios build of cordova project using OneSignal, the certificate is getting rejected every time I'm trying to configure it.
I've followed steps mentioned in https://documentation.onesignal.com/docs/generate-an-ios-push-certificate
enter image description here

I've tried using OneSignal Provisionator Tool, and generated certificate using KeyChain access as well without any result.

2条回答
Melony?
2楼-- · 2020-05-21 05:07

You can test 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
查看更多
走好不送
3楼-- · 2020-05-21 05:20

OneSignal had a service issue that caused certificates to be incorrectly detected as invalid. It is now fixed, as noted in this status update.

查看更多
登录 后发表回答