• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue plesk 17.5.3 letsencrypt-hostname has failed with exit code 1

PeterKi

Regular Pleskian
My plesk panel shows a security advice:
If I try to update I get the following error:
Error: Execution letsencrypt-hostname.sh has failed with exit code 1, stdout: , stderr: [2017-05-20 09:16:16] ERR [extension/letsencrypt] Execution of /opt/psa/admin/plib/modules/letsencrypt/scripts/cli.php failed with exit code 1 and the output:
Challenge marked as invalid. Details: Invalid response from http://hxxxxxxxx.stratoserver.net/....e/T6RaEDC45YHj5RepeRw23utTx7JtNNvP-0Vl213-G8c: "<HTML>
<HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD>
<BODY>
<H1>Not Found</H1>

The requested document was not found on this server"
Execution of /opt/psa/admin/plib/modules/letsencrypt/scripts/cli.php failed with exit code 1 and the output:
Challenge marked as invalid. Details: Invalid response from http://hxxxxxxxx.stratoserver.net/....e/T6RaEDC45YHj5RepeRw23utTx7JtNNvP-0Vl213-G8c: "<HTML>
<HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD>
<BODY>
<H1>Not Found</H1>
The requested document was not found on this server"

exit status 1


I ran the following command from a solved post which showed two Lets Encrypt certificates for my domains and another line with a NULL name:
plesk db "select c.id, c.name, r.rep_id, d.name from certificates c left join Repository r on (c.id = r.component_id) left join domains d on (r.rep_id = d.cert_rep_id) where r.rep_id not in (select val from misc where param = 'cert_rep_id') or r.rep_id is null"
+----+--------------------------+--------+-------------+
| id | name | rep_id | name |
+----+--------------------------+--------+-------------+
| 9 | Lets Encrypt xxxxxxxxxxx | 3 | xxxxxxxx.de |
| 8 | Lets Encrypt xxxxxxxxxxx | 2 | xxxxxxxx.de |
| 2 | Backup sign certificate | NULL | NULL |
+----+--------------------------+--------+-------------+
 
Back
Top