Certificate being rejected by Apple

前端 未结 3 666
余生分开走
余生分开走 2021-02-03 11:32

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 i

相关标签:
3条回答
  • 2021-02-03 12:12

    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
    
    0 讨论(0)
  • 2021-02-03 12:24

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

    0 讨论(0)
  • 2021-02-03 12:25

    Ok, I contacted the support and here is a troubleshoot for future reference:

    1.With your newest certificate, try renaming it to something different than previous certificates and then uploading it again.

    2.Also, some users have reported that their security software blocks this from uploading, please make sure that is not the case.

    3.Please make sure you are uploading a .p12 Push Certificate and not a Distribution Certificate or anything else besides a .p12 Push Certificate. Just click the "Choose File..." button if this is your first time uploading like this: https://imgur.com/a/JQQya Or the "I'd like to replace my production .p12 certificate" check box if you are replacing the certificate like this: http://imgur.com/a/hRIqJ

    4.You can generate one with OneSignal provisionator tool or if you have been and it is not working, you will need to try to generate one manually. You can follow this Generate iOS certificate doc step by step to generate certificate, I followed it and uploaded it successfully.

    If it is still not working, you can contact them providing the p12 cert to them with password and OneSignal AppID. they may upload it for you as soon as they can.

    0 讨论(0)
提交回复
热议问题