Your SSL certificate is about to expire, Not... #2327

Open
opened 2026-03-04 01:56:32 -05:00 by deekerman · 14 comments
Owner

Originally created by @tescophil on GitHub (Jan 7, 2021).

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Issue Details

  • Version of AdGuard Home server:
    v0.104.3
  • How did you setup DNS configuration:
    DHCP assignment from router
  • If it's a router or IoT, please write device model:
    Raspberry Pi 3 Model B
  • Operating system and version:
    Debian 10

Expected Behavior

I don't expect to see an expiry message in January when my cert expires in April

Actual Behavior

I see the warning message 'Your SSL certificate is about to expire. Update Encryption settings.'
Its the 7th January 2021, and my SSL certificate expires 2021-04-06 06:39:05

Screenshots

image
image

Screenshot:

Additional Information

Originally created by @tescophil on GitHub (Jan 7, 2021). <!-- As an open-source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can. --> ### Prerequisites Please answer the following questions for yourself before submitting an issue. **YOU MAY DELETE THE PREREQUISITES SECTION.** - [X] I am running the latest version - [X] I checked the documentation and found no answer - [X] I checked to make sure that this issue has not already been filed ### Issue Details <!--- Please include all relevant details about the environment you experienced the bug in --> * **Version of AdGuard Home server:** v0.104.3 * **How did you setup DNS configuration:** DHCP assignment from router * **If it's a router or IoT, please write device model:** Raspberry Pi 3 Model B * **Operating system and version:** Debian 10 ### Expected Behavior I don't expect to see an expiry message in January when my cert expires in April ### Actual Behavior I see the warning message 'Your SSL certificate is about to expire. Update Encryption settings.' Its the 7th January 2021, and my SSL certificate expires 2021-04-06 06:39:05 ### Screenshots ![image](https://user-images.githubusercontent.com/59442445/103909313-767f4e00-50fb-11eb-8ef5-326ecf89d320.png) ![image](https://user-images.githubusercontent.com/59442445/103909581-ca8a3280-50fb-11eb-8b8b-732f54f15db7.png) <details><summary>Screenshot:</summary> <!--- drag and drop, upload or paste your screenshot to this area--> </details> ### Additional Information <!-- Add any other context about the problem here. -->
Author
Owner

@IldarKamalov commented on GitHub (Jan 14, 2021):

Is there any chance that the date & time of this device could be incorrect?

@IldarKamalov commented on GitHub (Jan 14, 2021): Is there any chance that the date & time of this device could be incorrect?
Author
Owner

@tescophil commented on GitHub (Jan 14, 2021):

Alas, no. Was the first thing I checked. The machine is synced with NTP.

@tescophil commented on GitHub (Jan 14, 2021): Alas, no. Was the first thing I checked. The machine is synced with NTP.
Author
Owner

@IldarKamalov commented on GitHub (Jan 27, 2021):

@tescophil If you have this error again, can you type this new Date() in the browser console and compare the result with the system time?

@IldarKamalov commented on GitHub (Jan 27, 2021): @tescophil If you have this error again, can you type this `new Date()` in the browser console and compare the result with the system time?
Author
Owner

@tescophil commented on GitHub (Jan 27, 2021):

Sure thing.

@tescophil commented on GitHub (Jan 27, 2021): Sure thing.
Author
Owner

@tescophil commented on GitHub (May 13, 2021):

Had this again..., certificate renewal date of 08/08/2021 and a big banner message saying your certificate has expired. All TLS services offline, no DoT or DoH working..., go into settings, touch nothing, then hit save and its back to 'normal'.., I get this every time the cert expires. Looks like one thing is reading the new cert details correctly and displaying them in the UI, and another is storing the old cert details, specifically the expirty date. This must be the case, because my old cert would have expired today and there was indeed a banner message saying it had expired, but that cert was deleted over 2 weeks ago and replaced with a new one

@tescophil commented on GitHub (May 13, 2021): Had this again..., certificate renewal date of 08/08/2021 and a big banner message saying your certificate has expired. All TLS services offline, no DoT or DoH working..., go into settings, touch nothing, then hit save and its back to 'normal'.., I get this every time the cert expires. Looks like one thing is reading the new cert details correctly and displaying them in the UI, and another is storing the old cert details, specifically the expirty date. This must be the case, because my old cert would have expired today and there was indeed a banner message saying it had expired, but that cert was deleted over 2 weeks ago and replaced with a new one
Author
Owner

@tescophil commented on GitHub (May 13, 2021):

@tescophil If you have this error again, can you type this new Date() in the browser console and compare the result with the system time?

Did this, and the times are identical

@tescophil commented on GitHub (May 13, 2021): > @tescophil If you have this error again, can you type this `new Date()` in the browser console and compare the result with the system time? Did this, and the times are identical
Author
Owner

@guidocioni commented on GitHub (Mar 22, 2022):

I'm having this issue quite often as well.

I installed Adguard Home with snap.
Two months before every planned certificate renewal Adguard home decides that the certificate is expired. DoH and DoT don't work anymore and if try to visit the adguard home webpage I get the warning from Chrome that the cerificate is indeed expired.

The certificate is handled by certbot, so it is automatically renewed, but it lies into another folder so I always have to copy it while renewing it, i.e. .

