smime_keys(1) User Manuals smime_keys(1)
smime_keys - Utility to add S/MIME certificate to the internal database used by mutt
| Use Case | Command | Description |
|---|---|---|
| Initialize directory structure | smime_keys init | Creates the required database directories |
| Refresh index files | smime_keys refresh | Updates index, trust flags, and expiration |
| List stored certificates | smime_keys list | Displays all certificates in the database |
| Change/label a certificate | smime_keys label | Adds, removes, or changes a certificate label |
| Remove a certificate | smime_keys remove | Deletes a certificate from the database |
| Verify certificate chain | smime_keys verify [CRL] | Checks the certificate chain, optionally against a CRL |
| Add a certificate | smime_keys add_cert | Imports a PEM certificate |
| Add a full chain | smime_keys add_chain | Imports key, certificate, and intermediate certificates |
| Add a PKCS12 keypair | smime_keys add_p12 | Imports a keypair from a PKCS12 file |
| Add a PEM keypair | smime_keys add_pem | Imports a keypair from a PEM file |
| Add a root certificate | smime_keys add_root | Adds a PEM root certificate to the muttrc location |
smime_keys <operation> [file(s) | keyID [file(s)]]
The purpose of this tool is to manipulate the internal database of S/MIME certificates used by mutt to sign mail messages which will be sent or to verify mail messages received and signed with S/MIME.
init — no files needed, inits directory structure.refresh — no files needed. refreshes index files, including trust flag/expiration.list — lists the certificates stored in database.label — keyID required. changes/removes/adds label.remove — keyID required.verify — 1=keyID and optionally 2=CRL. Verifies the certificate chain, and optionally whether this certificate is included in supplied CRL (PEM format). Note: to verify all certificates at the same time, replace keyID with "all".add_cert — certificate required.add_chain — three files reqd: 1=Key, 2=certificate plus 3=intermediate certificate(s).add_p12 — one file reqd. Adds keypair to database. file is PKCS12 (e.g. export from netscape).add_pem — one file reqd. Adds keypair to database. (file was converted from e.g. PKCS12).add_root — one file reqd. Adds PEM root certificate to the location specified within muttrc (smime_verify_* command).This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Mutt Home Page: http://www.mutt.org/
Unix September 19, 2020 smime_keys(1)
Generated by phpman v4.9.26-1-g511901d Author: Che Dong Under GNU General Public License
2026-08-08 09:48 @216.73.216.87
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format