# Script that has been working for years stopped working after Feb

**URL:** <https://community.letsencrypt.org/t/script-that-has-been-working-for-years-stopped-working-after-feb/122142>\
**Category:** Help\
**Created:** [May 8, 2020, 2:42pm UTC](https://community.letsencrypt.org/t/script-that-has-been-working-for-years-stopped-working-after-feb/122142 "2020-05-08T14:42:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Randidly](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Randidly](https://community.letsencrypt.org/u/Randidly)\
**Post date:** [May 8, 2020, 2:42pm UTC](https://community.letsencrypt.org/t/script-that-has-been-working-for-years-stopped-working-after-feb/122142/1 "2020-05-08T14:42:27Z")

</div>

My domain is: [FCSBOE.org](http://FCSBOE.org)

I ran this command: SRC=/etc/letsencrypt/live/mdm.sys.fcsboe.org  
DST=/usr/local/filewave/certs

# Backup both sets of certs

tar -cvf /etc/letsencryptbackup.tar /etc/letsencrypt  
tar -cvf /usr/local/filewave/certsbackup.tar /usr/local/filewave/certs

# Grab the new cert

certbot renew force

# Update

\cp -uf $SRC/fullchain.pem $DST/server.crt  
\cp -uf $SRC/privkey.pem $DST/server.key

It produced this output:  
Domain: [mdm.sys.fcsboe.org](http://mdm.sys.fcsboe.org)  
Type: connection  
Detail: Fetching  
[http://mdm.sys.fcsboe.org/.well-known/acme-challenge/D2arkr\_mwi9nG2PAs\_flgfun](http://mdm.sys.fcsboe.org/.well-known/acme-challenge/D2arkr_mwi9nG2PAs_flgfun) o7r2fGl3lF25uAYjqUQ:  
Connection refused

My web server is (include version): Apache

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

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

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

I just took over a small network that uses LetsEncrypt get a cert for filewave, It uses a script to renew the script, looks like last successfully ran in Feb, I posted the script and output above, New to this procedure What am I missing?

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [May 8, 2020, 3:24pm UTC](https://community.letsencrypt.org/t/script-that-has-been-working-for-years-stopped-working-after-feb/122142/2 "2020-05-08T15:24:53Z")

</div>

Hi @Randidly

> [@Randidly](#):
>
> Detail: Fetching  
> [http://mdm.sys.fcsboe.org/.well-known/acme-challenge/D2arkr\_mwi9nG2PAs\_flgfun](http://mdm.sys.fcsboe.org/.well-known/acme-challenge/D2arkr_mwi9nG2PAs_flgfun) o7r2fGl3lF25uAYjqUQ:  
> Connection refused

your http doesn't work. That's required if you want to use http validation.

Firewall, router. Not running webserver - a lot of things possible.

You need a working http website.

PS: There is a check of your domain, created yesterday - [mdm.sys.fcsboe.org - Make your website better - DNS, redirects, mixed content, certificates](https://check-your-website.server-daten.de/?q=mdm.sys.fcsboe.org)

Only Grade V

> ConnectFailure - Unable to connect to the remote server

A Grade A of the /.well-known/acme-challenge/random-filename - check minimal is required.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [June 7, 2020, 3:24pm UTC](https://community.letsencrypt.org/t/script-that-has-been-working-for-years-stopped-working-after-feb/122142/3 "2020-06-07T15:24:57Z")

</div>

Closed on June 7, 2020, 3:24pm UTC

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