My domain is: veritebranded.com
I ran this command: sudo certbot --apache -d veritebranded.com -d www.veritebranded.com
It produced this output: sudo certbot --apache -d veritebranded.com -d www.veritebranded.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for veritebranded.com
http-01 challenge for www.veritebranded.com
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. www.veritebranded.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://veritebranded.com/.well-known/acme-challenge/07BLTMRFoqFaopZKknAbe2YZK3HX96lkMER841Cq8h8 [Server-IP]: "<!doctype html><html class="ltr" lang="en"> var BASE_URL = 'http\u003A\u002F\u002Fveritebranded.com\u002F'; var", veritebranded.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://veritebranded.com/.well-known/acme-challenge/9KMA6ven9_L6zwsVoWEh6-_cNkh4jSBaCIYi8E0fit0 [Server-IP]: "<!doctype html><html class="ltr" lang="en"> var BASE_URL = 'http\u003A\u002F\u002Fveritebranded.com\u002F'; var"
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.veritebranded.com
var BASE_URL = 'http\\u003A\\u002F\\u002Fveritebranded.com\\u002F'; var"
Type: unauthorized
Detail: Invalid response from
http://veritebranded.com/.well-known/acme-challenge/07BLTMRFoqFaopZKknAbe2YZK3HX96lkMER841Cq8h8
[Server-IP]: "<!doctype html><html class="ltr" lang="en">Domain: veritebranded.com
var BASE_URL = 'http\\u003A\\u002F\\u002Fveritebranded.com\\u002F'; var"
Type: unauthorized
Detail: Invalid response from
http://veritebranded.com/.well-known/acme-challenge/9KMA6ven9_L6zwsVoWEh6-_cNkh4jSBaCIYi8E0fit0
[Server-IP]: "<!doctype html><html class="ltr" lang="en">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): Apache2
The operating system my web server runs on is (include version): Ubuntu 18.04 LTS
My hosting provider, if applicable, is: godaddy
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 did same thing for my stg subdomain and everything worked fine but I don't under stand what the issue here.