nginx_config/GenDHparam.sh

6 lines
158 B
Bash
Raw Normal View History

2021-01-22 23:11:50 +00:00
#!/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