Trouble with invalid acme challenge response

I’m having trouble getting a valid acme challenge response, whether for single or multiple domains.
This example in particular is for multiple domains.

If it makes a difference, I have a wordpress site currently set up on this domain (hosted on this server) and I have auto-redirect to https set up in the htaccess file.
I did this with another wordpress site no problem, and I’m pretty sure the htaccess folder was the same as it is now, so I don’t think that’s the problem.

I’m using Acme.sh via SSH

I ran this command:
acme.sh --issue --webroot ~/public_html/ -d lennar.deckandbasement.com -d mihomes.deckandbasement.com -d deckandbasement.com --force

It produced this output:

[Wed Mar 6 08:34:37 MST 2019] Multi domain=‘DNS:lennar.deckandbasement.com,DNS:mihomes.deckandbasement.com,DNS:deckandbasement.com’
[Wed Mar 6 08:34:37 MST 2019] Getting domain auth token for each domain
[Wed Mar 6 08:34:37 MST 2019] Getting webroot for domain=‘lennar.deckandbasement.com
[Wed Mar 6 08:34:37 MST 2019] Getting new-authz for domain=‘lennar.deckandbasement.com
[Wed Mar 6 08:34:37 MST 2019] The new-authz request is ok.
[Wed Mar 6 08:34:37 MST 2019] Getting webroot for domain=‘mihomes.deckandbasement.com
[Wed Mar 6 08:34:38 MST 2019] Getting new-authz for domain=‘mihomes.deckandbasement.com
[Wed Mar 6 08:34:38 MST 2019] The new-authz request is ok.
[Wed Mar 6 08:34:38 MST 2019] Getting webroot for domain=‘deckandbasement.com
[Wed Mar 6 08:34:38 MST 2019] Getting new-authz for domain=‘deckandbasement.com
[Wed Mar 6 08:34:39 MST 2019] The new-authz request is ok.
[Wed Mar 6 08:34:39 MST 2019] Verifying: lennar.deckandbasement.com
[Wed Mar 6 08:34:42 MST 2019] lennar.deckandbasement.com:Verify error:Invalid response from http://lennar.deckandbasement.com/.well-known/acme-challenge/ysyQ5k2WdeI7e7IVuRjMwFCsxxhk5c-A4gDs5dVbuhM :
[Wed Mar 6 08:34:42 MST 2019] Please check log file for more details: /home/dbc2014/.acme.sh/acme.sh.log

server: Linux/Apache 2.4.35

My domain is: http://lennar.deckandbasement.com/
**My web server is (include version):**Apache Version 2.4.35

The operating system my web server runs on is (include version): Linux 2.6.32-954.3.5.lve1.4.58.el6.x86_64

My hosting provider is: godaddy.com

YES I can login to a root shell on my machine

YES, I’m using a control panel to manage my site
Name and version of the control panel: cPanel Version 70.0 (build 51)

The version of my client is acme.sh v2.8.1

You have told acme.sh that those three websites are all served from the same directory (~/public_html/).

This probably isn’t the case - they most likely exist in their own dedicated directories, right?

The correct approach would look more like:

acme.sh --issue \
-d lennar.deckandbasement.com -w ~/public_html/path/to/first/site \
-d mihomes.deckandbasement.com -w ~/public_html/path/to/second/site \
-d deckandbasement.com -w ~/public_html/path/to/third/site

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.