Problems with Let's Encrypt Plugin

  • After enableing Let's Encrypt for a Domain, the Domain Status shows "invalid SSL-Certificate".
    Opening the Website in HTTP mode gives now error 503. HTTPS shows the backend login form.
    Under section Let's Encrypt, status is "OK".
    rebooting the server didn't fixed it.
    i-MSCP version is: i-MSCP 1.3.7 Build: 20161021
    Clicking on "disable" on the Let's Encrypt section, revokes the certificate. Status is now "Unknown error" and activation button is gone.

  • When logged in as Admin, go to Tools -> Debugger and check errors you see here. You can also force there to run all this stuff again.

  • @cmcologne


    First please, provide us the following informations:

    • i-MSCP version in use
    • LetsEncrypt plugin version in use

    Once done, do the following

    • Edit the /etc/imscp/imscp.conf file and set the DEBUG parameter value to 1
    • Connect to the control panel as admin and go to the debugger interface
    • Rerun the task that failed
    • Post the content of the /var/log/imscp/Modules::Plugin_LetsEncrypt.log) file here

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hi,


    Plugin Version is: 1.1.2
    in the directory is not such a pem file. There are other certificates, from an other ca.



    I can not try to get a new cert, because the button is gone.

    Files

    • lefail.PNG

      (16.77 kB, downloaded 9 times, last: )
  • @cmcologne


    Such problem shouldn't occurs. Here, the certificate cannot be revoked because it is missing... Well, connect to PMA and in the letsencrypt table of the i-MSCP database, remove the related entry manually.


    Note: I'll add a check to prevent such error in next version.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • How can i access the imscp databasy by pma? I can only access customers databases via pma.

  • @cmcologne


    You must connect to pma with the i-MSCP master SQL password. If you forgot the password, look in the /etc/mysql/conf.d/imscp.cnf file. You'll find the username and password.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Thank you! I got the password, deleted the the rows. After that, the certificates where installed correct. The clock on the server was 12 Hours in the past. Maybe this was the problem.
    Is it normal, that a certificate cannot be issued for a subdomain?

  • IDN subdomain ?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206