sslsd-logo

How to move certificate from IIS to FortiMail

Windows servers use .pfx/.p12 files to contain the public key file (SSL Certificate) and its unique private key file. The Certificate Authority (CA) provides you with your SSL Certificate (public key file). You use your server to generate the associated private key file where the CSR was created.

You need both the public key and private keys for an SSL certificate to work properly on any system. Windows uses the pfx/p12 file to contain these two keys; therefore, if you need to transfer your SSL certificate from one server to another or take the certificate from IIS to FortiMail you will need to create this file first. 

To move a certificate from Windows IIS 7.0 – 8.5  with its private key and transfer it to FortiMail, perform the following steps.

Step 1:  Create an MMC Snap-in for Managing Certificates:

  1. Start > run > MMC.
    mmc
  2. Go into the Console Tab > File > Add/Remove Snap-in.
    mmc
  3. Click on Add > Click on Certificates and click on Add.
    mmc
  4. Choose Computer Account > Next.
    mmc export
  5. Choose Local Computer > Finish.
    mmc export
  6. Close the Add Standalone Snap-in window.
  7. Click on OK at the Add/Remove Snap-in window.

Step 2: Export/Backup certificate to .pfx file:

  1. In MMC Double click on Certificates (Local Computer) in the center window.
  2. Double click on the Personal folder, and then on Certificates.
  3. Right Click on the Certificate you would like to backup and choose > ALL TASKS > Export
  4. Follow the Certificate Export Wizard to backup your certificate to a .pfx file.mmc export
  5. Choose to ‘Yes, export the private key
    mmc export
  6. Choose to “Include all certificates in certificate path if possible.” (do NOT select the delete Private Key option)
    mmc export
  7. Enter a password you will remember.
  8. Choose to save file on a set location.
  9. Click Finish.
    mmc export
  10. You will receive a message > “The export was successful.” > Click OK. The .pfx file backup is now saved in the location you selected and is ready to be moved to your FortiMail system.You have successfully performed an Export a certificate from Windows IIS 7.0 – 8.5.

Step 3: Importing .PFX/PKCS#12 certificate into FortiMail:
After you move your ..pfx file to your FortiMail system, perform the following.

  1. Move your .pfx file to your FortiMail system.
  2. Got to System > Certificate > Local Certificate.
  3. Under Type drop down select PKCS12 certificate.
  4. Click Browse. Specify the file name and path of your backed up .pfx file.
  5. Under Password enter the password you used back when you created your back up .pfx file
  6. Click OK.
    FortiMail

You have imported your backed up .pfx file into FortiGate.

Step 4: Configuring your FortiGate VPN to use the new SSL certificate:

  1. Browse to VPN > SSL > Settings.
  2. In the Connection Settings section under the Server Certificate drop down select your new SSL certificate.
  3. Click ApplyYou have configured the ForitMail to use the backed up SSL certificate.

If you are unable to use these instructions for your server, Acmetek recommends that you contact either the vendor of your software or the organization that supports it.

FortiGate Support:

For more information refer to FortiGate.

Recent Posts

S/MIME for Outlook O365 Windows

Add to Favorites S/MIME Advantages of S/MIME Certificates S/MIME (Secure/Multipurpose Internet Mail Extensions) certificates offer several advantages when it comes to securing email communications. Here

Read More »

Abbreviations

Add to Favorites There are literally thousands of IT abbreviations out there. Many are concerned with the technical aspects of the computer, while others deal

Read More »

SSL Installation on Qmail

Add to Favorites SSL Installation on Qmail Qmail is a secure, reliable, efficient, simple message transfer agent. It is designed for typical Internet-connected UNIX hosts.

Read More »