Delete a certificate from a keychain. If no keychain arguments are provided, the default search list is used.
Syntax
delete-certificate [-h] [-c name] [-Z hash] [-t] [keychain...]
Options
-c name Specify certificate to delete by its common name
-Z hash Specify certificate to delete by its SHA-1 hash
-t Also delete user trust settings for this certificate
The certificate to be deleted must be uniquely specified either by a string found in its common name, or by its SHA-1 hash.
“Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing” ~ Helen Keller
Local man page: security - Command line help page on your local machine.
security - Administer Keychains, keys, certificates and the Security framework.