I have this SSL/certificate problem with HAProxy and Let's Encrypt, which is a bit challenging.
The description comes right below:
I've installed Thingsboard monolithic architectre with Docker on Ubuntu 20.04.
Now, I wanted to enable https access using HAProxy and Let's Encrypt certificate, as instructed in the tutorial
Everything goes well until this command: certbot-certonly --domain your_domain --email your_email
that throughs the following error: (I changed my real domain for myservernameanddomain)
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 myservernameanddomain Waiting for verification... Challenge failed for domain myservernameanddomain http-01 challenge for myservernameanddomain Cleaning up challenges Some challenges have failed. IMPORTANT NOTES: - The following errors were reported by the server: Domain: myservernameanddomain Type: connection Detail: Fetching http://myservernameanddomain/.well-known/acme-challenge/mbtYDn0iVSCGRaWyAO0KsV0m5yWSGOgMdzr_pPwx9-o: Timeout during connect (likely firewall problem)
There is no issue with the firewall. In fact I disabled it to discard any problem related to it.
I've also checked the access to the server and it has a type A DNS record, so its accesible via DNS. ( but it does not have AAAA record, which I believe is for ipv6, and can't tell if it is part of the problem)
I would appreciate any help in solving this issue, as I believe it is important to enhance security.
Thank you !!