Let's Encrypt installation error

`Waiting for verification…
Resetting dropped connection: acme-v01.api.letsencrypt.org
Cleaning up challenges
Failed authorization procedure. shopysport.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://shopysport.com/.well-known/acme-challenge/rJZSxCkV_ygzVKlPZaTo8C4ZeBSq4hBHI2JDOSZ0hiw: "

404 Not Found

Not Found

<p"

IMPORTANT NOTES:

Can you show the exact command you ran that resulted in this output?

The command would start with certbot or certbot-auto or letsencrypt-auto or something like that. I can’t see it on that screenshot - you may need to scroll up more in your terminal.

The problem is that your website doesn’t appear to be served from your nominated webroot (/var/www/html/shopys).

Could you create an empty file file: /var/www/html/shopys/.well-known/acme-challenge/test.txt and then verify that you can access is in the web browser as http://shopysport.com/.well-known/acme-challenge/test.txt ?

That is basically what is required in order for Certbot succeed to issue a certificate - Certbot will put a file in that directory and then Let’s Encrypt tries to fetch it via direct URL. In your case, it is failing.

emacs .well-known/acme-challenge/test.txt
04

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.