I am trying to get certificates for my domain production-eu-00.babyphoneduo.de.
I am using standalone mode on a minimal Ubuntu 16.04 TLS. There is no webserver installed (and I don’t want to install one, this should be a minimal server only, I need the certs for securing an MQTT daemon).
DNS A record has been correctly configured.
Port 80 is reachable from the internet (tested with SimpleHTTPServer)
Command line:
sudo certbot certonly --standalone --preferred-challenges http
Output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel): production-eu-00.babyphoneduo.de
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for production-eu-00.babyphoneduo.de
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. production-eu-00.babyphoneduo.de (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://production-eu-00.babyphoneduo.de/.well-known/acme-challenge/MOC7EpQGNHuA5cagLcCeLimdIKkNGNShBi09OwZQ1Bo: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: production-eu-00.babyphoneduo.de
Type: unauthorized
Detail: Invalid response from
http://production-eu-00.babyphoneduo.de/.well-known/acme-challenge/MOC7EpQGNHuA5cagLcCeLimdIKkNGNShBi09OwZQ1Bo:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<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.
Any idea?
Thx,
Roeland.

