Encrypted Email Messages using S/MIME

This section provides an encrypted email message example using the S/MIME (Secure/Multipurpose Internet Mail Extensions) standard. The encrypted message with other information is included in a single MIME part.

If you want to send text message encrypted with receiver's public key, you email program will use the S/MIME (Secure/Multipurpose Internet Mail Extensions) standard.

Here is an example email message using S/MIME to deliver the message encrypted with receiver's public key:

Received: by sphinx (mbox mlande) (with Cubic Circle's cucipop (v1...
X-From_: bob@internet.com Wed Aug 20 19:40:22 2003
Return-Path: <bob@internet.com>
Received: from psmtp.com (exprod5mx37.postini.com [12.158.34.194])...
Message-Id: <200308210240.h7L2e5A0016623@sphinx.got.net>
Received: from source ([69.9.251.177]) by exprod5mx37.postini.com ...
From: "Bob Example" <bob@internet.com>
To: "Alice Example" <alice@internet.com>
Date: Wed, 20 Aug 2003 16:02:43 -0500
Subject: Test message
MIME-Version: 1.0
Content-Type: application/pkcs7-mime;
        name=smime.p7m;
        smime-type=enveloped-data
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=smime.p7m

MIIBHgYJKoZIhvcNAQcDoIIBDzCCAQsCAQAxgcAwgb0CAQAwJjASMRAwDgYDVQQDEw...
...
LrY4OxUk660cu1lXeCSFOSOpOJ7FuVyU=

Note that:

Table of Contents

 About This Book

 Introduction of PKI (Public Key Infrastructure)

 Introduction of HTTPS (Hypertext Transfer Protocol Secure)

 Using HTTPS with Google Chrome

 Using HTTPS with Mozilla Firefox

 HTTPS with Microsoft Edge

 Using HTTPS with Apple Safari

 HTTPS with IE (Internet Explorer)

 Android and Server Certificate

 iPhone and Server Certificate

 Windows Certificate Stores and Console

 RDP (Remote Desktop Protocol) and Server Certificate

 macOS Certificate Stores and Keychain Access

 Perl Scripts Communicating with HTTPS Servers

 PHP Scripts Communicating with HTTPS Servers

 Java Programs Communicating with HTTPS Servers

 .NET Programs Communicating with HTTPS Servers

 CAcert.org - Root CA Offering Free Certificates

 PKI CA Administration - Issuing Certificates

 Comodo Free Personal Certificate

 Digital Signature - Microsoft Word

 Digital Signature - OpenOffice.org 3

S/MIME and Email Security

 What Is S/MIME

 Digital Signature Scheme for Email Messages

 A Simple Email Message Example

 Email Messages with Attachments using MIME

 Email Messages with Digital Signatures using S/MIME

Encrypted Email Messages using S/MIME

 Digital Signature and Encryption in Outlook

 Email Security Settings in Outlook

 Valid Certificate Required in Outlook

 Message Security Properties in Outlook 2007

 Firefox Extension - Gmail S/MIME

 PKI (Public Key Infrastructure) Terminology

 Archived Tutorials

 References

 Full Version in PDF/EPUB