Make certbot Let’s Encrypt certificates readable by Debian ssl-cert group

published on
On Debian, there’s a group named ssl-cert which grants access to TLS certificates and private keys, so that services that don’t run as the root user can still use TLS certificates. For example, the PostgreSQL Debian package installs PostgreSQL to run as a user named postgres, which is a member of the ssl-cert group, and so it can use certificates and private keys in /etc/ssl. The certbot Let’s Encrypt client, by default, makes the certificates and private keys it installs only readable by the root user. Read More...