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. crt.sh | 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: issues2.kroitor.ca
I ran this command: certbot install
It produced this output: Certbot doesn't know how to automatically configure the web server on this system.
My web server is (include version): apache2 2.4.52 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 22.04.4 LTS
My hosting provider, if applicable, is: Digital Ocean
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): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 1.21.0
Disclaimer: longtime user of certbot, but memory fails and I may be making dumb omissions.
I just installed a basic LAMP stack running MantisBT on a new Ubuntu VM. It's a replacement for an existing VM that was running MantisBT on Rocky 9.3. All got reinstalled and came up properly except for certbot and the mod_ssl stuff.
Believing this would all be fairly simple, I followed this instruction page: https://kifarunix.com/install-mantis-bug-tracker-on-ubuntu-20-04/ which, although old, worked fine. Notice it has the world's simplest instructions for the site setup: all it does is create a single sites-available conf. (Edit: it also disables the default site and enables the new one using a2ensite)
As I believe that one difference between Fedora-style and Debian-style environments is in the apache config files, I chose to simply do what the page says (which works for getting http up) and then use certbot to add the https additions (which fails).
Questions:
- does certbot create a log hinting at why it doesn't know how to automatically configure the web server?
- am I right that certbot can change a simple http site to one with mod_ssl enabled?
- is there a troubleshooting guide for what things make certbot lose the tune?
I do -- or at least long ago did -- know how to configure a secure site manually on Ubuntu (although I'm much more fluent with the CentOS / Rocky dialect), but I'd really rather not. Instead, I'd rather understand why certbot's automatic configuration is failing so that things like auto-renewal just work in a "set and forget" fashion.