Debian 9 latest
I-MSCP 1.5.3
LEtsencrypt 3.4.2
Letsencrpyt does not renew my certificates.
less /var/log/imscp/letsencrypt-plugin-renew.pl.log says:
Any hints?
Debian 9 latest
I-MSCP 1.5.3
LEtsencrypt 3.4.2
Letsencrpyt does not renew my certificates.
less /var/log/imscp/letsencrypt-plugin-renew.pl.log says:
Any hints?
Please edit the /var/www/imscp/gui/plugins/LetsEncrypt/cron/renew.pl file and replace line 69:
by
Once done, run: perl /var/www/imscp/gui/plugins/LetsEncrypt/cron/renew.pl -dv manually. This should renew the SSL certificates that are due for renewal according the renewal policy.
In my case, the fix doesn't work, but I have to admit, that I'm (due to lack of time) still on version 1.5.1.
[ERROR] called with 1 bind variables when 3 are needed at /var/www/imscp/gui/plugins/LetsEncrypt/cron/../../../../engine/PerlLib/iMSCP/Database/mysql.pm line 232, <$fh> line 406.
: Couldn't process Let's Encrypt renewal tasks: %s
Sorry, made a mistake. Works for me!
Nuxwin
The error described above is gone. Ok. But i am not shure my certs are updating automaticly becouse i get emails from expiry@letsencrypt.org with expiration warnings like
Hello, Your certificate (or certificates) for the names listed below will expire in 9 days (on 12 Jul 18 05:30 +0000). Please make sure to renew your certificate before then, or visitors to your website will encounter errors. ass-fitandwell.ch chiros.ch copyfix.ch coray-schreinerei.ch deutschschweizerrally.ch lub.ch maennerchor-kuettigen.ch monica-luescher.ch oracover.ch petsch.li speedmodels.ch speedmodels.com temoanatours.ch thundertiger.ch http://www.copyfix.ch http://www.coray-schreinerei.ch http://www.deutschschweizerrally.ch http://www.lub.ch http://www.maennerchor-kuettigen.ch http://www.monica-luescher.ch http://www.speedmodels.ch http://www.temoanatours.ch
And also in admin Panel they are not updated.
certs are updated. I am not shure they would be automaticaly updated today evening couse the update date stand on 2.7.2018. Maybee i had to wait one more day. Sorry.
If your SSL certificates were updated while running that command manually, that means that they would have been updated while the next renew.pl cron task run.
The cron task is run on daily basis. The problem with the Let's Encrypt notification service is that it make an assumption on the SSL certificates renewal policy. Please read https://letsencrypt.org/docs/expiration-emails/
Also it seem that their notification service don't take into consideration SSL certificates that were shrinked or extended. For instance, if you add a subject alternative name to an SSL certificate through the Let's Encrypt plugin UI, this will result to the issuance of a new SSL certificate (SSL certificates are immutable). However, you'll still receive notifications for the old SSL certificate even through a notification for that old SSL certificate become irrelevant due to the new SSL certificate issuance that you made while adding subject alternative name. That point look really strange to me and thus, I'll try to obtain a better explaination from the Let's Encrypt team about this assertion because for me, such case should be handled as a SSL certificate renewal from the notification service point of view.
Regarding the default policy for SSL certificate renewals, it is set in the plugin configuration file. Default value is set to 10 days (in seconds). You can change that value by editing the plugin configuration file and by triggering a plugin list update through the plugin management interface.
Maybe it'd be a better idea to revoke certificates before shrinking them as well, to prevent these expiration emails for certificates that are no longer in use? Not all edge cases need to be worked out, but I think that these are things that are happening more often.