Skip to main content
danialbayesteh
New Member
Jul 28, 2020 7:32 PM UTC
Question

DKIM Private Key

Hi Dears,

 We have two standalone Fortimail, configured in gateway mode. so there is no configuration sync between them.

DKIM key generated on first one, and I want to export and import it on second one, to be synched and sign emails properly.

I think it should be managed in the CLI, but I can't find the way.

Thanks in advance

    2 replies

    Aeldsoky
    Visitor III
    Mar 12, 2024 2:09 PM UTC

    i have the same problem 
    anyone have a solution for this ?

    Translate
    hirozawa
    New Member
    Feb 7, 2025 1:45 AM UTC

    (I use Google Translate. Sorry if there are any strange expressions.)

     

    Are you asking about exporting the private and public keys from one FortiMail and importing them into the other, so that you can use the same DKIM keys on two standalone FortiMails?

     

    FortiMail backup files contain the "execute" command for DKIM key generation.

    ------------------------------------------------------------------

    execute create dkim-signing-key

    ------------------------------------------------------------------

    By running this command on one of the FortiMails, you can import the DKIM key.
    If you want to use the same DKIM key with a different domain name, you can do so by changing the domain name part.

     

    However, since the "execute create" command is a hidden command, Fortinet may not like you using it.

     

     

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024