A Let’s Encrypt certificate installation fails with one of the following error messages:
—
Error: Could not issue a Let’s Encrypt SSL/TLS certificate for example.com.
…
Details:
Type: urn:ietf:params:acme:error:orderNotReady
Status: 403
Detail: Order’s status (“pending”) is not acceptable for finalization
Error: Could not issue a Let’s Encrypt SSL/TLS certificate for example.com.
Details
Invalid response from https://acme-v02.api.letsencrypt.org/acme/order/63114/905220132.
Details:
Type: urn:ietf:params:acme:error:malformed
Status: 404
Cause:
Previously, there was an attempt to install a Let’s Encrypt certificate on the same domain, but it failed.The Let’s Encrypt extension tries to finalize an order without actually having fulfilled the required authorizations.
Resolution:
1. Connect to the Plesk server via RDP
2. Start a command prompt as Administrator
3. Search for the JSON file which contains the Let’s Encrypt order in the %plesk_dir%var\modules\letsencrypt\orders folder:
findstr /M example.com “%plesk_dir%var\modules\letsencrypt\orders\*”
C:\Program Files (x86)\Plesk\var\modules\letsencrypt\orders\1eda6b4e824a9ddcf4d0gffh6b3b9600b76344b6.json
4. Remove the JSON file retrieved with the previous command:
del “%plesk_dir%var\modules\letsencrypt\orders\1eda6b4e824a9ddcf4d0f43bhjklk3b9600b76344b6.json”
5. Reissue the Let’s Encrypt certificate