I’m trying to obtain Certs for my email Server. I’ve opened the firewall on port 443/80 and also set the port-forwarding to my email-server in the router.
Still any attempt to get certificates fail:
certbot certonly --rsa-key-size 4096 -d mail.gabel.net -d imap.gabel.net -d smtp.gabel.net
…
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: mail.gabel.net
Type: connection
Detail: Fetching
http://mail.gabel.net/.well-known/acme-challenge/BaDnBjedXQ1Epc4PUSSVawEGJDUgs29GOc8v7510hvY:
Connection refusedDomain: imap.gabel.net
Type: connection
Detail: Fetching
http://imap.gabel.net/.well-known/acme-challenge/npQwH2hdSCQndoB9eYG0Peel94WlbHJU022RZxvMMOE:
Connection refusedDomain: smtp.gabel.net
Type: connection
Detail: Fetching
http://smtp.gabel.net/.well-known/acme-challenge/0KIviE9pepOobl-v0CfsMxyW71gKNImdxcTMNQM1iC4:
Connection refusedTo 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.
root@mail: /etc/letsencrypt/live/mail.gabel.net > nslookup mail.gabel.net
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
Name: mail.gabel.net
Address: 89.1.173.61
I’m running NO webserver on this machine nor do I want to.