Hi Gyus!
I’ve been banging my head against the keyboard for the last week but couldn’t figure it out, I know I’m close and I really apprecieate your feedback, thanks in advance!
My domain is: synnect.co
I ran this command:
sudo certbot certonly --webroot -w /var/lib/letsencrypt/ -d synnect.co -d www.synnect.co --dry-run
It produced this output:
http-01 challenge for synnect.co
Using the webroot path /var/lib/letsencrypt for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. synnect.co (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://synnect.co/.well-known/acme-challenge/6wSy3hna3UMR9x0EgTD-b8m5dqvyOosEDhUQotz4zFU [35.192.127.223]: “\n \n \n \n \n \n <html lang=“en-US” data-website-id=“1” data-oe-company-name”, www.synnect.co (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.synnect.co/.well-known/acme-challenge/pQkT_J2npFq2BQI7TYe4h9pVnYCsjDswQ4LUX9r68Qw [35.192.127.223]: “\n \n \n \n \n \n <html lang=“en-US” data-website-id=“1” data-oe-company-name”
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 + Odoo
The operating system my web server runs on is (include version):
Google VM Debian Stretch
My hosting provider, if applicable, is:
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
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.31.0
I can succesffuly access a test file on https://synnect.co/.well-known/acme-challenge/test1.txt, but it only works on HTTPS, I beileve the HTTP request sent by the ACME server is getting routed to the Odoo server and not working, I tried to configure Nginx to look for the file in all sorts of different ways but couldn’t make it work.
Thans for the response, I edited to help the readibility.
Would you care to elaborate on the signatures? How do I fix that?
I plan to have all HTTP traffic “converted” to HTTPS and routed according to the subdomains that exist. Is that a good idea? Could the ACME challenge be completed this way?
Sorry for the rookie questions, I’m still learning my ways around servers
The different signatures could be a sign that they are being handled by different systems/services.
ACME challenges will follow simple HTTP to HTTPS redirection.
But I’m not sure you are in control of the HTTP - or at least not in the way you think.