The client lacks sufficient authorization


command run: certbot --apache

from list generated I selected 2.

system error response: Failed authorization procedure. (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from “\n\n404 Not Found\n\n

Not Found





It’s hard to give any useful advice with a redacted domain. There’s a variety of possible causes, many of which are invisible without being able to test the site in question.

One place you can start is to check that your domain is not featured in more than a single port 80 VirtualHost:

apachectl -t -D DUMP_VHOSTS

You can also run your site through tools like and to pick up any webserver misconfigurations that can affect Let’s Encrypt.