Hey everyone,
I have ran an install of certbot for my domains domain.net and www.domain.net
this worked wonderfully and I was able to secure the website.
I have a blog that I would like to secure. On the server, it is setup with ghost in a separate folder and I am running a proxy pass on:2000. Now I have tried to run the installer again to cover the blog.domain.net and www.blog.domain.net and I am getting an error ‘Failed Authorization Procedure’.
I have tried placing:
location ~ /.well-known {
allow all;
}
within the sites-available/domain.net.conf file, as well as the con.f/domain.net/conf file and still whenever I run certbot it is outputting:
Failed authorization procedure. blog.repcleaner.net (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://blog.domain.net/.well-known/acme-challenge/FVQmSHuCmeiOObPDOCiD2OFP8Ivvst5n2ZwIZoeXGU8: "<html>
404 Not Found
404 Not Found
"
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: blog.domain.net
404 Not Found
Type: unauthorized
Detail: Invalid response from
http://blog.domain.net/.well-known/acme-challenge/FVQmSHuCmeiOObPDOCiD2OFP8Ivvst5n2ZwIZoeXGU8:
"404 Not Found
"To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
Note* i replaced my actual website domain with ‘domain’ in the above example