SYNOPSIS

/usr/sbin/mkdhparams

DESCRIPTION

This script creates new DH parameters and saves them in /etc/courier/dhparams.pem. If this file already exists and it's less than 25 days old, the script returns immediately. If this file is over 25 days old, new DH parameters get generated and the file gets replaced.

This script is intended to be execute when the system boots, or from a monthly cron job.

FILES

/etc/courier/dhparams.pem

DH Parameter file.

ENVIRONMENT VARIABLES

BITS

Customize the DH parameter bit size. The default value depends on whether this script uses OpenSSL or GnuTLS libraries. For OpenSSL the default number of bits is 768. GnuTLS uses a security level setting, rather than the number of bits, and the default security level is "high".

RELATED TO mkdhparams…

\m[blue]courier(8)\m[]\s-2\u[1]\d\s+2

AUTHOR

Sam Varshavchik

Author

NOTES

1.

courier(8)

[set $man.base.url.for.relative.links]/courier.html