projects
/
sandbox
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38da3d3
)
Generate stronger Diffie-Hellman parameters
author
David Kerkeslager
<kerkeslager@gmail.com>
Thu, 29 Sep 2016 21:52:22 +0000
(17:52 -0400)
committer
David Kerkeslager
<kerkeslager@gmail.com>
Thu, 29 Sep 2016 21:52:22 +0000
(17:52 -0400)
autoserver/autocert.sh
patch
|
blob
|
history
diff --git
a/autoserver/autocert.sh
b/autoserver/autocert.sh
index
3e6747c
..
d4bf747
100644
(file)
--- 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