Follow the steps below to decrypt an S/MIME email:
When the sender encrypts the email they must use the public Certificate you provided them. The corresponding Private Key to that public Certificate must reside in the Default Private Keys Key Store in
Managed File Transfer
. If a Private Key already exists and the exchange of Certificates has already taken place skip to step 6. If not, continue on with step 2.
Create a Private Key by following the steps outline in the Create an SSL Certificate section. Make sure to place the Private Key in the Default Private Keys Key Store.
After a Private Key is generated select the checkbox next to the corresponding Key Alias and click the
Export
button.
From the Export Entry page select the Head Certificate item and click
Export
.
Send the Certificate to the sender that will be encrypting the emails.
Select
Workflows
from the main menu, click
Projects
, and then navigate to the folder where the new Project should go.
Click the
Create a Project
button, specify a Project Name and click
Save
.
From within the Project Designer page, expand the Email folder in the Component Library, and then drag the Retrieve Email task to the Project Outline.
Within the Retrieve Email task page:
Select the Mail Box resource from the drop-down list.
Specify a Destination Directory. This directory will contain all attachments received. It is recommended to use a workspace so that each execution of the Project will have a clean working directory.
Click on the
Save
button.
When the Project is executed the messages will be retrieved from the Mail Box server. If the email message is encrypted using S/MIME, the Retrieve Email task will try to automatically decrypt it. The first step performed when decrypting is an auto-lookup against the Default Private Keys Key Store to find a Private Key that contains an email address that matches the recipients email address. If one does not exist an error is display to the page and recorded in the Job Log. The auto-lookup feature can be replaced by specifying a Private Key Alias on the Advanced tab of the Retrieve Email task.