Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Apple Worldwide Developer Relations Certification Authority from System Keychain

Since the Apple Worldwide Developer Relations Certification Authority expired on February 14th, I need to install the new one. In order to do so, I have to delete the old one from both System and Login tabs in my keychain.

Removing it from the login tab was easy and instantaneous. But removing it from the System tab is impossible. I can see it in my system tab, stating that it is expired:

enter image description here

When I try to delete it, I'll get the following error:

enter image description here

I need to delete it so I could upload apps to the appStore. Meanwhile, I am stuck and can't do anything. What can I do to delete it!?

This is what I always get if I try to unlock the Systems Tab:

enter image description here

This is what Xcode gives me:

enter image description here

like image 289
Elias Rahme Avatar asked Feb 17 '16 09:02

Elias Rahme


People also ask

What is Apple Worldwide Developer Relations certificate?

The Apple Worldwide Developer Relations Certificate Authority issues the certificates you use to sign your software for Apple devices, allowing our systems to confirm that your software is delivered to users as intended and hasn't been modified.

How do I update my Apple Developer certificate?

Go to the Provisioning section of the iOS Provisioning Portal. Choose Edit and Modify for the profile you want to use to code sign your apps. In the Modify screen, make sure there is a checkmark next to your new certificate and submit the changes.

What is Apple signing certificate?

A signing certificate is the first requirement you need in order to be able to sign apps for installation on iOS devices. Specifically, you need a development certificate, which lets an individual install and run an app on a device.

What is development certificate in iOS?

An iOS developer certificate is a code-signing certificate, a digital signature that associates you and your digital identity with your applications. On the Mac, you must create and submit a request for an iOS development certificate. For more information, see the Apple documentation.


2 Answers

The answer for any future developers having the same problem is really simple :

  • Restart your Mac
  • While restarting hold on Command + R , this will boot up your mac in the "sudo" mode, allowing you to write bash command. Please note that writing the following command is really safe and risk free, but as always while dealing with systematic commands, make sure your backup is near by!
  • When loaded, go to utilities, terminal.
  • First, write : csrutil status . This will show you the status of SIP. Your goal will be to disable the SIP ( System Integrity Protection ). After checking the status, most likely you will find the status Enabled.
  • When you find it enabled, write : csrutil disable . This will disable the SIP.
  • Restart your mac, open keychain, and you will be capable of deleting any stuck certificate, including the expired WWDR.

Hope it will help someone in the future!!

like image 95
Elias Rahme Avatar answered Nov 02 '22 23:11

Elias Rahme


Try to install new certificate from link below.

https://developer.apple.com/certificationauthority/AppleWWDRCA.cer

This worked for me. I hope this will help you.

like image 27
DJ1 Avatar answered Nov 02 '22 23:11

DJ1