# Certificate Renewal Problem

**URL:** <https://community.letsencrypt.org/t/certificate-renewal-problem/94156>\
**Category:** Help\
**Created:** [May 22, 2019, 2:38am UTC](https://community.letsencrypt.org/t/certificate-renewal-problem/94156 "2019-05-22T02:38:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![leadvoyage](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@leadvoyage](https://community.letsencrypt.org/u/leadvoyage)\
**Post date:** [May 22, 2019, 2:38am UTC](https://community.letsencrypt.org/t/certificate-renewal-problem/94156/1 "2019-05-22T02:38:56Z")

</div>

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](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: leadvoyage.top

I ran this command: ```  
sudo letsencrypt renew

```auto

It produced this output: Unauthorized. Invalid response from www.leadvoyage.top/.well-known/acme-challenge/USfoh...

My web server is (include version): Apache 2

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

My hosting provider, if applicable, is: Digital Ocean

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

---

<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 22, 2019, 8:04am UTC](https://community.letsencrypt.org/t/certificate-renewal-problem/94156/2 "2019-05-22T08:04:00Z")

</div>

Hi @leadvoyage

> [@leadvoyage](#):
>
> My domain is: leadvoyage.top

checking your configuration most looks ok ( [https://check-your-website.server-daten.de/?q=leadvoyage.top](https://check-your-website.server-daten.de/?q=leadvoyage.top) ):

| Domainname | Http-Status | redirect | Sec. | G |
| --- | --- | --- | --- | --- |
| • [http://leadvoyage.top/](http://leadvoyage.top/) | | | | |
| 178.62.72.16 | 301 | [https://leadvoyage.top/](https://leadvoyage.top/) | 0.063 | A |
| | | | | |
| • [http://www.leadvoyage.top/](http://www.leadvoyage.top/) | | | | |
| 178.62.72.16 | 301 | [https://www.leadvoyage.top/](https://www.leadvoyage.top/) | 0.046 | A |
| | | | | |
| • [https://leadvoyage.top/](https://leadvoyage.top/) | | | | |
| 178.62.72.16 | 200 | | 0.550 | B |
| | | | | |
| • [https://www.leadvoyage.top/](https://www.leadvoyage.top/) | | | | |
| 178.62.72.16 | 200 | | 0.344 | B |
| | | | | |
| • [http://leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de](http://leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de) | | | | |
| 178.62.72.16 | 301 | [https://leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de](https://leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de) | 0.056 | A |
| Visible Content: Moved Permanently The document has moved here . Apache/2.4.29 (Ubuntu) Server at leadvoyage.top Port 80 | | | | |
| | | | | |
| • [http://www.leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de](http://www.leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de) | | | | |
| 178.62.72.16 | 301 | [https://www.leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de](https://www.leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de) | 0.050 | A |
| Visible Content: Moved Permanently The document has moved here . Apache/2.4.29 (Ubuntu) Server at www.leadvoyage.top Port 80 | | | | |
| | | | | |
| • [https://leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de](https://leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de) | 404 | | 0.253 | A |
| Not Found | | | | |
| Visible Content: Not Found The requested URL /.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de was not found on this server. Apache/2.4.29 (Ubuntu) Server at leadvoyage.top Port 443 | | | | |
| | | | | |
| • [https://www.leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de](https://www.leadvoyage.top/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de) | 404 | | 0.246 | A |
| Not Found | | | | |

You have a redirect http -\> https, checking a file in /.well-known/acme-challenge sends the expected http status 404 - Not Found.

So find the DocumentRoot of your https vHost and use that information:

```nohighlight
certbot run -a webroot -i apache -w yourDocumentRoot -d leadvoyage.top -d www.leadvoyage.top

```

---

<div class="post-metadata">

**Author:** ![leadvoyage](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@leadvoyage](https://community.letsencrypt.org/u/leadvoyage)\
**Post date:** [May 22, 2019, 12:03pm UTC](https://community.letsencrypt.org/t/certificate-renewal-problem/94156/3 "2019-05-22T12:03:08Z")

</div>

Thank you so much! It worked like a charm. Renewed my certs and tested on [https://www.ssllabs.com/ssltest/analyze.html?d=](https://www.ssllabs.com/ssltest/analyze.html?d=)

---

<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 21, 2019, 12:03pm UTC](https://community.letsencrypt.org/t/certificate-renewal-problem/94156/4 "2019-06-21T12:03:10Z")

</div>

Closed on June 21, 2019, 12:03pm UTC

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