Problem renewing, challenge failed

My domain is:

I ran this command:
/root/certbot-auto --apache -d -w /var/www/html/

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for
Waiting for verification…
Challenge failed for domain
http-01 challenge for
Cleaning up challenges
Some challenges have failed.


  • The following errors were reported by the server:

    Type: connection
    Detail: Fetching
    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.

My web server is (include version): Apache/2.4.18 (Ubuntu)

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

I can login to a root shell on my machine (yes or no, or I don’t know):yes

The version of my client is: 0 .34.0

Been asked to look into renewing the cert for this domain. Getting the above error:
** Timeout during connect (likely firewall problem)**

But ‘ufw status’ returns 'inactive’

Not sure what to try next?


root@sun:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
f2b-sshd tcp – anywhere anywhere multiport dports ssh

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain f2b-sshd (1 references)
target prot opt source destination
RETURN all – anywhere anywhere

Hi @funkytwig

your port 80 doesn’t answer or isn’t confgured ( ):

Domainname Http-Status redirect Sec. G -14 10.033 T
Timeout - The operation has timed out 200 0.800 N
Certificate error: RemoteCertificateChainErrors -14 10.026 T
Timeout - The operation has timed out

So http-01 validation can’t work.

You have a lot of old certificates (first 2017-12-07). Perhaps you have used tls-sni-01 validation via port 443, that’s not longer supported.

Is this a home server? So your ISP blocks port 80?

Perhaps check

to use another challenge type.

Thanks for that, so I can do challenge through 443/TLS-ALPN-01 (for now). How do I do this? Not onsite so cant sort 80 today. Or is there another way of doing a challenge with certbot-auto over 443.

Read the doc but cant work out how to set challenge type in certbot-auto

Certbot doesn’t support tls-alpn-01. does.

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