My domain is: urlaub.bsb.net
I ran this command: cerbot certonly --standalone -d urlaub.bsb.net
It produced this output:
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 urlaub.bsb.net
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. urlaub.bsb.net (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://urlaub.bsb.net/.well-known/acme-challenge/pGaMSwlhger0pFLeD2qSkrLqyKx-We0DmiwbGmEn8cQ: Connection refused
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: urlaub.bsb.net
Type: connection
Detail: Fetching
http://urlaub.bsb.net/.well-known/acme-challenge/pGaMSwlhger0pFLeD2qSkrLqyKx-We0DmiwbGmEn8cQ:
Connection refused
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.
My web server is (include version): No application is running on server yet. Will use the certificate for a spring boot application.
The operating system my web server runs on is (include version): Ubuntu 18.04
I can login to a root shell on my machine (yes or no, or I don’t know): Yes (It’s a local machine in our company requests to urlaub.bsb.net on port 80 / 443 are redirected to my machine).
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No
**root@urlaub** : **~** # dig urlaub.bsb.net
; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> urlaub.bsb.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53946
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;urlaub.bsb.net. IN A
;; ANSWER SECTION:
urlaub.bsb.net. 3214 IN A 80.245.135.227
;; Query time: 1 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Tue Oct 02 15:28:08 CEST 2018
;; MSG SIZE rcvd: 59
We don’t have IPv6 so there is now ANSWER for AAAA:
**root@urlaub** : **~** # dig aaaa urlaub.bsb.net
; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> aaaa urlaub.bsb.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44364
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;urlaub.bsb.net. IN AAAA
;; Query time: 43 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Tue Oct 02 15:29:25 CEST 2018
;; MSG SIZE rcvd: 43