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 https://documentation.onesignal.com/docs/generate-an-ios-push-certificate
我尝试过使用 OneSignal Provisionator Tool,并使用 KeyChain 访问生成证书,但没有任何结果。
您可以使用此脚本测试 APNS 连接:
https://gist.github.com/greencoder/16d1f8d7b0fed5b49cf64312ce2b72cc https://gist.github.com/greencoder/16d1f8d7b0fed5b49cf64312ce2b72cc
此脚本需要您的 pem 格式的密钥和证书。要从 p12 转换,请使用
openssl pkcs12 -in PushCertKey.p12 -out PushCertKeyNoCrypt.pem -nodes
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)