mirror of https://github.com/cheat/cheat.git
Generate Diffie-Hellman parameters
This commit is contained in:
parent
ac445388d9
commit
4c2d0d2d8e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue