mirror of
https://github.com/cheat/cheat.git
synced 2024-11-14 08:01:09 +01:00
Generate Diffie-Hellman parameters
This commit is contained in:
parent
ac445388d9
commit
4c2d0d2d8e
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue