chintagentweb@wordpresspro-1-vm:~$ ./certbot-auto certonly --webroot -w /var/www/html/ -d makerb2c.com -d www.maker b2c.com
Requesting to rerun ./certbot-auto with root privileges…
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 makerb2c.com
http-01 challenge for www.makerb2c.com
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification…
Challenge failed for domain www.makerb2c.com
Challenge failed for domain makerb2c.com
http-01 challenge for www.makerb2c.com
http-01 challenge for makerb2c.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
This may not be the correct webroot location.
To test, you can create the following: mkdir /var/www/html/.well-known mkdir /var/www/html/.well-known/acme-challenge echo 'testing' > /var/www/html/.well-known/acme-challenge/1234
which should create a "test" file that should be accessible at: https://www.makerb2c.com/.well-known/acme-challenge/1234
But again done
chintagentweb@wordpresspro-1-vm:~ cd /tmp/certbot
chintagentweb@wordpresspro-1-vm:/tmp/certbot ./certbot-auto certonly --webroot -w /opt/bitnami/apps/wordpress/htdo
cs -d makerb2c.com -d www.makerb2c.com
Requesting to rerun ./certbot-auto with root privileges…
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 makerb2c.com
http-01 challenge for www.makerb2c.com
Using the webroot path /opt/bitnami/apps/wordpress/htdocs for all unmatched domains.
Waiting for verification…
Challenge failed for domain makerb2c.com
Challenge failed for domain www.makerb2c.com
http-01 challenge for makerb2c.com
http-01 challenge for www.makerb2c.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES: - The following errors were reported by the server: Domain: makerb2c.com Type: unauthorized Detail: Invalid response from https://www.makerb2c.com/.well-known/acme-challenge/FRZhu-aVG5NvhLWtGs3Tnbuyv05CGhXpxCfOrZAwRIo [35.193.159.119]: “<html>\r\n<head><title>403 Forbidden</title></head>\r\n<body bgcolor=“white”>\r\n<center><h1>403 Forbidden</h1></center>\r\n<hr><center>” Domain: www.makerb2c.com Type: unauthorized Detail: Invalid response from https://www.makerb2c.com/.well-known/acme-challenge/vCLMHyPYXovTobHLq67ByimxuiKQc81zm-fdMJQZzDs [35.193.159.119]: “<html>\r\n<head><title>403 Forbidden</title></head>\r\n<body bgcolor=“white”>\r\n<center><h1>403 Forbidden</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.
To perform administrative tasks on a Unix system, you usually need to prefix them with sudo; this causes them to run as root (the system administrator account).
So for example, you can run sudo mkdir /var/www/html/.well-known instead of mkdir /var/www/html/.well-known to perform this task as root.