Unable to delete Apple WWDRC Certificate

后端 未结 4 921
后悔当初
后悔当初 2021-01-21 09:40

Recently Apple posted an announcement, according to this the intermediate certificate got expired on Feb 14th and has to be downloaded manually and should replace the older expi

4条回答
  •  抹茶落季
    2021-01-21 10:29

    I figured out how to resolve this issue.

    First, I enabled the root user in my system

    OS X Lion (10.7) and later

    1. From the Apple menu choose System Preferences.
    2. From the View menu choose Users & Groups.
    3. Click the lock and authenticate as an administrator account.
    4. Click Login Options.
    5. Click the "Edit" or "Join" button at the bottom right.
    6. Click the "Open Directory Utility" button.
    7. Click the lock in the Directory Utility window.
    8. Enter an administrator account name and password, then click OK.
    9. Choose Enable Root User from the Edit menu.
    10. Enter the root password you wish to use in both the Password and Verify fields, then click OK.

    In the terminal, I logged in as root user

    1. Open Terminal
    2. Type su and then press Enter
    3. Enter the password you just set for the root user above. This will log you in as the root user
    4. Type cd /Library and then press Enter
    5. Type chmod 777 Keychains/. This will change folder permissions for the Keychains folder
    6. Now open the Keychain Access App and delete the Apple Worldwide Developer Relations Certification Authority certificate from the System keychain
    7. Import the renewed Intermediate certificate in your login keychain
    8. Close the Keychain Access app

    Although, the certificate which you just deleted will appear again in the System keychain but all your other Developer and Distribution certificates will become valid again.

    Make sure you set back the Keychains folder permission back to 755

    chmod 755 Keychains/

提交回复
热议问题