I’m on Ubuntu 18.04 server
When I run sudo certbot --apache -d mydomain.com
certbot is doing some apache configuration but it’s not in my
/etc/apache2/sites-available/mydomain.com.conf
file.
It works most of the time, but if it ever gets it wrong (or if I change a path in the above mydomain.com .conf file, it usually goes really wrong even if I rerun certbot and tell it to re-issue or reinstall.
So my question is, what apache configuration file is certbot writing to that tells apache the site of my https://mydomain.com ?
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: userspice.com
I ran this command: sudo certbot --apache -d userspice.com
It produced this output: successful cert creation
My web server is (include version): apache 2
The operating system my web server runs on is (include version): ubuntu 18.04
My hosting provider, if applicable, is: Self hosted vps
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
none
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): unknown