Will certbot work if web server e.g. Apache is in different location?


#1

I am going to be building a digitialocean instance whereby Apache and MySQL are installed in an encrypted volume.

The encrypted volume will be made from a large file, using some of the steps like these here (for example)
https://launchbylunch.com/posts/2014/Jan/13/encrypting-docker-on-digitalocean/#why-encrypt

This will mean that the path of the Apache executable (and perhaps the sites-available will be different).

So my question is: can certbot auto-discover things that it needs, like where the virtualhosts are setup for the domains that it will get SSL certificates for?

Background: I have various projects one of which includes a community. I want to learn about GDPR and what’s required. I believe that encrypting the filesystem might be one of the things that would be recommended for compliance.


#2

There are options you can pass to the certbot command to tell it where things are, if you’ve put them in non-standard locations. --apache-server-root, --apache-vhost-root etc. Type certbot --help apache for more information.


#3

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