I am generating Diffie-Hellman parameters for the ssl_dhparam
directive in the SSL configuration of nginx.
The file dhparam.pem
is created with the command openssl dhparam 2048 -check -out dhparam.pem
.
Which permissions should I set to this file? Is it safe to share in a git repository or should I keep it private?