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. crt.sh | 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:
api.ipventures.in
I ran this command:
certbot certonly --webroot -d api.ipventures.in -d www.api.ipventures.in --email tech@ipventures.in -w /var/www/_letsencrypt -n --agree-tos --force-renewal
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 api.ipventures.in
http-01 challenge for www.api.ipventures.in
Using the webroot path /var/www/_letsencrypt for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. api.ipventures.in (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://api.ipventures.in/.well-known/acme-challenge/TFO_Gz-X70bHo9z9kumerp_cAXX2HKU_TyjavZQ67aw [3.7.85.151]: "\r\n404 Not Found\r\n<body bgcolor="white">\r\n404 Not Found
\r\n
", www.api.ipventures.in (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.api.ipventures.in/.well-known/acme-challenge/03n8hff8TuAeMTnOKoZ2G2OJwZXzR5kAEBQLl4Nsiu8 [3.7.85.151]: "\r\n404 Not Found\r\n<body bgcolor="white">\r\n404 Not Found
\r\n
"IMPORTANT NOTES: - The following errors were reported by the server: Domain: api.ipventures.in Type: unauthorized Detail: Invalid response from http://api.ipventures.in/.well-known/acme-challenge/TFO_Gz-X70bHo9z9kumerp_cAXX2HKU_TyjavZQ67aw [3.7.85.151]: "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>" Domain: www.api.ipventures.in Type: unauthorized Detail: Invalid response from http://www.api.ipventures.in/.well-known/acme-challenge/03n8hff8TuAeMTnOKoZ2G2OJwZXzR5kAEBQLl4Nsiu8 [3.7.85.151]: "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>" 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 18.04 LTS
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