Apple开发人员 - CSR无效,证书无效 [英] Apple developer - Invalid CSR, Invalid Certificate
问题描述
我通过Keychain Access生成 .certSigningRequest
文件(钥匙串访问 - >证书助手 - >从证书颁发机构请求证书。 。
I generate .certSigningRequest
file via Keychain Access (Keychain Access -> Certificate Assistant -> Request a Certificate From a Certificate Authority...
, I fill in my mail and I save it to disk).
当我登录到苹果开发者帐户并尝试生成证书时,它会收到以下消息:无效的CSR - 无效的证书
When I log into Apple developer account and try to generate Certificate with it I get message: "Invalid CSR - Invalid Certificate"
这是什么原因?为什么会出现此消息,可能是错误的?
What is reason for this? Why this message appears, what could be wrong?
我看到过几个StackOverflow问题,例如: iPhone开发人员入口网站不接受我的CSR ,我还没有找到解决方案:
I've seen several StackOverflow questions like this: iPhone Developer Portal won't accept my CSR and I haven't found solution:
- 我尝试下载WWDR证书
- 我使用Safari(但按钮工作)
- 只有一个开发人员证书...
推荐答案
问题是客户端(javascript)检查EXACT词----- BEGIN CERTIFICATE REQUEST -----。我们的CSR有----- BEGIN 新 CERTIFICATE REQUEST -----(请注意新一词)...删除 / strong>,它被苹果接受。
After HOURS of tinkering we found that the issue is a client side (javascript) that checks for the EXACT words "-----BEGIN CERTIFICATE REQUEST-----". Our CSR had "-----BEGIN NEW CERTIFICATE REQUEST-----" (note the word NEW)... After removing "NEW", it was accepted by Apple.
这篇关于Apple开发人员 - CSR无效,证书无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!