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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:140.124.181.82

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 pl.csie.ntut.edu.tw
Waiting for verification…
Challenge failed for domain pl.csie.ntut.edu.tw
http-01 challenge for pl.csie.ntut.edu.tw
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: pl.csie.ntut.edu.tw
    Type: connection
    Detail: Fetching
    http://pl.csie.ntut.edu.tw/.well-known/acme-challenge/ElOauxQ5ZvYxFmeuac7Jvt6M5A8ogRtw8TumoO8CBmE:
    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 ( https://check-your-website.server-daten.de/?q=pl.csie.ntut.edu.tw ):

Domainname Http-Status redirect Sec. G
http://pl.csie.ntut.edu.tw/
140.124.181.82 301 https://pl.csie.ntut.edu.tw/ 0.616 A
https://pl.csie.ntut.edu.tw/
140.124.181.82 200 2.896 N
Certificate error: RemoteCertificateChainErrors
http://pl.csie.ntut.edu.tw/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
140.124.181.82 301 https://pl.csie.ntut.edu.tw/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de 0.614 A
Visible Content: Moved Permanently The document has moved here . Apache/2.2.22 (Ubuntu) Server at pl.csie.ntut.edu.tw Port 80
https://pl.csie.ntut.edu.tw/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de 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.