I'm new to iOS development, and I can't figure out how to delete bad certificates from Xcode 8. I feel like I've searched everywhere, but I can't find a straightforward answer.
Here's what I tried (couple images below):
In Xcode, I go to Preferences
and then the Accounts
tab, and then I click on my Apple ID login. I have 2 different teams - a personal one, and a company enterprise team.
When I click on my personal account, and go to Manage Certificates
, there's an old certificate that uses an incorrect email I used before, and it says status Not in Keychain
. But when I right click on it all the options, such as Delete Certificate
are grayed out. How can I delete this? I really don't want it there because it seems messy.
Then when I go to my company team, and go to Manage Certificates
, there's a certificate that I had accidentally revoked through the Portal that is now named Untitled
. And when I right click on it, the Delete Certificate
is also grayed out.
How can I get rid of these certificates?
Instructions for AndroidOpen the Settings application, and select the Security option. Navigate to the Trusted Credentials. Tap on the certificate that you would like to delete. Tap Disable.
When I go to Xcode > Preferences > Accounts and then click on Manage Certificates for my selected Apple ID, I see my list of Signing Certificates. I tried to delete the certificate from the UI but the delete option is grayed out. I then found another Stack Overflow page that said to remove certificates from Keychain Access.
Here's how to do it! Removing a root certificate—sometimes conflated with VPN profile—isn't obvious, but it is easy once you know how. Launch Settings from your Home screen. Tap on General. Tap on Profile. (If you don't see Profile it means you have nothing to delete or worry about!) Tap on the profile you want to delete. Tap Delete profile.
I just called Apple and learned that because of Apple system limitations you cannot delete "Developer ID Application" certificates. Apparently, the only option is to export the "Developer ID Application" from the old mac and import it to the new one using the Keychain Access.
Press Windows Key + R Key together, type certmgr.msc, and hit enter. You will get a new window with the list of Certificates installed on your computer. Locate the certificate you want to delete and then click on the Action button then, click on Delete.
I had a couple of Untitled certificates as well and after a lot of digging was able to delete them through the keychain app. When you open keychain, under login / My Certificates I had a few certificates which were either expired or revoked causing them to show up as Untitled in Xcode. I simply deleted the certs in keychain and they then disappeared in Xcode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With