From: David Kerkeslager Date: Thu, 29 Sep 2016 21:52:22 +0000 (-0400) Subject: Generate stronger Diffie-Hellman parameters X-Git-Url: https://code.kerkeslager.com/?a=commitdiff_plain;h=39093c4a14cdcc8059614f6fbdd973c8a9098e9a;p=sandbox Generate stronger Diffie-Hellman parameters --- 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