Allow Certbot Access to Subdirectory with .htpasswd on Apache2

Categories: Coding, security

I was trying to find a way to allow certbot to auto renew, but kept getting verification errors. The error showed that certbot couldn’t get access to /.well-known/acme-challenge/<SOME_HASH>: which was why it was failing. Turns out, I have a custom WordPress setup which requires .htpasswd authorization. This is to make it so the outside world … Read More