Using LetsEncrypt Certbot on openSuSE 15.0

February 2019

Problem description:

Certbot is unable to renew (certbot renew) installed LetsEncrypt certificates.

Background Information:

Creating and installing certificates worked fine.

openSuSE version: 15.0
certbot version: 0.30.2

Error Message:

certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No certs found.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
or:
certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No renewals were attempted.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Solution used:

a) Use –config-dir /etc/certbot option every time when running Certbot
b) Creating /etc/letsencrypt directory as expected by Certbot:

sudo mv /etc/letsencrypt /etc/letsencrypt.empty
sudo mv /etc/certbot /etc/letsencrypt
sudo ln -s /etc/letsencrypt /etc/certbot

Links: