Connection error when creating certificate

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain

I ran this command:sudo certbot --apache -d -d

It produced this output:
Failed authorization procedure. (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching Timeout during connect (likely firewall problem)


My web server is (include version):apache2 Version 2.4.29

The operating system my web server runs on is (include version):Ubuntu 18.04

My hosting provider, if applicable, is:unknown

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):0.31.0


You've got two IP addresses configured for your domain (same goes for the www subdomain):		86400	IN	A		86400	IN	A

For the IP address I can connect to port 80 without a problem, but I can't connect to on port 80.

There's a 50 % chance Let's Encrypt will choose either one of those IP addresses per validation attempt and there are a multiple of validation attempts (also a few from secondary locations). So there's a pretty good chance the whole validation will fail.

Also, I don't know of both IP addresses are on the same server? Because even if you do manage to open up port 80 for, if that's a different server than the server you're running certbot on, the challenge will fail too.


Hi, you are right I honestly dont know why there is a second A record with the IP, it shouldnt be there. I will have a look into the A records and try again. Thank you.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.