Last active
April 1, 2017 00:02
-
-
Save echohack/7776300eec4186045455 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
security find-certificate -c "Izenpe.com" -a -Z "/System/Library/Keychains/SystemRootCertificates.keychain"| grep SHA-1 | awk '{print $NF}' | |
sudo security delete-certificate -Z 30779E9315022E94856A3FF8BCF815B082F9AEFD -t "/System/Library/Keychains/SystemRootCertificates.keychain" | |
security find-certificate -c "certificatename" -a -Z | \ | |
sudo awk '/SHA-1/{system("security delete-certificate -Z "$NF)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment