Certificate Manual renew error : Connection reset by peer

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. crt.sh | 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:ipt.nsbm.ac.lk

I ran this command:certbot

It produced this output: Fetching http://ipt.nsbm.ac.lk/.well-known/acme-challenge/X8GZnaGo4-AWKYEnnr5qwZYTkoFr37PALN9cks930Vw: Connection reset by peer",

My web server is (include version): Apache

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

My hosting provider, if applicable, is:

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

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

Appriciate help in solving the above matter as it happens in all my webservers

Welcome to the community @ckcmb

You look to be another sufferer of a Palo Alto Networks firewall. They changed their settings in recent months to block ACME challenge requests. You should talk with your network support and set an Application Rule to allow "acme challenge".

These examples might help them identify / test the setting

curl -I  http://ipt.nsbm.ac.lk/.well-known/acme-challenge/SampleChallenge -A "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
(fails with user-agent string that Let's Encrypt server uses)
curl: (56) Recv failure: Connection reset by peer

curl -I  http://ipt.nsbm.ac.lk/.well-known/acme-challenge/SampleChallenge
(does not fail when using default curl user-agent string)
HTTP/1.1 301 Moved Permanently
Date: Sun, 26 Jun 2022 18:03:53 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Location: https://ipt.nsbm.ac.lk/.well-known/acme-challenge/SampleChallenge
Content-Type: text/html; charset=iso-8859-1
6 Likes

This could use an update:

5 Likes

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