Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 446 Bytes

generate-dhparam-file-faster.md

File metadata and controls

12 lines (8 loc) · 446 Bytes
  • Date : 2017-09-07
  • Tags : #sysadmin

Generate dhparam file faster

openssl uses strong prime (which is useless for security but requires an awful lot more computational effort. A "strong prime" is a prime p such that (p-1)/2 is also prime). So it will be faster if we add option -dsaparam to the command

$ openssl dhparam -dsaparam -out /etc/ssl/private/dhparam.pem 4096

Ref : https://security.stackexchange.com/a/95184