iPhone 开发者门户不接受我的 CSR
我正在 iPhone 开发者门户中使用开发配置助手,但是当我到达它要求我生成并上传 CSR 的部分时,我尝试上传它,但它只是给出了此错误:
所选的 CSR 无效。 请检查文件并重试。
有谁知道这意味着什么或者我能做什么? 谢谢!
I am using the Development Provisioning Assistant in the iPhone Developer Portal, but when I get to the part where it asks me to generate and upload my CSR, I try to upload it and it just gives me this error:
The CSR selected is invalid. Please check the file and try again.
Does anyone know what this means or what I can do about it?? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
另请确保您使用 Safari 进行上传。
我尝试了 Chrome,但总是失败。 然后我切换到 Safari,它可以使用相同的 CSR。
Also make sure you use Safari for uploading.
I tried Chrome and it always failed. Then I switched to Safari and it worked with the same CSR.
没关系,我想通了...以防其他人遇到同样的问题,我通过在生成 CSR 之前下载 WWDR 中级证书来修复它,但我忘了这样做。 拍拍额头
Never mind, I figured it out... in case anyone else has the same problem, I fixed it by downloading the WWDR Intermediate Certificate before generating the CSR, which I forgot to do. slaps forehead
如果您没有以下菜单项:“钥匙串访问 -> 证书助手 -> 向证书颁发机构请求证书”,那么您需要一个新的 WWDR 中级证书。 我的菜单项最初是相似的,但标题中有一些额外的文字。 下载并安装新证书会更改菜单项并允许生成有效的 CSR。 这很奇怪,因为我之前的 WWDR 中级证书作为未过期的证书出现在我的钥匙串中。
我在 bugreport.apple.com 上记录了一个错误,要求提供更清晰的错误消息并指向此 SO 讨论。 编辑:仅供参考..显然开发人员门户错误应该通过发送电子邮件到 [email protected] 来记录 而不是“产品”目标错误报告网站。 我鼓励在这个问题上浪费时间的人们通过电子邮件提供有关该问题的有用反馈。
If you do not have the following menu item: "Keychain Access->Certificate Assistant->Request a Certificate from a Certificate Authority", then you need a new WWDR Intermediate Certificate. My menu item was originally similar, but had some extra text in the title. Downloading and installing a new certificate changed the menu item and allowed generation of a valid CSR. This was odd because my previous WWDR Intermediate Certificate appeared in my keychain as an unexpired certificate.
I logged a bug at bugreport.apple.com asking for a clearer error message and pointing back to this SO discussion. Edit: fyi.. apparently developer portal bugs should be logged by sending email to [email protected] instead of the "product" targeted bugreport website. I encourage folks that have wasted time on this issue to provide helpful feedback regarding the issue via email.
如果您无法使用启动助手上传 CSR,请尝试转到“配置门户 -> 证书”。 在那里上传您的文件,然后单击底部的“提交”按钮。
我就这样拿到了证书。
If you are not able to upload the CSR using launching assistant, try going to "Provisioning Portal -> Certificates". Upload your file there and click "submit" button at the bottom.
I had my certificate this way.
我遇到了同样的问题,为我解决的方法是修复我的登录钥匙串。 转到钥匙串访问中的“钥匙串急救”,您可以验证/修复您的配置。
I had the same problem, and what fixed it for me was to repair my login keychain. Go to 'Keychain First Aid' in Keychain Access and you can verify/repair your config.
其次是 Chrome 与 Safari 的冲突及解决方案。
iOS 配置门户上的说明 -> 证书-> “操作方法”选项卡完全正确,但我在 Chrome 中上传时反复失败,而在 Safari 上立即成功。
版本:
操作系统:OS X Snow Leopard 10.6.6 64 位
铬:8.0.552.237
Safari:5.0.3 (6533.19.4)
Second on the Chrome vs. Safari conflict and solution.
The instructions on the iOS Provisioning Portal -> Certificates -> "How-To" tab are exactly correct, but I have a repeatable failure on upload in Chrome, and instant success on Safari.
Versions:
OS: OS X Snow Leopard 10.6.6 64-bit
Chrome: 8.0.552.237
Safari: 5.0.3 (6533.19.4)
做了相反的事情:使用 Firefox 而不是 Safari,并且按钮起作用了。
Did right the opposite: used Firefox instead of Safari and the button worked.
我有类似的问题。
创建 CSR 以启用推送通知时,我首先必须在“钥匙串访问”中取消选择当前选定的密钥,然后再选择“从证书颁发机构请求证书”。 这解决了我的问题
确保您只有“从证书颁发机构请求证书”,而不是“从证书颁发机构请求带有密钥的证书”之类的内容
I had a similar problem.
When creating a CSR for enabling push notifications, I first had to deselect the current selected key in Keychain Access before selecting Request a Certificate from a Certificate Authority. That solved my problem
Make sure you have only "Request a Certificate from a Certificate Authority" and not something like "Request a Certificate from a Certificate Authority with key "
如果在钥匙串访问下您只有“使用密钥从证书颁发机构请求证书”选项,则它将不起作用。 这表明您尚未下载“WWDR 中间证书”。 您可以从 iPhone 配置门户中的“证书”选项卡获取它。 安装后(双击安装),菜单项将更改为“从证书颁发机构请求证书”并且它应该可以工作。
If under Keychain Access you only have the option for "Request a Certificate from a Certificate Authority with key" it will not work. This indicates you have not downloaded the "WWDR intermediate certificate". You can get it from the "Certificates" tab in the iPhone Provisioning Portal. Once its installed (double click it to install), the menu item will change to "Request a Certificate from a Certificate Authority" and it should work.