Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
web:securing [2020/06/05 12:08]
agcyphers [Optional Materials]
web:securing [2020/06/05 12:09] (current)
agcyphers [Renewals]
Line 50: Line 50:
 Or you can automate it with a ''cron'' job, which is the recommended method. It's simple enough to find instructions for ''cron'' automation, so we'll just cover the commands that your job needs to execute: Or you can automate it with a ''cron'' job, which is the recommended method. It's simple enough to find instructions for ''cron'' automation, so we'll just cover the commands that your job needs to execute:
  
-<code>systemctl stop <APPSERVICENAME></code+<code>systemctl stop <APPSERVICENAME> 
-<code>certbot renew</code> +certbot renew 
-<code>cat /etc/letsencrypt/live/<APPDOMAIN>/fullchain.pem /etc/letsencrypt/live/<APPDOMAIN>/privkey.pem > /<PATHTOAPP>/<APPNAME>.crt</code> +cat /etc/letsencrypt/live/<APPDOMAIN>/fullchain.pem /etc/letsencrypt/live/<APPDOMAIN>/privkey.pem > /<PATHTOAPP>/<APPNAME>.crt 
-<code>systemctl start <APPSERVICENAME></code>+systemctl start <APPSERVICENAME></code>