-
-
Save matiullah31/28d8c9eba9f7cbad8bc2b565c2ebeab2 to your computer and use it in GitHub Desktop.
Revisions
-
HarshadRanganathan revised this gist
May 12, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,6 @@ https://www.ssllabs.com/ssltest/analyze.html?d=app.com # Configure cron job for SSL auto-renewal sudo crontab -e # Add below lines in crontab to check for certificate renewals periodically PATH = /home/ec2-user/:/usr/local/sbin:/usr/local/bin:/bin:/usr/sbin:/usr/bin 0 6 * * * certbot-auto renew --text >> /home/ec2-user/certbot-cron.log -
HarshadRanganathan revised this gist
May 12, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,6 @@ https://www.ssllabs.com/ssltest/analyze.html?d=app.com # Configure cron job for SSL auto-renewal sudo crontab -e # Add below line in crontab to check for certificate renewals periodically PATH = /home/ec2-user/:/usr/local/sbin:/usr/local/bin:/bin:/usr/sbin:/usr/bin 0 6 * * * certbot-auto renew --text >> /home/ec2-user/certbot-cron.log -
HarshadRanganathan revised this gist
May 12, 2020 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,4 +15,5 @@ https://www.ssllabs.com/ssltest/analyze.html?d=app.com sudo crontab -e # Add below line in crontab PATH = /home/ec2-user/:/usr/local/sbin:/usr/local/bin:/bin:/usr/sbin:/usr/bin 0 6 * * * certbot-auto renew --text >> /home/ec2-user/certbot-cron.log -
HarshadRanganathan revised this gist
Nov 4, 2018 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ # Install wget yum install wget -y # Install certbot-auto wget https://dl.eff.org/certbot-auto chmod a+x certbot-auto -
HarshadRanganathan revised this gist
Jun 14, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,4 @@ https://www.ssllabs.com/ssltest/analyze.html?d=app.com sudo crontab -e # Add below line in crontab 0 6 * * * /home/ec2-user/certbot-auto renew --text >> /home/ec2-user/certbot-cron.log -
HarshadRanganathan created this gist
Feb 19, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # Install certbot-auto wget https://dl.eff.org/certbot-auto chmod a+x certbot-auto # Obtain SSL certificate with Nginx plugin for the domain sudo ./certbot-auto --nginx -d app.com --debug # Test SSL configuration https://www.ssllabs.com/ssltest/analyze.html?d=app.com # Configure cron job for SSL auto-renewal sudo crontab -e # Add below line in crontab 0 6 * * * /home/ec2-user/certbot-auto renew --text >> /home/ec2-user/certbot-auto/certbot-cron.log