Deleted certificates keep returning in Key Chain

雨燕双飞 提交于 2021-02-11 15:49:58

问题


I have deleted all developer and distribution certificates from the Developer site and from my Key Chain but some cerificates still keep returning into my Key Chain. Why might that be?


回答1:


The problem is most likely caused by keys, associated with those certs, that are still in your keychain.

If Using Xcode 4...

Xcode 4 was supposed to allow one to manage their signing certs, but it was always wonky for me. Here is how I handled this issue last May.

Go to Keychain Access -> My Certificates and search for "iPhone". Your Developer and Distribution certs will show-up, old and current. Expand the certs that you don't want and you'll see the keys associated with those certs. Deleting the keys associated with the certs you want to delete is....well, key.

I think you can delete the keys in "My Certificates". If not, just go to "Keys", find and delete those rogue keys.

If none of your signing certificates are valid after this, then you will have to regenerate the signing certificates. Creating Your Signing Certificates will show you how to do that.

If Using Xcode 5...

Xcode 5 is, according to Apple, the way to manage certificates. You can of course still do this manually, as detailed in Creating Your Signing Certificates. But in Xcode 5, Preferences, Account, signing-in to your dev account and then View Details... will take you to an area where you can manage your signing certs.

If someone has a better way of handling this, please chime-in.




回答2:


One thing I discovered with the keychain when removing a certificate is that if I remove it from the certificate section the certificate is not "really" removed, but if choose "all elements" and from there I delete the certificate then it works... maybe it does not work for you but you can try



来源:https://stackoverflow.com/questions/18802971/deleted-certificates-keep-returning-in-key-chain

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