Challenge failed for domain

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 is:

I ran this command:sudo ./certbot-auto --apache certonly

It produced this output:
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
    Connection reset by peer

    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.2.22 (Ubuntu)

The operating system my web server runs on is (include version):ubuntu 12.04

I can login to a root shell on my machine :yes

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.33.1

Hi @he89302

that's curious. I don't see a "Connection reset by peer" - error. Instead, your configuration looks ok ( ):

Domainname Http-Status redirect Sec. G 301 0.616 A 200 2.896 N
Certificate error: RemoteCertificateChainErrors 301 0.614 A
Visible Content: Moved Permanently The document has moved here . Apache/2.2.22 (Ubuntu) Server at Port 80 404 2.460 N

Port 80 is open, there is a (good) redirect http -> https, https works and sends the expected http status 404 - not found fetching an unknown file in /.well-known/acme-challenge.

Do you have a localized firewall? So that traffic from US is blocked? Or some DDOS detection which is wrong configured?

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