Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MKDHPARAMS(8)			 S. Varshavchik.		   MKDHPARAMS(8)

NAME
     mkdhparams - create DH parameter file

SYNOPSIS
     /usr/local/sbin/mkdhparams

DESCRIPTION
     This   script  creates  new  DH  parameters  and  saves  them  in	/usr/lo-
     cal/share/courier-imap/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
     /usr/local/share/courier-imap/dhparams.pem
	 DH Parameter file.

ENVIRONMENT VARIABLES
     DH_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 2048. GnuTLS uses a security  level	setting,
	 rather  than  the  number  of	bits,  and the default security level is
	 "high".

	 Note

	 It make take several minutes to generate new DH parameters with the de-
	 fault strength.

SEE ALSO
     courier(8)[1]

AUTHOR
     Sam Varshavchik
	 Author

NOTES
      1. courier(8)
	 https://www.courier-mta.org/courier.html

Courier Mail Server		   05/03/2026			   MKDHPARAMS(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mkdhparams&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help