Certbot

The Certbot package obtains and renews Let’s Encrypt certificates via DNS-01 challenge, including wildcard certificates, without opening any port. The certificate is added to the NAS Certificate Manager.

Note

The DNS zone of the domain must be administered through the DNS provider’s API. OVH is currently the only supported provider.

Installation

Settings

  • Domains: the domains to certify, for example *.example.com.

  • Provider: the DNS provider.

  • Extra arguments: appended to the certbot command line.

  • Download certificate: the certificate files, as a zip file.

  • Apply saves the settings and renews the certificate if it is due. Nothing is done when no setting was changed.

  • Force Renewal requests a new certificate, even when the current one is not due.

Certificate Manager

The certificate is added to the Certificate Manager as certbot. It is used by the NAS once set as the default certificate. Its name can be changed.

Screenshot of the Certificate Manager

When the certbot certificate is deleted from the Certificate Manager, a new certificate is requested at the next renewal.

Renewal

A renewal is attempted when the package starts, and every 8 hours. The certificate is renewed when it is due; Let’s Encrypt certificates are valid about 6 days.

When set as the default certificate, the NAS administration interface, Web Center, and the packages known for using the certificate, such as Pi-hole, are restarted after each renewal.