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:- Let's Encrypt 3.1.1 27 September 2022
Resolution
Please consider updating your server:
Workaround
If update is not possible for some reason you may try the following
workaround
As a workaround:
- Connect to the server via SSH
-
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}
-
Replace it with the file attached to this article
- Try issuing the certificate once again to see the actual error message