IP-1824: PHP error if invalid SSL cert found in table

  • Reporter fulltilt (fulltilt) fulltilt (fulltilt)
    Created Feb 27, 2019 2:23:23 PM
    Updated Feb 27, 2019 2:23:23 PM
    Priority Critical
    Type Bug
    State Submitted
    Assignee Laurent Declercq (nuxwin)
    Subsystem No subsystem, LetsEncrypt plugin, Backend, PhpSwitcher plugin, Plugin
    Affected versions 1.5.3
    Milestone 1.5.4
    Severity Don't know

    sometimes a letsencrypt ssl cert is not removed from the ssl-certs database table, in that case when imscp request-mng started to run apache shows a 503 error because the php.conf of the domain, sub or alias domain was removed due to the ssl cert error was found. I guess this happens only if the PHPswitcher module is installed. Sometimes a PHP version from switcher shows a 503 for all the associated domains and sometimes also for the default PHP version. If I delete the ssl-certs entry (status toadd or error) the request-mng can be started from the controlpanel debug section and the errors are all fixed. But it could be that a PHP version runs w7 503 errors for many hours ...
    This could be caused by a ssl-cert validation check which breaks additional PHP version or apache.

    Source: https://youtrack.i-mscp.net/issue/IP-1824