agroportal / project-management

Repository used to consolidate documentation about the AgroPortal project and track content related issues.
http://agroportal.lirmm.fr
7 stars 0 forks source link

Add a cron to renew our HTTPS certificats #447

Open syphax-bouazzouni opened 7 months ago

syphax-bouazzouni commented 7 months ago

Context

Our servers are using HTTPS, but are not automatically renewed, so every 6 months we need to renew it.

By adding this command our cron jobs as root, in our servers. It will be done automatically.

0 8 * * * certbot renew --deploy-hook "sudo systemctl restart httpd" >> /logs/certbot-cron.log 2>&1

TODO