On Sat, 2023-04-22 at 09:24 -0700, Mike Wright wrote: > On 4/22/23 05:11, Patrick O'Callaghan wrote: > > I'm trying to set up a simple web server for personal use, using > > Apache, and want to enable HTTPS access. This involves getting an > > SSL > > certificate and I'll be using LetsEncrypt (www.letsencrypt.org). > > > > The recommended way to do this is with Certbot, but I can't get > > past > > this error: > > > > # certbot --apache -d bree.org.uk > > Saving debug log to /var/log/letsencrypt/letsencrypt.log > > Requesting a certificate for bree.org.uk > > 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. > > > > Note that the httpd server is online and reachable from outside my > > local net, i.e. this doesn't appear to be a firewall issue. > > > > I've reported the problem upstream and followed a number of > > suggestions, but nothing seems to make any difference: > > > > https://community.letsencrypt.org/t/certbot-fails-with-cant-find-virtual-host-error/196800/29 > > > > Any thoughts on this would be welcome, but please review the above > > link > > before replying. > > Trying again. The "Dark" theme gave me purple on black. Looks like > nobody can see what I wrote ;/ > > I've never seen the port number included as part of the ServerName > directive. Try removing that and give it a go. > The port number is optional, according to the docs. However that was a late addition. Previously I didn't have it and it made no difference. I've since removed it. poc _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue