Skip to main content
danialbayesteh
New Member
July 28, 2020
Question

DKIM Private Key

  • July 28, 2020
  • 2 replies
  • 2348 views

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
    March 12, 2024

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

    hirozawa
    New Member
    February 7, 2025

    (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.