gpt4 book ai didi

ios - 如何获取证书签名请求

转载 作者:IT王子 更新时间:2023-10-29 07:33:31 26 4
gpt4 key购买 nike

如何获得证书签名请求?我想要做的就是让我的应用程序在我的 ipod touch 上运行。这很容易,因为我可以去 IOS 开发门户并下载一个,不用大惊小怪。但现在他们要我创建一个 CSR 来创建一个配置文件,但我不知道该怎么做。我已经在 Keychain Access 和在线文档中徘徊了两个小时的大部分时间,但我仍然完全迷路了。

我什至不确定为什么我现在需要一个以前不需要的东西。在我最近从 Snow Leopard 切换到 Mountain Lion 之前,我有一个配置文件,但现在它不会接受它。是的,我仍在同一台计算机上。

最佳答案

由于您安装了新操作系统,您可能不再拥有之前用于将应用程序登录到 XCode 的私钥和公钥。您需要通过撤销之前的证书并在 iOS 开发门户上申请新证书来在您的计算机上重新生成这些 key 。作为该过程的一部分,您将被要求生成证书签名请求,这似乎是您遇到问题的地方。

你会在那里找到你需要的一切,包括(来自官方文档):

1.Open Keychain Access on your Mac (located in Applications/Utilities).

2.Open Preferences and click Certificates. Make sure both Online Certificate Status Protocol and Certificate Revocation List are set to Off.

3.Choose Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority.

Note: If you have a private key selected when you do this, the CSR won’t be accepted. Make sure no private key is selected. Enter your user email address and common name. Use the same address and name as you used to register in the iOS Developer Program. No CA Email Address is required.

4.Select the options “Saved to disk” and “Let me specify key pair information” and click Continue.

5.Specify a filename and click Save. (make sure to replace .certSigningRequest with .csr)

For the Key Size choose 2048 bits and for Algorithm choose RSA. Click Continue and the Certificate Assistant creates a CSR and saves the file to your specified location.

关于ios - 如何获取证书签名请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12126496/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com