In the documentation we provide an example to use SSL certificates provisioned by Let's Encrypt. These SSL certificate expire every 3 months. The certbot automation renews the SSL certificate. We need to add automation to restart the UWSGI service after the certbot has renewed the certificate.
We can utilise the renewal-hooks feature of the certbot for triggering restart of UWSGI service
The automation should be only placed if certbot is installed. Check if /etc/letsencrypt/renewal-hooks/post directory is present on the server and the openwisp2_wireguard_ssl_cert variable contains path to /etc/letsencrypt/live/{{ ansible_fqdn }}/fullchain.pem
In the documentation we provide an example to use SSL certificates provisioned by Let's Encrypt. These SSL certificate expire every 3 months. The
certbot
automation renews the SSL certificate. We need to add automation to restart the UWSGI service after the certbot has renewed the certificate.renewal-hooks
feature of the certbot for triggering restart of UWSGI service/etc/letsencrypt/renewal-hooks/post
directory is present on the server and theopenwisp2_wireguard_ssl_cert
variable contains path to/etc/letsencrypt/live/{{ ansible_fqdn }}/fullchain.pem