Bonjour,
A cause des soucis récurrents avec des certificats auto-signé, je me suis décidé pour passer à letsencrypt.
apt install certbot python3-certbot-dns-ovh
certbot certonly --dns-ovh --dns-ovh-credentials /etc/certbot/ovh.ini --non-interactive --agree-tos --email no-reply@home.xyz -d my.home.xyz
/etc/apache2/sites-available/my.home.xyz.conf
A l’heure actuelle, j’ai bien mon certificat et c’est configuré coté apache
Je me pose maintenant la question sur le renouvellement des certificats
J’ai vu pas mal de choses mais je m’interroge sur le timer installé par le paquet
cat /etc/systemd/system/timers.target.wants/certbot.timer
[Unit]
Description=Run certbot twice daily
[Timer]
OnCalendar=*-*-* 00,12:00:00
RandomizedDelaySec=43200
Persistent=true
[Install]
WantedBy=timers.target
/lib/systemd/system/certbot.service
cat /lib/systemd/system/certbot.service
[Unit]
Description=Certbot
Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html
Documentation=https://letsencrypt.readthedocs.io/en/latest/
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot -q renew
PrivateTmp=true
Coté apache, est-ce que j’ai besoin de faire quelque chose ?
De ce que j’ai vu un reload d’apache semble nécessaire ?