Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I delete bad certificates from Xcode 8?

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?




like image 498
geogeogeo Avatar asked Jul 08 '17 19:07

geogeogeo


People also ask

How do I delete old certificates in Xcode?

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.

How do I remove a certificate from Xcode keychain?

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.

How do I remove a root certificate?

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.

How to delete a Developer ID certificate from a Mac?

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.

How to delete certificates on Windows 10?

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.


1 Answers

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.

like image 197
Bernie Lenz Avatar answered Oct 02 '22 07:10

Bernie Lenz