Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: www.odysseytours.nz
I ran this command: sudo certbot certonly --webroot --agree-tos --email email@example.com -d mail.odysseytours.nz -w /var/www/odysseytours.nz
It produced this output:Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mail.odysseytours.nz
Using the webroot path /var/www/odysseytours.nz for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. mail.odysseytours.nz (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mail.odysseytours.nz/.well-known/acme-challenge/Nv9ephmu_U_5AlJwsBg0hrG-B6jA-5x3-60djho_NIE: "
404 Not Found
The following errors were reported by the server:
Domain: mail.odysseytours.nz404 Not Found
Detail: Invalid response from
404 Not Found
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): nginx version: nginx/1.14.0 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu server 18-04
My hosting provider, if applicable, is: N/A
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):no