nginx_config/GenDHparam.sh
2021-01-23 00:11:50 +01:00

6 lines
158 B
Bash
Executable File

#!/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