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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
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):
The operating system my web server runs on is (include version):
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):
Please assist, i convinced my company we don’t need to buy certificates and now i am struggling!
lol
the site is currently with go daddy cert, not sure if i need to remove it first?
I’m not sure… it depend on the server & hosting configs.
If you are on shared hosting w/ cPanel, you would need to config those manually.
If you are on VPS or dedicated hosting, you might need to remove those by yourself, since certbot could took care of it, but it might messed up your config.
certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Which names would you like to activate HTTPS for?
1: hotspot.wifinow.co.za
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel):
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for hotspot.wifinow.co.za
Enabled Apache rewrite module
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. hotspot.wifinow.co.za (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://hotspot.wifinow.co.za/.well-known/acme-challenge/kXIvlRTPf3JArX83iq34WEKuoBahjXFgAwq5MUUbOHQ: "
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.
The issue is that, for whatever reason, your web server is failing to serve the challenge file from ./well-known/acme-challenge. Can you place a test text file here and verify that you can successfully retrieve it?
I believe the best path forward would be to try manually specifying your webroot directory to Certbot, as it appears to not be placing the challenge files in the right place. Try this:
certbot -a webroot -i apache -w /path/to/webroot -d hotspot.wifinow.co.za
Note that /path/to/webroot in this case is the root of your web directory, not.well-known/acme-challenge itself. So, by default, /var/www/html or something like it.