Unauthorized Error well-known/acme-challenge

Hi @marrrrrrco,

You should follow the updated one.

Could you please explain that?.

Are you sure your document root for dolceblu.com and www.dolceblu.com is /var/www/html/?.

Let's test it.

Create the needed dirs:

mkdir -p /var/www/html/.well-known/acme-challenge/

Put a test file there:

echo -n "Test file for dolceblu" > /var/www/html/.well-known/acme-challenge/test

Now try to reach that test file using your web browser:

or from command line using curl:

curl -ikL http://dolceblu.com/.well-known/acme-challenge/test
curl -ikL http://www.dolceblu.com/.well-known/acme-challenge/test

If you can't see the test file then something is not configured properly or your document root is no /var/www/html and you should not try to issue a certificate till this is resolved.

Cheers,
sahsanu

4 Likes