key chain warning The “System Roots” keychain cann

2020-02-03 05:08发布

Am landed with following error "“System Roots” keychain cannot be modified" when I double tap the certificate. After googling I come to know that drag and drop the certificate is the solution for this.

But even after doing this also in code it says "profile doesnt match vaild certificate/private key chain pair in the default key chain"

ANy Solution....

Thanks.

10条回答
够拽才男人
2楼-- · 2020-02-03 05:27

Quit keychain access and double-clicking the AppleWWDRCA.cer and developer_identity.cer it worked fine. It added them to the login keychain instead of attempting an add to system roots keychain.

Apple Discussion link: https://discussions.apple.com/thread/2343078

查看更多
老娘就宠你
3楼-- · 2020-02-03 05:32

Step 1 - download your developer certificate and drop in into your DEFAULT keychain

step 2 - download apple WWDRCA certificate and drop into the same keychain.

step 3 - CHECK if there is a private key along with your certificate. (you should be able to see tiny triangle beside your certificate. Click on it to see if your private key is present or not)

step 4 - download the provisioning profile from the developer portal and drop into your xcode.

Try to do these things first. If you still get a error, then delete the extra apple certificates in your keychain and try the process once again.. it will do the trick...

查看更多
Explosion°爆炸
4楼-- · 2020-02-03 05:35

In my case, I had to create a new .certSigningRequest file by following the steps here.

And Then I've to create the certs again with this new file.

查看更多
狗以群分
5楼-- · 2020-02-03 05:36

Just try below three steps

Step 1: Open your Keychain Access app.
Step 2: You will see list in left side as 'Login' ,'System' and 'System Roots', just drag your certificate in 'Login' option.
Step 3: You will get certificate install successfully in Keychain Access.

查看更多
Melony?
6楼-- · 2020-02-03 05:41

The default keychain is the one that Keychain Access shows in boldface in the list of keychains. Usually, it's the "login" keychain. Open up the default keychain and look for your certificate. If you find it, make sure there's a little disclosure triangle to its left. Clicking on that triangle should reveal the private key. If you don't have all that, you won't be able to sign binaries.

查看更多
趁早两清
7楼-- · 2020-02-03 05:44

enter image description here


I also faced this problem with the APNS certificate by double click on it getting the error but manually import certificate works for me.


enter image description here

查看更多
登录 后发表回答