I'm following this tutorial in how to get a raspberry pi matrix-synapse homeserver up and running.
Everything seems to be working fine. The matrix-synapse confirmation page loads. I'm able to get through every step except the certbot step. I assume there's a prerequisite that I don't have installed. I thought it might be wanting acmetool, so I installed that, but it gave me a "too many failed authorizations recently" error before I could test that. Would anyone else happen to know something that I might be missing in this? I'm guessing it's simple and I'm missing it due to lack of experience/knowledge about web server hosting and its prerequisites.
I also had ufw disabled during this process to make sure it wouldn't interfere with anything.
My domain is: dragonmail.contact
I ran this command: sudo certbot --nginx -v
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.
1: dragonmail.contact
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Requesting a certificate for dragonmail.contact
Performing the following challenges:
http-01 challenge for dragonmail.contact
Waiting for verification...
Challenge failed for domain dragonmail.contact
http-01 challenge for dragonmail.contact
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: dragonmail.contact
Type: connection
Detail: 172.94.33.141: Fetching http://dragonmail.contact/.well-known/acme-challenge/IygG7OZr3Gf7DZVPxQH8K4MS72fJ7JVmhUJDeeRTcWg: Timeout during connect (likely firewall problem)
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed.
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):
nginx version: nginx/1.18.0 (Ubuntu)
But I'm using the matrix-synapse docker image.
The operating system my web server runs on is (include version):
5.15.0-1015-raspi
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="Data privacy | Ubuntu"
UBUNTU_CODENAME=jammy
My hosting provider, if applicable, is:
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 1.30.0