Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

max DKIM 1024/2048 or max

Discussion in 'E-mail Discussion' started by morteza3245, May 4, 2014.

  1. morteza3245

    morteza3245 Well-Known Member

    Joined:
    Sep 16, 2013
    Messages:
    137
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello
    how i can generate new dkim with 1024 or 2048 length ??

    also how we can generate "DomainKey-Signature" ?

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    28
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    You can do this through cPanel -> Email Authentication, or run:

    Code:
    /usr/local/cpanel/bin/dkim_keys_install $user
    
    This will generate a 1024-bit key. Taken from /usr/local/cpanel/Cpanel/DKIM.pm:

    Code:
        my $openssl    = Cpanel::OpenSSL->new();
    
        my $keysize_min = 1024;
    
        #Using >1,024-bit encryption necessitates non-trivial changes to DNS
        #because TXT character-strings longer than 255 characters may trick up
        #some DNS parsers.
        #
        #For the time being, DKIM will still generate 1,024-bit keys.
        local $Cpanel::OpenSSL::DEFAULT_KEY_SIZE = $keysize_min;
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice