DOKK / manpages / debian 12 / courier-base / mkdhparams.8.en
MKDHPARAMS(8) Double Precision, Inc. MKDHPARAMS(8)

mkdhparams - Create new DH parameters for the Courier Mail Server

/usr/sbin/mkdhparams

This script is intended to be executed from a cron job, monthly. If the file /etc/courier/dhparams.pem is older than 25 days, the script creates a new file. This file contains pregenerated DH parameters for the Courier Mail Server.

The DH_BITS environment variable, if set controls the length of the generated DH parameters. It gets passed, verbatim, to either the dhparam OpenSSL command, or the --sec-param option to GnuTLS's certtool. The default value is 768 for OpenSSL, and “high” for GnuTLS.

Sam Varshavchik

Author
10/28/2020 Courier Mail Server