From 4c2d0d2d8e81e5680c5668a5bc460912452d6b20 Mon Sep 17 00:00:00 2001 From: Cedric Dufour Date: Fri, 4 Sep 2015 10:10:32 +0200 Subject: [PATCH] Generate Diffie-Hellman parameters --- cheat/cheatsheets/openssl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheat/cheatsheets/openssl b/cheat/cheatsheets/openssl index 74a2511..46b14ed 100644 --- a/cheat/cheatsheets/openssl +++ b/cheat/cheatsheets/openssl @@ -19,3 +19,6 @@ openssl x509 -text -noout -in server.crt echo | openssl s_client -connect :443 2> /dev/null | \ awk '/-----BEGIN/,/END CERTIFICATE-----/' | \ openssl x509 -noout -enddate + +# Generate Diffie-Hellman parameters: +openssl dhparamm -outform PEM -out dhparams.pem 2048