Am 22.04.23 um 14:11 schrieb Patrick O'Callaghan:
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.
If certbot --apache doesn't work, you could try to only fetch the
certificates and manually configure httpd to actually use them
afterwards. I. e. do something like
# certbot certonly --webroot -w /path/to/webroot -d $DOMAIN ...
--
Regards
mks
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue