Microsoft Outlook: Emails encrypted with S/MIME cannot be opened. The error message "Internal error." appears.

Assume the following scenario:

  • A user receives an e-mail message encrypted with Secure/Multipurpose Internet Mail Extensions (S/MIME).
  • The message cannot be opened.
  • When opening the message, the following error message is displayed:
Leider besteht ein Problem beim Öffnen dieses Elements. Dies kann vorübergehend sein. Wenn dieser Fehler erneut auftritt, sollten Sie Outlook neu starten. Fehler im zugrunde liegenden Sicherheitssystem. Interner Fehler.

Outlook error dialog (German UI): "Leider besteht ein Problem beim Öffnen dieses Elements ... Fehler im zugrunde liegenden Sicherheitssystem. Interner Fehler."

The message can be opened via Outlook Web Access (OWA).

Occurs when both sender and recipient use Office 365. The sender uses Outlook for Macintosh and uses the "Encrypt" button.

Here, the message is not encrypted with S/MIME, but with an Office 365 proprietary method.

Do you know TameMyCerts? TameMyCerts is an add-on for the Microsoft certification authority (Active Directory Certificate Services). It extends the function of the certification authority and enables the application of rule sets to realize the secure automation of certificate issuance. TameMyCerts is unique in the Microsoft ecosystem, has already proven itself in countless companies around the world and is available under a free license. It can be downloaded via GitHub and used free of charge. Professional maintenance is also offered.

If you inspect the message with MFCMAPI , you can see that the encrypted attachment is not named "smime.p7m", but "message_v2.rpmsg".

MFCMAPI, "Attachments: message_v2.rpmsg": attachment message_v2.rpmsg with method 1 (ATTACH_BY_VALUE)

The sender must use the "S/MIME" button.

This is hidden by default in Outlook for Macintosh and must first be added to the toolbar.

Outlook toolbar (Mac, German labels): the button with three dots to the right of "Optionen" marked

Outlook (Mac, German labels): menu of the three dots with "Meine Vorlagen", "Add-Ins erhalten" and "Symbolleiste anpassen..."

Outlook (Mac, German labels), "Zum Anpassen Elemente in Ihre Symbolleiste ziehen": item "S/MIME" below "Optionen" marked

After that, S/MIME encryption can be performed by clicking the button of the same name.

Outlook toolbar (Mac, German labels): "S/MIME" button next to "Signatur" and "Verschlüsselung" marked

External sources