Invalid response from

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. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain

I ran this command: certbot --apache

It produced this output: Detail: Invalid response from 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 and the HTTP-01 and DNS-01 tests pass OK, but the TLS-ALPN-01 failed with the following information:


Challenge update failures for in order

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


The IANA public suffix is the TLD of the Registered Domain
The TLD for is: uk


Debug: The current status for Let's Encrypt

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

You have had this issue 2 years ago too:


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!!


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