Skip to main content
Solved

Remove Root Certificates from System Keychain

  • August 3, 2015
  • 2 replies
  • 14 views

Forum|alt.badge.img+11

We put our root certificates in the System keychain but now have a duplicate set of certs (one set is expired). Does anyone know of a way to remove certificates from the System keychain in an automated way?

thanks in advance for any suggestions

Best answer by hkabik

sudo security delete-certificate -Z certificate-hash-here /Library/Keychains/System.keychain

2 replies

Forum|alt.badge.img+16
  • Honored Contributor
  • Answer
  • August 3, 2015

sudo security delete-certificate -Z certificate-hash-here /Library/Keychains/System.keychain


Forum|alt.badge.img+11
  • Author
  • Valued Contributor
  • August 3, 2015

Thanks!