Can't create a new Certificate Signing Request(CSR)?

只谈情不闲聊 提交于 2019-12-01 08:19:31

问题


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

These are the steps I took:

  • 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

Then the error:

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!


回答1:


I have solved this question! Here are the steps:

Go to your terminal and type in:

ls -l ~/Library/

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

privs on the Keychains folder should be

drwxr-xr-x

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

  • 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! :)



来源:https://stackoverflow.com/questions/14767934/cant-create-a-new-certificate-signing-requestcsr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!