Postfix (Email) - Delete certificates in nssdb (Network Security Services Database)

by
Jeremy Canfield |
Updated: February 16 2023
| Postfix (Email) articles
The certutil command with the -L (list) an -d (directory) options can be used to list the certificates in your nssdb (Network Security Services Database).
~]# certutil -L -d /etc/pki/nssdb
Certificate Nickname Trust Attributes
SSL,S/MIME,JAR/XPI
*.example.com root CA CT,,
*.example.com intermediate CA CT,,
*.example.com CT,,
Then the -D (delete) and -n (name) options can be used to delete a certificate.
certutil -d /etc/pki/nssdb -D -n *.example.com
Did you find this article helpful?
If so, consider buying me a coffee over at