• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Error when installing only 2 domains except with another ones

selcukedirne

New Pleskian
There is an error when i try to install certificate

"

Challenge marked as invalid. Details: Invalid response from http://xxx.com/.well-known/acme-challenge/0L-8xSFgtFhx6zxDNK_4HemmjD9-bslWI0Ly6Hm47JA: "<HTML>
<HEAD>
<TITLE>404 Not Found</TITLE>
<BASE href="/error_docs/"><!--[if lte IE 6]></BASE><![endif]-->
</HEAD>
<BODY>
<H1>No"

"

by the way in security advisor gives me another error

"

[2017-06-14 09:59:29] ERR [extension/letsencrypt] Execution of /usr/local/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://xxx.com/.well-known/acme-challenge/otTcWMTnNs_hIzFkkh2u0KMXrN4iBa0V-aku2v6ZlQk: "<HTML>
<HEAD>
<TITLE>404 Not Found</TITLE>
<BASE href="/error_docs/"><!--[if lte IE 6]></BASE><![endif]-->
</HEAD>
<BODY>
<H1>No"
Execution of /usr/local/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://xxx.com/.well-known/acme-challenge/otTcWMTnNs_hIzFkkh2u0KMXrN4iBa0V-aku2v6ZlQk: "<HTML>
<HEAD>
<TITLE>404 Not Found</TITLE>
<BASE href="/error_docs/"><!--[if lte IE 6]></BASE><![endif]-->
</HEAD>
<BODY>
<H1>No"

exit status 1

"

i tried to reinstall script only 2 domains insists not to install except another ones can

what can i do now?
 
Last edited:
Hi selcukedirne,

i tried what you suggest in page but no way, same error another help?
Well, I'm sorry, but you didn't change your http to https redirect:
Code:
Status: HTTP/1.1 301 Moved Permanently
Server:    nginx   
Date:    Wed, 14 Jun 2017 14:44:01 GMT   
Content-Type:    text/html   
Content-Length:    178   
Connection:    close   
Location:    https://muhasebec.in/

Explanation what happens here:

You setup your domain to redirect all http - requests to https and the Let's Encrypt validation uses http-validation, as you can see in your logs:
Challenge marked as invalid. Details: Invalid response from http://muhasebec...
The Let's Encrypt validation process is not able to follow your redirect to https and the result is:
&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;


Pls. go back to the linked KB - article, that @IgorG suggested ( => [HUB] Unable to install Let's Encrypt certificate: Challenge marked as invalid ) and pls. read and follow the suggestions... especially the ones:

  • Make sure that the website is accessible by HTTP. Disable HTTPs redirect in Plesk > Domains > example.com > Hosting Settings.
  • (Windows)Make sure that the option Require SSL is turned off in IIS > Server > Sites > example.com > SSL Settings.
  • If the server contains custom rewrite rules, disable them by renaming .htaccess file or web.config.
  • Remove custom rewrite rules from Plesk > Domains > example.com > Apache & nginx settings.
  • Temporary move/rename website's index page if it contains special redirect code.
  • Restore default Plesk templates if there were changes.
 
Now i will share my experience during this process by the way it is done and solved many thanks for assistance of plesk helpdesk team.

I tried many things to create new certificate (letsencrypt) but it couln't then realize that (thanks Sergey) there are many useless AAAA records in DNS settings and deleted them. Now it is working fine and stable.
 
Back
Top