How to implement 2048 bit DKIM keys on CWP servers.

Started by Vinayak, March 09, 2023, 04:59:12 PM

Previous topic - Next topic

Starburst

Quote from: cyberspace on March 04, 2025, 12:45:41 PM
opendkim-genkey is a perl script. You can open the file /usr/sbin/opendkim-genkey using the text editor like vi, ee, etc and change the value of "bits":

my $bits = 1024;

to

my $bits = 2048;

right under "Set up defaults".

It will generate 2048bits keys by default.

Please note you do such changed on your own risk.

Starburst

Or I just do it manually.

You can user the DKIM Generator at:
https://dmarcly.com/tools/dkim-record-generator

And then update the files at /etc/opendkim/userkeys/

cyberspace

QuoteOr I just do it manually.

As another user wrote the question is:

Quoteit's about "How to implement 2048 bit DKIM keys on CWP servers".

2048 bit DKIM is the new standard today, developers of CWP and we the users must move toward implementing 2048 bit DKIM out of the box by default.

;)