my certificate has been expired and I tried renewing it, but that doesn’t work for me.
Using Ubuntu and Apache2.
sudo letsencrypt renew
The output was:
[...] The following certs were successfully renewed: /etc/letsencrypt/live/mydomain.com/fullchain.pem (success) [...] new certificate deployed with reload of apache server; fullchain is /etc/letsencrypt/live/mydomain.com/fullchain.pem [...]
The I restartet my apache using:
sudo service apache2 restart
But I still get an error and the old certificate, which has expired 2 days ago. “The certificate expired on February the 15th 2017…” (sec_error_expired_certificate).
I double checked the pathes to the pem-files in the config files (/etc/letsencrypt/renewel/mydomain.com.conf and apaches/sites-enabled/mydomain.conf). The pathes are correct.
If I use
sudo ls -l
in the live-directory alle the pem-files have the correct date (February 17th).
Setting up a new certificate still works. Just renewing does not work.
Any suggestions that might fix the problem?