certbot renew
cp /etc/letsencrypt/live/.../fullchain.pem /var/snap/adguard-home/common/fullchain.pem
cp /etc/letsencrypt/live/.../privkey.pem /var/snap/adguard-home/common/privkey.pem

I have to do this because the certificates are written to a folder where the snap version of adguard home does not have access.

As the other said to fix that I usually have to copy again the certificates (although they should be exactly the same!) and press on "save configuration" in the homepage, then it starts working again. If I only copy the certificates then in the web dashboard it shows me that they're valid but for some reason everything else (including Chrome) still sees the old version if I don't press on "save".

Screenshot 2022-03-22 at 13 11 21
@guidocioni commented on GitHub (Mar 22, 2022): I'm having this issue quite often as well. I installed Adguard Home with snap. Two months before every planned certificate renewal Adguard home decides that the certificate is expired. DoH and DoT don't work anymore and if try to visit the adguard home webpage I get the warning from Chrome that the cerificate is indeed expired. The certificate is handled by certbot, so it is automatically renewed, but it lies into another folder so I always have to copy it while renewing it, i.e. . ```bash certbot renew cp /etc/letsencrypt/live/.../fullchain.pem /var/snap/adguard-home/common/fullchain.pem cp /etc/letsencrypt/live/.../privkey.pem /var/snap/adguard-home/common/privkey.pem ``` I have to do this because the certificates are written to a folder where the snap version of adguard home does not have access. As the other said to fix that I usually have to copy again the certificates (although they should be exactly the same!) and press on "save configuration" in the homepage, then it starts working again. If I only copy the certificates then in the web dashboard it shows me that they're valid but for some reason everything else (including Chrome) still sees the old version if I don't press on "save". <img width="1165" alt="Screenshot 2022-03-22 at 13 11 21" src="https://user-images.githubusercontent.com/12760310/159479280-cb17fa64-2a2d-4589-bf5d-52bcc6948413.png">
Author
Owner

@Birbber commented on GitHub (Sep 1, 2022):

@guidocioni @tescophil Hi! Is this issue still reproducible on the latest version?

@Birbber commented on GitHub (Sep 1, 2022): @guidocioni @tescophil Hi! Is this issue still reproducible on the latest version?
Author
Owner

@guidocioni commented on GitHub (Sep 1, 2022):

Last time that I had it was few months ago.. Which version should I test to see if comes back?

@guidocioni commented on GitHub (Sep 1, 2022): Last time that I had it was few months ago.. Which version should I test to see if comes back?
Author
Owner

@Birbber commented on GitHub (Sep 2, 2022):

It's either stable v0.107.11 or beta v0.108.0-b.13.

@Birbber commented on GitHub (Sep 2, 2022): It's either stable [v0.107.11](https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.11) or beta [v0.108.0-b.13](https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.108.0-b.13).
Author
Owner

@guidocioni commented on GitHub (Sep 2, 2022):

Ok, I'm on the stable version.
I'll let you know if the problem surfaces again.
I'll have to wait unfortunately, because it always happened randomly and had no way to reproduce it.

@guidocioni commented on GitHub (Sep 2, 2022): Ok, I'm on the stable version. I'll let you know if the problem surfaces again. I'll have to wait unfortunately, because it always happened randomly and had no way to reproduce it.
Author
Owner

@guidocioni commented on GitHub (Sep 18, 2022):

Unfortunately that did happen again today.
The certificates were going to expire on 2022-11-17 but adguard was convinced that they were going to expire on 2022-09-17 (yesterday).
Copying back again the certificates from certbot worked.
I'm really puzzled why adguard would decide that the certificates are expiring 2 months in advance.

@guidocioni commented on GitHub (Sep 18, 2022): Unfortunately that did happen again today. The certificates were going to expire on 2022-11-17 but adguard was convinced that they were going to expire on 2022-09-17 (yesterday). Copying back again the certificates from certbot worked. I'm really puzzled why adguard would decide that the certificates are expiring 2 months in advance.
Author
Owner

@nakamal22 commented on GitHub (Dec 6, 2022):

Adguard does not decide the certificate is expiring, certificate used by adguard is really expiring because adguard uses certificate that was last loaded (the old one before renew)
So the question should be :
why adguard keeps using a copy of old cert instead of that one renewed in cert file, even after an adguard restart. Only click on "save configuration" in encryption page will force adguard to use renewed cert.
Think that issue has been closed without resolution :
https://github.com/AdguardTeam/AdGuardHome/issues/1142

@nakamal22 commented on GitHub (Dec 6, 2022): Adguard does not decide the certificate is expiring, certificate used by adguard is really expiring because adguard uses certificate that was last loaded (the old one before renew) So the question should be : why adguard keeps using a copy of old cert instead of that one renewed in cert file, even after an adguard restart. Only click on "save configuration" in encryption page will force adguard to use renewed cert. Think that issue has been closed without resolution : https://github.com/AdguardTeam/AdGuardHome/issues/1142
Author
Owner

@Alxandr commented on GitHub (Jun 8, 2025):

I've just set up my own PKI infrastructure, and I'm using certificates that only last 24 hours... Any way I can just disable this warning?

@Alxandr commented on GitHub (Jun 8, 2025): I've just set up my own PKI infrastructure, and I'm using certificates that only last 24 hours... Any way I can just disable this warning?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#2327
No description provided.