404 verifying acme challenge

My domain is: elricfd.com

I ran this command: .acme.sh/acme.sh --issue -d elricfd.com -w /home/elrixpfa/elricfd.com/ --force --debug --server letsencrypt --log

It produced this output:
[Sat Apr 15 01:36:32 EDT 2023] elricfd.com:Verify error:162.0.232.55: Invalid response from https://elricfd.com/.well-known/acme-challenge/ROYxb5OIZ7fN6SqiLRC5U44DMZoTvea7LSVslWj6cPU: 404
[Sat Apr 15 01:36:32 EDT 2023] Debug: get token url.
[Sat Apr 15 01:36:32 EDT 2023] GET
[Sat Apr 15 01:36:32 EDT 2023] url='http://elricfd.com/.well-known/acme-challenge/ROYxb5OIZ7fN6SqiLRC5U44DMZoTvea7LSVslWj6cPU'
[Sat Apr 15 01:36:32 EDT 2023] timeout=1
[Sat Apr 15 01:36:32 EDT 2023] _CURL='curl --silent --dump-header /home/elrixpfa/.acme.sh/http.header -L -g --connect-timeout 1'
[Sat Apr 15 01:36:32 EDT 2023] Please refer to libcurl - Error Codes for error code: 60
[Sat Apr 15 01:36:32 EDT 2023] ret='60'
[Sat Apr 15 01:36:32 EDT 2023] Debugging, skip removing: /home/elrixpfa/elricfd.com//.well-known/acme-challenge/ROYxb5OIZ7fN6SqiLRC5U44DMZoTvea7LSVslWj6cPU
[Sat Apr 15 01:36:32 EDT 2023] pid
[Sat Apr 15 01:36:32 EDT 2023] No need to restore nginx, skip.
[Sat Apr 15 01:36:32 EDT 2023] _clearupdns
[Sat Apr 15 01:36:32 EDT 2023] dns_entries
[Sat Apr 15 01:36:32 EDT 2023] skip dns.
[Sat Apr 15 01:36:32 EDT 2023] _on_issue_err
[Sat Apr 15 01:36:32 EDT 2023] Please check log file for more details: /home/elrixpfa/.acme.sh/acme.sh.log
[Sat Apr 15 01:36:32 EDT 2023] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/219562365567/5sB1VA'
[Sat Apr 15 01:36:32 EDT 2023] payload='{}'
[Sat Apr 15 01:36:32 EDT 2023] POST
[Sat Apr 15 01:36:32 EDT 2023] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/219562365567/5sB1VA'
[Sat Apr 15 01:36:32 EDT 2023] _CURL='curl --silent --dump-header /home/elrixpfa/.acme.sh/http.header -L -g '
[Sat Apr 15 01:36:33 EDT 2023] _ret='0'
[Sat Apr 15 01:36:33 EDT 2023] code='400'
[Sat Apr 15 01:36:33 EDT 2023] socat doesn't exist.
[Sat Apr 15 01:36:33 EDT 2023] Diagnosis versions:
openssl:openssl
OpenSSL 1.0.1e-fips 11 Feb 2013
apache:
apache doesn't exist.
nginx:
nginx doesn't exist.
socat:

My web server is (include version): cPanel version 102.20 (build 32); PHP Ver 7.2.34, Apache 2.4.56

The operating system my web server runs on is (include version): CloudLinux

My hosting provider, if applicable, is: Namecheap Shared Hosting

I can login to a root shell on my machine (yes or no, or I don't know): No

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): CPanel

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): v3.0.6

Hi @elric, and welcome to the LE community forum :slight_smile:

Why are you using the --force?

Please show:
.acme.sh/acme.sh --list

3 Likes

I believe your server is LiteSpeed and not

$ curl -Ii http://elricfd.com/.well-known/acme-challenge/sometestfile
HTTP/1.1 301 Moved Permanently
keep-alive: timeout=5, max=100
date: Sat, 15 Apr 2023 19:45:16 GMT
server: LiteSpeed
location: https://elricfd.com/.well-known/acme-challenge/sometestfile
x-turbo-charged-by: LiteSpeed
$ curl -k -Ii https://elricfd.com/.well-known/acme-challenge/sometestfile
HTTP/2 404
date: Sat, 15 Apr 2023 19:45:19 GMT
server: LiteSpeed
x-turbo-charged-by: LiteSpeed
3 Likes

Also the presently being served Certificate "Doesn't match Common Name or/and SANs"

Common Name:     *.web-hosting.com
                 DNS:*.web-hosting.com
SANs:            DNS:web-hosting.com 
                 Total number of SANs: 2

https://decoder.link/sslchecker/elricfd.com/443

1 Like

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