The issue is that my webserver is behind my home NAT (80 -> 8080, 443 -> 443 - not enabled on apache yet).
As you can see below, certbot complains there is not a virtual host on 80, which is actually correct. Do I have to create such VH? Can I tell certbot it has to take care of the VH on 8080?
thanks in advance
My domain is:
thecampanileproject.org
www.thecampanileproject.org
I ran this command:
sudo certbot --apache -v
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apacheWhich names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.
1: thecampanileproject.org
2: www.thecampanileproject.org
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Requesting a certificate for thecampanileproject.org and www.thecampanileproject.org
Performing the following challenges:
http-01 challenge for thecampanileproject.org
http-01 challenge for www.thecampanileproject.org
Enabled Apache rewrite module
Cleaning up challenges
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
Server version: Apache/2.4.52 (Ubuntu)
Server built: 2023-05-03T20:02:51
The operating system my web server runs on is (include version):
Linux campanile 6.2.6-76060206-generic #202303130630~1679424972~22.04~4a8cde1 SMP PREEMPT_DYNAMIC Tue M x86_64 x86_64 x86_64 GNU/Linux
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):
certbot 2.7.1