My domain is: code-capture.com
It is being hosted on Azure VM, flask web app using Gunicorn over port 80
I ran this command:
sudo certbot certonly --webroot
codecapture@CodeCaptureVM:~$ sudo certbot certonly --webroot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel): code-capture.com
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for code-capture.com
Input the webroot for code-capture.com: (Enter 'c' to cancel): /home/codecapture/hoc-site/api
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. code-capture.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://code-capture.com/.well-known/acme-challenge/3bTzwa7ey_SDfkJZvwqRseC2w1SWCUKSVil8j7c_GNA [22.214.171.124]: "\n\n\n\n CodeCaptur"
The following errors were reported by the server:
Detail: Invalid response from
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): Flask, Gunicorn, React
The operating system my web server runs on is (include version): Azure VM(Ubuntu)
My hosting provider, if applicable, is: My App is hosted on Azure VM Linux instance, but the domain is registered using Azure Domain Services.