Hi everyone have seen some similar questions but have tried what in tohers have read and still doesn’t work.
That’s what I write and what I get back:
`pipo@pipo-X542UV:~$ sudo certbot --nginx -d teeth.com -d www.teeth.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for teeth.com
http-01 challenge for www.teeth.com
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. www.teeth.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.teeth.com/.well-known/acme-challenge/C30yEZ1rNLGiRwj2iBmYjJ6wfsEsPlyogQbJy22Bi2c: "
404 Not Found
", teeth.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://teeth.com/.well-known/acme-challenge/1qtSGQdUt-FPUodKRxSyRwH-rdySL0LmyRnnramnGM8: " 404 Not Found
404 Not Found
"
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.teeth.com
404 Not Found
Type: unauthorized
Detail: Invalid response from
http://www.teeth.com/.well-known/acme-challenge/C30yEZ1rNLGiRwj2iBmYjJ6wfsEsPlyogQbJy22Bi2c:
"404 Not Found
"`
I’ve created a folder in var/www/teeth/
and tried to create the folders .well-known
and inside acme-challenge
but I get a notice that they are all ready created even if it looks empty.
Any suggestions of what I should do?