My domain is: rss.simontoth.cz (works for normal domains and www subdomain on the same server)
I ran this command: certbot
It produced this output:
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: rss.simontoth.cz
Type: unauthorized
Detail: Invalid response from
http://rss.simontoth.cz/.well-known/acme-challenge/tYBQgRrCYrzs0eLE3vjPuuepqLf7gF4mU3434Z8o95M
[46.36.39.148]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version): apache2
The operating system my web server runs on is (include version): Ubuntu 17.10
I can login to a root shell on my machine (yes or no, or I don’t know): yes
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): 0.21.1
The access rights are correct for www-data to write into the directory, I can see plain files in the directory if I access them through the URL, example http://rss.simontoth.cz/.well-known/acme-challenge/test