Hi - I am running Ubuntu 16.04 and attempting to set up SSL with certbot. I got everything installed with no problem and successfully got a certificate doing
certbot --apache --staging and following the prompts. Once I tried removing the
--staging part of this command I ran in to the acme-challenge 404 issue that seems to plague these forums. I tried staging again, no problem. Tried non-staging again, same issue. I have removed all .htaccess, all redirects, created and tested
/.well-known/acme-challenge/test.txt in my docroot and confirmed that it is viewable in a browser.
Tried a couple more times and now I’ve hit the rate limit - guess I didn’t realize that failed attempts were counting against me… so now I’ll be waiting for another shot - luckily this is a testing domain so no big deal.
A couple questions -
Is certbot actually attempting to create the authorization file and directory tree in my docroot? The first few attempts I can confirm that those directories do not exist. Later I manually created them - but not sure how staging succeeded. I’m now wondering if they were being created there and then subsequently removed? Or are they possibly being created somewhere else and there should be an alias set up to reach that location?
What possible reasons could there be that this works fine in staging but then fails not in staging?
Looking forward to getting this working - I’m open to trying a manual process but honestly I’d REALLY like the automatic configuration to succeed so I can be as hands off with this stuff in production as possible.