I'm at my end with letsencrypt. I really want this to work, but just can't get it to connect ("Timeout during connect (likely firewall problem)"), and I don't know what else I can do. I'd really appreciate any help.
Here's the configuration:
- The domain name (johnzilliox.com) is registered with Namecheap.com. The A record is assigned to my IP address.
- The router has port forwarding configured for 80 and 443 to the OMV server.
- When I change the OMV web UI to port 80 or 443, it's externally accessible at johnzilliox.com:80 and johnzilliox.com:443
- Because of the problem with selecting a network, I'm creating the container from CLI:
TDL Let's Encrypt tutorial --network error
I can't use personal network on webGUI (--network my-net)
- Here are the commands I'm using to create the container:
docker network create letsencrypt
docker create \
--name=letsencrypt \
--cap-add=NET_ADMIN \
--network=letsencrypt \
-e PUID=1000 \
-e PGID=100 \
-e TZ=America/New_York \
-e URL=johnzilliox.com \
-e VALIDATION=http \
-e EMAIL=admin@johnzilliox.com \
-e ONLY_SUBDOMAINS=false \
-p 443:443 \
-p 80:80 \
-v /sharedfolders/containers/Let\'s\ Encrypt:/config \
--restart always \
linuxserver/letsencrypt
docker start letsencrypt
docker logs -f letsencrypt
Alles anzeigen
- Here's the output from the log:
DH parameters successfully created - 2048 bits
No subdomains defined
E-mail address entered: admin@johnzilliox.com
http validation is selected
Generating new certificate
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for johnzilliox.com
Waiting for verification...
Challenge failed for domain johnzilliox.com
http-01 challenge for johnzilliox.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: johnzilliox.com
Type: connection
Detail: Fetching
http://johnzilliox.com/.well-known/acme-challenge/xxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxx:
Timeout during connect (likely firewall problem)
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
ERROR: Cert does not exist! Please see the validation error above. The issue may be due to incorrect dns or port forwarding settings. Please fix your settings and recreate the contai ner
Alles anzeigen
To me, the fact that I can reach OMV when its on 80 and 443 means that it shouldn't be a communication issue between letsencrypt and the server. Again, I'd really appreciate any kind of help here. Thanks