证书被苹果拒绝 [英] Certificate being rejected by Apple

查看:53
本文介绍了证书被苹果拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用 OneSignal 在我的 ios 构建的cordova 项目上为推送通知配置证书时,每次我尝试配置证书时都会被拒绝.
我遵循了

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

我尝试使用 OneSignal Provisionator Tool,并使用 KeyChain 访问生成证书,但没有任何结果.

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

推荐答案

好的,我联系了支持,这里是一个疑难解答以供将来参考:

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

1.使用您的最新证书,尝试将其重命名为与以前证书不同的名称,然后再次上传.

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

2.另外,一些用户报告说他们的安全软件阻止上传,请确保不是这种情况.

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

3.请确保您上传的是 .p12 推送证书,而不是分发证书或除 .p12 推送证书之外的任何其他内容.只需单击选择文件..."即可.按钮,如果这是您第一次像这样上传:https://imgur.com/a/JQQya或者我想更换我的生产 .p12 证书"如果您要替换这样的证书,请选中复选框:http://imgur.com/a/hRIqJ

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.您可以使用 OneSignal 配置器工具生成一个,或者如果您已经使用但它不起作用,您将需要尝试手动生成一个.你可以按照这个生成iOS证书文档一步一步来生成证书,我跟着,上传成功.

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.

如果仍然无法正常工作,您可以联系他们,向他们提供 p12 证书以及密码和 OneSignal AppID.他们可能会尽快为您上传.

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.

这篇关于证书被苹果拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