Pcornel
Security · Email Security

S/MIME

Cheat sheet · https://pcornel.dk/topic.php?topic=4784

Back to the Topic

Answer

S/MIME signs and encrypts individual email messages with X.509 certificates, proving the sender and keeping content confidential end to end, even on untrusted mail servers.

Remember

  • Sender and recipient need certificates.
  • Protects content end to end.
  • Lost keys mean unreadable mail.

First checks

  • openssl smime -verify -in signed.eml -CAfile ca.pem — verify S/MIME
  • User certificates for S/MIME — issued/valid
  • Client config (Outlook/Thunderbird) — signing/encryption

Verify in this order

sender cert → sign/encrypt → recipient verifies/decrypts

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4784

Confirmation

Confirm action

Continue?