404 from .well-known/challenge

Hi Rudy,

If you had a chance to see…

I ran certbot certonly --dry-run

and got sad response.

after few minutes I ran the same command again and now it is better, but still:

certonly --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log

How would you like to authenticate with the ACME CA?


1: Apache Web Server plugin - Beta (apache)
2: Spin up a temporary webserver (standalone)
3: Place files in webroot directory (webroot)


Select the appropriate number [1-3] then [enter] (press ‘c’ to cancel): 1
Plugins selected: Authenticator apache, Installer None
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Please enter in your domain name(s) (comma and/or space separated) (Enter ‘c’
to cancel): stored2ship.com www.stored2ship.com
Cert not due for renewal, but simulating renewal for dry run
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for stored2ship.com
http-01 challenge for www.stored2ship.com
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. stored2ship.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://stored2ship.com/.well-known/acme-challenge/4Z0c_atgmV1vF0QrRbscjhBj16gdC37oYwW0HxWLyKE: “\n\n404 Not Found\n\n

Not Found

\n<p”, www.stored2ship.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.stored2ship.com/.well-known/acme-challenge/-rA0FS2-lLUlKtDgJrBS339aRWof1To7m80SQ1K4JkI: “\n\n404 Not Found\n\n

Not Found

\n<p”

IMPORTANT NOTES:

meaning --apache option (plugin) is still a bit buggy?

Yes, and....
What about option #3 ? ? ?

[more than one way to skin a cat]
[also I won't blame the plugin before verifying the config first]
[apache is notoriously lenient and sometimes all too forgiving - it tries to run at any cost]

2 Likes

that make sense, Rudy. :slight_smile:

whatever works. :slight_smile:

Thank you.

1 Like

Exactly:

Couldn't have said it better!

2 Likes

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