Hi,
I use i-MSCP 1.3.14 with LetsEncrypt plugin v 3.0.0 on Debian Jessie.
Some of my domains do not renew the certificates properly. I've two domains where the status field sais:
Code
- Saving debug log to /var/log/letsencrypt/letsencrypt.logStarting new HTTPS connection (1): acme-v01.api.letsencrypt.orgRenewing an existing certificateAn unexpected error occurred:The server experienced an internal error :: Failed to get registration by keyPlease see the logfiles in /var/log/letsencrypt for more details.
The status seems to be like this for several weeks now, as I received warning emails from letsencrypt that the certificates will expire soon.
I've also upgraded to the newest plugin version, but the problem persists.
I've several other domains on this server where everything seems to work just fine.
When I run the letsencrypt cronjobs manually, nothing happens with the stuck domains:
Code
- # /usr/bin/perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/pending.pl -d -n[Sun Apr 2 08:34:41 2017] [debug] iMSCP::Bootstrapper::boot: Booting backend....[Sun Apr 2 08:34:41 2017] [debug] iMSCP::Bootstrapper::lock: Acquire exclusive lock on /tmp/imscp.lock[Sun Apr 2 08:34:41 2017] [debug] iMSCP::Config::_init: Tying /etc/imscp/imscp.conf file in readonly mode[Sun Apr 2 08:34:41 2017] [debug] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_apache2_dualstack.pl listener file[Sun Apr 2 08:34:41 2017] [debug] iMSCP::Service::__ANON__: Systemd init system has been detected[Sun Apr 2 08:34:41 2017] [debug] iMSCP::Execute::execute: /bin/systemctl --system is-active apache2.service[Sun Apr 2 08:34:41 2017] [debug] iMSCP::Provider::Service::Sysvinit::_exec: active[Sun Apr 2 08:34:41 2017] [debug] iMSCP::Execute::execute: /bin/systemctl --system is-active mysql.service[Sun Apr 2 08:34:41 2017] [debug] iMSCP::Provider::Service::Sysvinit::_exec: active[Sun Apr 2 08:34:41 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Plugin tasks...[Sun Apr 2 08:34:41 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Plugin (enabled) tasks for: LetsEncrypt (ID 1)[Sun Apr 2 08:34:41 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Plugin (enabled) tasks for: OpenDKIM (ID 2)[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::NetworkInterfaces tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::NetworkInterfaces[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::SSLcertificate tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::SSLcertificate[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::User tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::User[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Domain tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Domain[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Subdomain tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Subdomain[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Alias tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Alias[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::SubAlias tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::SubAlias[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::CustomDNS tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::CustomDNS[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::CustomDNS tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::CustomDNS[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::FtpUser tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::FtpUser[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Mail tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Mail[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Htpasswd tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Htpasswd[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Htgroup tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Htgroup[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Htaccess tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Htaccess[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::SubAlias tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::SubAlias[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Alias tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Alias[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Subdomain tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Subdomain[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::Domain tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Domain[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: Processing Modules::User tasks...[Sun Apr 2 08:34:42 2017] [debug] iMSCP::DbTasksProcessor::_process: No task to process for Modules::User[Sun Apr 2 08:34:42 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp.lock
Code
- # /usr/bin/perl /var/www/imscp/gui/plugins/LetsEncrypt/cronjobs/renew.pl -v -d
- [DEBUG] iMSCP::Bootstrapper::boot: Booting backend....
- [DEBUG] iMSCP::Bootstrapper::lock: Acquire exclusive lock on /tmp/imscp.lock
- [DEBUG] iMSCP::Config::_init: Tying /etc/imscp/imscp.conf file in readonly mode
- [DEBUG] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_apache2_dualstack.pl listener file
- [DEBUG] iMSCP::Service::__ANON__: Systemd init system has been detected
- [DEBUG] iMSCP::Execute::execute: /bin/systemctl --system is-active apache2.service
- [DEBUG] iMSCP::Provider::Service::Sysvinit::_exec: active
- [DEBUG] iMSCP::Execute::execute: /bin/systemctl --system is-active mysql.service
- [DEBUG] iMSCP::Provider::Service::Sysvinit::_exec: active
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Plugin tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Plugin (enabled) tasks for: LetsEncrypt (ID 1)
- [DEBUG] Modules::Plugin::_call: Calling run() method on Plugin::LetsEncrypt
- [DEBUG] iMSCP::Execute::execute: /bin/systemctl --system is-active apache2.service
- [DEBUG] iMSCP::Provider::Service::Sysvinit::_exec: active
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Plugin (enabled) tasks for: OpenDKIM (ID 2)
- [DEBUG] Modules::Plugin::_call: Calling run() method on Plugin::OpenDKIM
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::NetworkInterfaces tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::NetworkInterfaces
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::SSLcertificate tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::SSLcertificate
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::User tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::User
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Domain tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Domain
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Subdomain tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Subdomain
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Alias tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Alias
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::SubAlias tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::SubAlias
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::CustomDNS tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::CustomDNS
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::CustomDNS tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::CustomDNS
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::FtpUser tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::FtpUser
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Mail tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Mail
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Htpasswd tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Htpasswd
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Htgroup tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Htgroup
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Htaccess tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Htaccess
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::SubAlias tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::SubAlias
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Alias tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Alias
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Subdomain tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Subdomain
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::Domain tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::Domain
- [DEBUG] iMSCP::DbTasksProcessor::_process: Processing Modules::User tasks...
- [DEBUG] iMSCP::DbTasksProcessor::_process: No task to process for Modules::User
- [DEBUG] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp.lock
How can I force the renewal of the certificates?
Thanks!
Luke