Mastodon/Admin: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Certs == | |||
We use [[certbot]] for our SSL certificates! The certificates need to be renewed every 3 months, there should be a <code>cron</code> task that attempts to renew them twice per day: | |||
(in <code>/etc/crontab</code>) | |||
<pre> | |||
0 0,12 * * * root sleep 559 && certbot renew --nginx -q | |||
</pre> | |||
generated according to the [https://eff-certbot.readthedocs.io/en/stable/using.html#automated-renewals certbot docs], adding the nginx flag for our particular config. | |||
Otherwise, from an account that has sudo/root, just run | |||
<pre> | |||
sudo certbot renew --nginx | |||
</pre> | |||
== Shutdown == | == Shutdown == | ||
Revision as of 17:36, 26 February 2023
Certs
We use certbot for our SSL certificates! The certificates need to be renewed every 3 months, there should be a cron
task that attempts to renew them twice per day:
(in /etc/crontab
)
0 0,12 * * * root sleep 559 && certbot renew --nginx -q
generated according to the certbot docs, adding the nginx flag for our particular config.
Otherwise, from an account that has sudo/root, just run
sudo certbot renew --nginx
Shutdown
Tech WG/Ops Diary#22-12-16 Upgrading Linode Ram Following the instructions to