Plesk

Unable to install certificate in Plesk: Passed ‘exception’ value must be an Throwable object

Symptoms

Unable to install certificate in Plesk:

Passed 'exception' value must be an Throwable object

Cause

Product issue:

  • #EXTLETSENC-1171 "The extension now shows correct error messages if the Let’s Encrypt service returns some errors."

    Fixed in:

Resolution

Please consider updating your server:

Workaround

If update is not possible for some reason you may try the following

workaround

As a workaround:

  1. Connect to the server via SSH
  2. Create a backup of this file:

    # cp /opt/psa/admin/plib/modules/letsencrypt/library/Acme/ResponseAnalyzer.php{,.backup}

    It may also be located here:

    # cp /usr/local/psa/admin/plib/modules/letsencrypt/library/Acme/ResponseAnalyzer.php{,.backup}

  3. Replace it with the file attached to this article

  4. Try issuing the certificate once again to see the actual error message