403 error after installing certificate

I ran
# certbot --apache
and it succeeded. But now my website gives a 403 error when before it was accessible.

My web server is (include version):
apache 2.4.41-1

The operating system my web server runs on is (include version):
arch linux kernel 5.4.7

I have root shell access.

The version of my client is 0.39.0

http user has rx access to /etc/letsencrypt and also the live and archive subdirectories, and to /srv and /srv/http

1 Like

Search for a <Directory /src/http> section that shows what is allowed to that path.

That means it now requires authentication.


Awesome. Thank you.
I completely forgot about Directory blocks. In httpd.conf, I had a restrictive:

 <Directory />
          AllowOverride none
          Require all denied

Blocking access to my filesystem, but had forgotten to add a Directory block to allow access to my web content directory (/srv/http). After adding that block, things are good.


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