# HTTPS stopped working

**URL:** <https://community.letsencrypt.org/t/https-stopped-working/209201>\
**Category:** Help\
**Created:** [November 29, 2023, 7:30pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201 "2023-11-29T19:30:34Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![zUnlxgit0amx](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zUnlxgit0amx](https://community.letsencrypt.org/u/zUnlxgit0amx)\
**Post date:** [November 29, 2023, 7:30pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/1 "2023-11-29T19:30:35Z")

</div>

Hi! Ive made my first own site a few months ago its running on apache2, got it running with https. i dont know when exactly, but a friend told me https doesnt work anymore, but i sadly didnt had the time to figure out what was wrong. so today i tried looking into it, ive been on it for about an hour now. and since i forgot everything i did back then, i just thought imma seek for help since google also wasnt able to help me. so i started off with using `sudo certbot certificates` Which spit spit out:

```nohighlight
Found the following certs:
  Certificate Name: lexyy.ddns.net
    Serial Number: 4333940fba7738a69ce6607bb69f195d20a
    Key Type: RSA
    Domains: lexyy.ddns.net
    Expiry Date: 2023-05-21 18:19:17+00:00 (INVALID: EXPIRED)
    Certificate Path: /etc/letsencrypt/live/lexyy.ddns.net/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/lexyy.ddns.net/privkey.pem

```

So i googled a bit, and used `sudo certbot --apache` which then led to my first error which lets me back confused, i wish i could post the result, but my pc crashed so i dont have the output anymore. i now tried doing it again and got the following:

````nohighlight
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): lexyy.ddns.net
Renewing an existing certificate for lexyy.ddns.net
An unexpected error occurred:
There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/failed-validation-limit/
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.```

````

So why did i ran into an too many requests error? and how long will it take now untill i can try it again?

so here some more infos about the stuff.  
server version is Apache/2.4.52 (Ubuntu)  
my OS where the server runs on is Ubuntu 22.04.1 LTS  
I have my own server, so i host it myself. so i have full root acess and everything to it.  
I just use SFTP to upload the files to my server, and SSH to controll it through the terminal.  
and the certbot version is certbot 1.21.0

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [November 29, 2023, 7:37pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/2 "2023-11-29T19:37:17Z")

</div>

> [@zUnlxgit0amx](#):
>
> `There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/failed-validation-limit/`

before it started telling you this, it should've given you some kind of different error.

can you go through your logs and find out which?

> [@zUnlxgit0amx](#):
>
> `Saving debug log to /var/log/letsencrypt/letsencrypt.log`

---

<div class="post-metadata">

**Author:** ![zUnlxgit0amx](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zUnlxgit0amx](https://community.letsencrypt.org/u/zUnlxgit0amx)\
**Post date:** [November 29, 2023, 8:13pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/3 "2023-11-29T20:13:49Z")

</div>

I tried looking through it, the log is gigantic, and i dont really know where it starts/ends. so i just put the whole log untill the time where i think i started on pastebin. [Letsencrypt log - Pastebin.com](https://pastebin.com/KQc5DAHy)

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [November 29, 2023, 8:20pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/4 "2023-11-29T20:20:46Z")

</div>

line 2299

```nohighlight
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
  Domain: lexyy.ddns.net
  Type: unauthorized
  Detail: 77.22.225.214: Invalid response from http://lexyy.ddns.net/.well-known/acme-challenge/Ko-iHxFyTDs4hR_-i0WbX4uKUn0g6taV1ra0g-FLy7w: 404

```

Something is messing with how certbot and apache interact. Can you show us your virtualhosts?

---

<div class="post-metadata">

**Author:** ![zUnlxgit0amx](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zUnlxgit0amx](https://community.letsencrypt.org/u/zUnlxgit0amx)\
**Post date:** [November 29, 2023, 8:25pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/5 "2023-11-29T20:25:48Z")

</div>

If you tell me how i can do that sure!

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [November 29, 2023, 8:38pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/6 "2023-11-29T20:38:11Z")

</div>

just out of curiosity, how did you get your first certificate, and did you modify your config since then?

---

<div class="post-metadata">

**Author:** ![zUnlxgit0amx](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zUnlxgit0amx](https://community.letsencrypt.org/u/zUnlxgit0amx)\
**Post date:** [November 29, 2023, 8:40pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/7 "2023-11-29T20:40:58Z")

</div>

I read through a lot of tutorials and followed them. somehow i got it working, then it broke. i had to reinstall the OS on my server, so i read a lot of tutorials again. one thing i definetly know is that i used the certbot --apache command. but thats all i remember. it could be good 5-8 months ago since i worked on it last time. And nope i didnt modify any configs, not that i know of at least. maybe i did and forgot it, im not sure tho.

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [November 29, 2023, 8:51pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/8 "2023-11-29T20:51:10Z")

</div>

I think you might want to start from

```nohighlight
apachectl -t -D DUMP_VHOSTS

```

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [November 29, 2023, 8:52pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/9 "2023-11-29T20:52:40Z")

</div>

Might want to start by finding out why nginx is responding on that domain rather than Apache 🙂

> Request to: `lexyy.ddns.net/77.22.225.214`, Result: [Address=77.22.225.214,Address Type=IPv4,  
> **Server=nginx/1.18.0 (Ubuntu)**,HTTP Status=404],  
> Issue: Trace:  
> @0ms: Making a request to [http://lexyy.ddns.net/.well-known/acme-challenge/letsdebug-test](http://lexyy.ddns.net/.well-known/acme-challenge/letsdebug-test) (using initial IP 77.22.225.214)  
> @0ms: Dialing 77.22.225.214  
> @194ms: Server response: HTTP 404 Not Found

---

<div class="post-metadata">

**Author:** ![zUnlxgit0amx](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zUnlxgit0amx](https://community.letsencrypt.org/u/zUnlxgit0amx)\
**Post date:** [November 29, 2023, 8:53pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/10 "2023-11-29T20:53:41Z")

</div>

Thats all that appears.

```nohighlight
VirtualHost configuration:
*:80 lexyy.ddns.net (/etc/apache2/sites-enabled/000-default.conf:1)

```

---

<div class="post-metadata">

**Author:** ![zUnlxgit0amx](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zUnlxgit0amx](https://community.letsencrypt.org/u/zUnlxgit0amx)\
**Post date:** [November 29, 2023, 8:54pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/11 "2023-11-29T20:54:52Z")

</div>

Thats a pretty good question, i had that too before i reinstalled my OS. i never used Nginx. and i never installed it, and i didnt even know its there 😕  
How do i solve that?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [November 29, 2023, 11:50pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/12 "2023-11-29T23:50:47Z")

</div>

> [@zUnlxgit0amx](#):
>
> How do i solve that?

First: Ensure your DDNS points to your current IP

# `curl ifconfig.io`

Second: Review the `Apache` config to ensure there are no "_`name:port`_" overlaps

# `sudo apachectl -t -D DUMP_VHOSTS`

---

<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:** [December 29, 2023, 11:50pm UTC](https://community.letsencrypt.org/t/https-stopped-working/209201/13 "2023-12-29T23:50:52Z")

</div>

Closed on December 29, 2023, 11:50pm UTC

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