nginx_config/GenDHparam.sh

5 lines
128 B
Bash
Raw Normal View History

2021-01-22 23:11:50 +00:00
#!/bin/bash
mkdir -p /etc/ssl/certs/
2021-01-22 23:42:48 +00:00
[ -f /etc/ssl/certs/dhparam.pem ] || openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096