Invalid response from http://zak.paulx2.uk/.well-known/acme-challenge

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:zak.paulx2.uk

I ran this command: certbot --apache

It produced this output: Detail: 81.174.147.112: Invalid response from http://zak.paulx2.uk/.well-known/acme-challenge/mHIxnOWK5B5tqtuLCqOxWsmwqxWXeS0GnIA9fgbNNhk: 404

My web server is (include version):Apache/2.4.52 (Ubuntu)
The operating system my web server runs on is (include version):Linuxmint 21.2

My hosting provider, if applicable, is: Self hosted

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

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

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

Note: I have run the tests on https://letsdebug.net/ and the HTTP-01 and DNS-01 tests pass OK, but the TLS-ALPN-01 failed with the following information:
LetsEncryptStaging

Debug

Challenge update failures for zak.paulx2.uk in order https://acme-staging-v02.api.letsencrypt.org/acme/order/5751349/9889159414

acme: error code 400 "urn:ietf:params:acme:error:connection": 81.174.147.112: Error getting validation data

PublicSuffix

Debug:
The IANA public suffix is the TLD of the Registered Domain
The TLD for zak.paulx2.uk is: uk

StatusIO

Debug: The current status.io status for Let's Encrypt
Operational

I have previously used Certbot without error, using the same domain, but on earlier versions of the OS.

The 404 Not Found with --apache is usually caused by something unusual in the Apache config. Can you show result of this:

sudo apache2ctl -t -D DUMP_VHOSTS
5 Likes

You have had this issue 2 years ago too:

5 Likes

Embarrassingly, it seems I have contacted you with this error before! I looked at the solution for that problem and applied it to this situation and everything is now fine. I have successfully obtained certificates for my installation. Thanks and sorry to disturb!!

3 Likes

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