无法创建新的证书签名请求(CSR)? [英] Can't create a new Certificate Signing Request(CSR)?

查看:475
本文介绍了无法创建新的证书签名请求(CSR)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在iOS设备上测试我的应用。为此,我需要创建一个证书签名请求 CSR )。

I am trying to test my app on my iOS device. To do so I ill need to create a Certificate Signing Request(CSR).

这些是我采取的步骤:


  • 打开钥匙串访问在Utilities文件夹中。

  • 在下拉菜单中单击 Keychain Access 证书助理向证书颁发机构申请证书

  • 输入我的苹果ID电子邮件地址和我的姓名

  • 勾选保存到磁盘

  • 单击继续

  • 将CSR保存在桌面上

  • Open Keychain Access in the Utilities folder.
  • On the drop down menu clicked Keychain AccessCertificate assistantRequest a Certificate from a Certificate Authority
  • Entered my apple id email address and my name
  • ticked Save to disk
  • Clicked continue
  • Save the CSR on desktop

然后错误:

The specified keychain is not a valid keychain file

我试过搜索引擎寻找答案,我没有运气!任何帮助将非常感谢!提前致谢!

I have tried the search engine for answers and I had no luck! Any help would be very much appreciated! Thanks in advance!

推荐答案

我已经解决了这个问题!以下是步骤:

I have solved this question! Here are the steps:

转到您的终端并输入:

ls -l ~/Library/

这将确保keychain文件夹的权限是正确。

This will make sure that the permissions on the keychain folder are correct.

Keychains文件夹中的privs应为

privs on the Keychains folder should be

drwxr-xr-x

如果不是 drwxr-xr-x 然后按照以下步骤操作:

If it is not drwxr-xr-x then follow these steps:


  • 转到Keychain Access的下拉菜单。

  • 钥匙串访问>钥匙串急救

  • 输入您的用户名密码

  • 勾选维修

  • 点击开始

  • Go to the drop down menu in Keychain Access.
  • Keychain Access > Keychain First Aid
  • Enter your Username and Password
  • Tick on Repair
  • Click Start

这解决了我的问题! :)

This solved my problem! :)

这篇关于无法创建新的证书签名请求(CSR)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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