Add dhparam gen script

This commit is contained in:
6543 2021-01-23 00:11:50 +01:00
parent 9c13cc42d4
commit 50526e5ae1
Signed by: 6543
GPG Key ID: C99B82E40B027BAE

5
GenDHparam.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash

mkdir -p /etc/ssl/certs/
[ -f /etc/ssl/certs/dhparam.pem ] && rm /etc/ssl/certs/dhparam.pem
openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096