Renewal failure with apache on ubuntu dockerized environment

You appear to be using the webroot plugin with the webroot path set to /app/cip so as a first guess I’d suggest checking if that’s really the place where Apache serves static files from.

Could your Apache be misconfigured perhaps? Visiting https://citadel.finconsgroup.com I see a directory listing which I don’t think is intentional - and one of the subdirectories is cip so maybe Apache is serving from the directory above the one you may have intended (/app)? That would break Certbot’s webroot plugin which it seems you currently have pointed at /app/cip if so.

If that’s not helpful, I think we would need to know a bit more about your Docker setup. What containers do you have? Where are the certificates (/etc/letsencrypt/...) stored - in a container or volume, or on the host? And where are you running the certbot command from?

2 Likes