From 39093c4a14cdcc8059614f6fbdd973c8a9098e9a Mon Sep 17 00:00:00 2001 From: David Kerkeslager Date: Thu, 29 Sep 2016 17:52:22 -0400 Subject: [PATCH] Generate stronger Diffie-Hellman parameters --- autoserver/autocert.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoserver/autocert.sh b/autoserver/autocert.sh index 3e6747c..d4bf747 100644 --- a/autoserver/autocert.sh +++ b/autoserver/autocert.sh @@ -8,5 +8,8 @@ sudo apt-get -y install certbot -t jessie-backports # Generate cert sudo certbot certonly --webroot -w /var/www/site -d kerkeslager.com -d www.kerkeslager.com +# Generate stronger Diffie-Hellman parameters +sudo openssl dhparam -out /etc/letsencrypt/live/kerkeslager.com/dhparam.pem 4096 + # Restart nginx sudo service nginx restart -- 2.20.1