I use let’s encrypt on a virtualmin server and successfully set up a lot of domains with certificates.
suddenly updating a certificate fails with this message on multiple servers:
Requesting a certificate for domain.com, www.domain.com from Let's Encrypt ..
.. request failed : Expected certificate file /etc/letsencrypt/keys/cert.pem was not found
is this a file which should exist on the server?
this is ubuntu 14.04.5 letsencypt-auto is on 0.9.0
There are no certificates in the /keys/ subdirectory… Could you post the relevant renewal configuration file from /etc/letsencrypt/renewal? It probably has a bad reference to the certificate in one of its options…
This is actually a virtualmin/webmin related error, and it’s due to the Regex in webmin, and change in output from certbot. check out https://github.com/webmin/webmin/pull/437 for a simple solution