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.
My domain is:
watch.swagbucks.com
I ran this command:
certbot --debug-challenges -v
It produced this output:
…
Domain: watch.swagbucks.com
Type: unauthorized
Detail: Invalid response from http://watch.swagbucks.com/.well-known/acme-challenge/sbssSkw4idOEyKzlb8lQ0-HXdEL6y9LS5oJ-SIVDS0I: “<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.
Encountered exception:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 82, in handle_authorizations
self._respond(aauthzrs, resp, best_effort)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 161, in _respond
self._poll_challenges(aauthzrs, chall_update, best_effort)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 232, in _poll_challenges
raise errors.FailedChallenges(all_failed_achalls)
certbot.errors.FailedChallenges: Failed authorization procedure. watch.swagbucks.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://watch.swagbucks.com/.well-known/acme-challenge/sbssSkw4idOEyKzlb8lQ0-HXdEL6y9LS5oJ-SIVDS0I: “<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>”
Calling registered functions
Cleaning up challenges
Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/certbot”, line 11, in <module>
load_entry_point(‘certbot==0.28.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1340, in main
return config.func(config, plugins)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1094, in run
certname, lineage)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 121, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 392, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 335, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 371, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 82, in handle_authorizations
self._respond(aauthzrs, resp, best_effort)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 161, in _respond
self._poll_challenges(aauthzrs, chall_update, best_effort)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 232, in _poll_challenges
raise errors.FailedChallenges(all_failed_achalls)
certbot.errors.FailedChallenges: Failed authorization procedure. watch.swagbucks.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://watch.swagbucks.com/.well-known/acme-challenge/sbssSkw4idOEyKzlb8lQ0-HXdEL6y9LS5oJ-SIVDS0I: “<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>”
Failed authorization procedure. watch.swagbucks.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://watch.swagbucks.com/.well-known/acme-challenge/sbssSkw4idOEyKzlb8lQ0-HXdEL6y9LS5oJ-SIVDS0I: “<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>”
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: watch.swagbucks.com
Type: unauthorized
Detail: Invalid response from
http://watch.swagbucks.com/.well-known/acme-challenge/sbssSkw4idOEyKzlb8lQ0-HXdEL6y9LS5oJ-SIVDS0I:
"<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):
The operating system my web server runs on is (include version):
Ubuntu 16.04, nginx
My hosting provider, if applicable, is:
Rackspace
I can login to a root shell on my machine (yes or no, or I don’t know):
yes, ran as root
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):
0.28.0
Additional Info
I created a file called 123456789 and if you navigate there, you can hit it:
http://watch.swagbucks.com/.well-known/acme-challenages/12345689
The nginx error file says:
2019/01/29 17:19:08 [error] 110957#110957: *445801790 open() “/srv/www/watch.swagbucks.com/.well-known/acme-challenge/sbssSkw4idOEyKzlb8lQ0-HXdEL6y9LS5oJ-SIVDS0I:” failed (2: No such file or directory), client: 64.71.168.194, server: watch.swagbucks.com, request: “HEAD /.well-known/acme-challenge/sbssSkw4idOEyKzlb8lQ0-HXdEL6y9LS5oJ-SIVDS0I: HTTP/1.1”, host: “watch.swagbucks.com”