Generate Diffie-Hellman parameters

This commit is contained in:
Cedric Dufour 2015-09-04 10:10:32 +02:00
parent ac445388d9
commit 4c2d0d2d8e

View File

@ -19,3 +19,6 @@ openssl x509 -text -noout -in server.crt
echo | openssl s_client -connect <hostname>:443 2> /dev/null | \
awk '/-----BEGIN/,/END CERTIFICATE-----/' | \
openssl x509 -noout -enddate
# Generate Diffie-Hellman parameters:
openssl dhparamm -outform PEM -out dhparams.pem 2048