| Post Reply | RetroFed Forum Forum Index » Selfhosted |
| Author | Message | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
stratself
lemdro.id
stratself@lemdro.id Joined: 2025-08-21 |
Since the beginning of this year, Let's Encrypt rolled out a new Yet, I haven't seen a lot of news about it since then. Hence the question: is this shorter cert thingy something you considered and deployed for your homelab? As for me I've set up |
||||||||||||
| 124 Original | |||||||||||||
|
Harold
feddit.nl
haroldfinch@feddit.nl Joined: 2025-03-01 |
Thank you for sharing. I had missed the announcement, so pleased to know the option is available. I have fully automated the creation and renewal of my certs and have just short of 50 certs that I manage in total. Every single one automated using NixOS / ACME / lego. Technically I could easily implement this, just have to switch my config. Honest question, are there any particular security benefits to this (especially for a home lab)? I can understand the short lived time span further reduces risk of compromise, yet the existing time span is already "much shorter than traditional certificates". Does it have a substantial impact on our security posture? |
||||||||||||
| 10 | |||||||||||||
Ooops
feddit.org
Ooops@feddit.orgJoined: 2024-07-06 |
Certbot came with a systemd timer running twice a day (0, 12 +12h random) that only renews –iirc– when the certificate has 30 days or less to live. Also I looked it up and my (version 6.7) Certbot neither mentions the option with the --help option, nor in the manual (where there is just one instance of "profiles exist, no other details given"). So they probably need another way than a random blog post when they want users to use (or even just know about) that option...
Yeah, that's what it always has been. So no need to change anything unless they make it the new standard on their side with an update.. |
||||||||||||
| 6 | |||||||||||||
|
in_my_honest_opinion
piefed.social
in_my_honest_opinion@piefed.social Joined: 2026-01-21 |
Using OpenBao as my CA so I've had 24hr certs for a while now. |
||||||||||||
| 7 | |||||||||||||
|
tburkhol
slrpnk.net
tburkhol@slrpnk.net Joined: 2026-05-01 |
I'm happy with 90 day certs for homelab stuff: I'm not worried about anyone MITMing my network. I figure the short lived certs are more important for people who provide services with a significant external user-base, or who process sensitive transactions. I have my certbot set to check every 12 hours and renew at 60 days. Renewing every 3 days would be 20x more load on Let's Encrypt systems, and that feels like abuse of a free service for my use case. |
||||||||||||
| 52 | |||||||||||||
|
sonstwas
sh.itjust.works
sonstwas@sh.itjust.works Joined: 2023-06-11 |
Honest, non-techie question: How is it an advantage? Given modern crypto isnt it more likely that a mitm didn't crack the crypto but instead got somehow else in the middle and just can "ignore" certs renewals? |
||||||||||||
| 16 | |||||||||||||
|
corsicanguppy
lemmy.ca
corsicanguppy@lemmy.ca Joined: 2023-06-12 |
Honest, non-techie question: How is it an advantage? Given modern crypto isnt it more likely that a mitm didn't crack the crypto but instead got somehow else in the middle and just can "ignore" certs renewals?
You're gonna get different viewpoints, ranging from "yeah, but it's popular" to "shut up". |
||||||||||||
| 4 | |||||||||||||
|
stratself
lemdro.id
stratself@lemdro.id Joined: 2025-08-21 |
I'm happy with 90 day certs for homelab stuff: I'm not worried about anyone MITMing my network. I figure the short lived certs are more important for people who provide services with a significant external user-base, or who process sensitive transactions. I have my certbot set to check every 12 hours and renew at 60 days. Renewing every 3 days would be 20x more load on Let's Encrypt systems, an...
I think they encourage that increased frequency by offering shortlived certs to begin with... Although do note that normal certificates will reduce its lifetime to 45 days over the next few years |
||||||||||||
| 24 | |||||||||||||
|
yaroto98
lemmy.world
yaroto98@lemmy.world Joined: 2025-08-10 |
I'm using Nginx Proxy Manager. Apparently my letsrenew certs are good for 2 yrs and I don't see any way to configure that in the ui. |
||||||||||||
| 5 | |||||||||||||
|
BorgDrone
feddit.nl
BorgDrone@feddit.nl Joined: 2025-06-10 |
Honest, non-techie question: How is it an advantage? Given modern crypto isnt it more likely that a mitm didn't crack the crypto but instead got somehow else in the middle and just can "ignore" certs renewals?
Several reasons
|
||||||||||||
| 27 | |||||||||||||
dan
upvote.au
dan@upvote.auJoined: 2023-06-14 |
Honest, non-techie question: How is it an advantage? Given modern crypto isnt it more likely that a mitm didn't crack the crypto but instead got somehow else in the middle and just can "ignore" certs renewals?
A private key leaking is bad, since anyone with the private key can decrypt data that was encrypted with it. Traditionally, the way that leaked certs were handled was via Certificate Revocation Lists (CRL). CRLs contain lists of revoked certificates - their serial number, revocation date, and the reason why they were revoked. However, CRLs are imperfect. Checking for revoked certificates every time you go to a site would slow things down a lot, as the lists are now too large to check and download real-time. Modern browsers and other TLS clients periodically download the lists in the background. Also, it might take a while between when the certificate is compromised and when the company notices the compromise. Because of this, the CA/Browser forum (a group with all the major browser and TLS certificate vendors) have started dropping the max lifetime of certificates. The idea is that even if a private key does leak, the time frame that it's usable for will be significantly shorter and any leaks should (in theory) cause less damage.
All modern deployments, regardless of if they're using free or paid certs, should have their renewals fully-automated, so in theory the validity period shouldn't matter as much as it did in the past. All major vendors (Let's Encrypt, DigiCert, Sectigo, GlobalSign, AWS, SSL .com, etc) support ACME now. Reducing the validity is also a forcing function t o ensure automation is actually implemented.
I'm not sure that's possible, since an attacker in the middle shouldn't be able to obtain a valid certificate for the domain. Certificates have a "not valid after" date encoded into them, after which the certificate is considered invalid and you get an error. |
||||||||||||
| 7 | |||||||||||||
|
ÚwÙ-Passwort
lemmy.world
UxyIVrljPeRl@lemmy.world Joined: 2023-09-09 |
Several reasons If a private key leaks, a shorter certificate lifespan limits the fallout Faster upgrades to new cryptographic standards. If some of the crypto methods used get broken, short lived certificates means they get replaced with newer methods faster Short lived certificates force sysadmins to automate the renewal process. This prevents expired certificates due to forgetting the manual...
My last job had an Onlineshop, 4years in a row the colleague dealing with ssl wad on vacation when the cert ran out. |
||||||||||||
| 11 | |||||||||||||
antsu
discuss.tchncs.de
antsu@discuss.tchncs.deJoined: 2025-09-05 |
I migrated from vanilla Nginx Proxy Manager to NPMplus (because of CrowdSec), and it defaults to short-lived certificates. Other than temporarily making my Uptime Kuma SSL monitors completely freak out because my certificates "were too close to expiration", everything still works exactly the same. |
||||||||||||
| 13 | |||||||||||||
|
eco_game
discuss.tchncs.de
eco_game@discuss.tchncs.de Joined: 2023-06-17 |
I migrated from vanilla Nginx Proxy Manager to NPMplus (because of CrowdSec), and it defaults to short-lived certificates. Other than temporarily making my Uptime Kuma SSL monitors completely freak out because my certificates "were too close to expiration", everything still works exactly the same.
Interesting, I didn't know NPMplus was a thing. Looks like I've got some researching and possibly reconfiguring to do... |
||||||||||||
| 3 | |||||||||||||
chronicledmonocle
lemmy.world
chronicledmonocle@lemmy.worldJoined: 2023-06-24 |
My last job had an Onlineshop, 4years in a row the colleague dealing with ssl wad on vacation when the cert ran out.
Your colleague sucked at automation. Normally, I'd say no one should be bothered on vacation, but in this case you should have called him on his vacation, since he didn't value anyone else's time either. |
||||||||||||
| 8 | |||||||||||||
|
EnsignWashout
startrek.website
EnsignWashout@startrek.website Joined: 2023-08-22 |
Honest, non-techie question: How is it an advantage? Given modern crypto isnt it more likely that a mitm didn't crack the crypto but instead got somehow else in the middle and just can "ignore" certs renewals?
The real value is in the agility needed to update certs every six days. Six days is still too long to leave a compromised key in play, but anyone who can rotate their keys every six days can probably also rotate their keys quite quickly if there's a comprise. |
||||||||||||
| 3 | |||||||||||||
|
EnsignWashout
startrek.website
EnsignWashout@startrek.website Joined: 2023-08-22 |
I plan to operate on expired certificates for two to four years, forcing all three of my users to click past a terrible warning. Then I will automate my six day certificate rotation with Ansible (officially), but maybe actually with a stupid bash script in CRON (unofficially). |
||||||||||||
| 9 | |||||||||||||
roofuskit
lemmy.world
roofuskit@lemmy.worldJoined: 2023-11-03 |
Your colleague sucked at automation. Normally, I'd say no one should be bothered on vacation, but in this case you should have called him on his vacation, since he didn't value anyone else's time either.
The manager sucked. There's a lot of solutions to this issue but cross training and proper backup preparation are the most ideal ones. |
||||||||||||
| 8 | |||||||||||||
|
undefinedTruth
lemmy.zip
undefinedTruth@lemmy.zip Joined: 2025-09-25 |
Several reasons If a private key leaks, a shorter certificate lifespan limits the fallout Faster upgrades to new cryptographic standards. If some of the crypto methods used get broken, short lived certificates means they get replaced with newer methods faster Short lived certificates force sysadmins to automate the renewal process. This prevents expired certificates due to forgetting the manual...
That was already the case with the 90 day ones. No sane person is going to be manually renewing certificates every 3 months. |
||||||||||||
| 5 | |||||||||||||
|
pipe01
programming.dev
pipe01@programming.dev Joined: 2023-12-20 |
Short lived certificates force sysadmins to automate the renewal process. This prevents expired certificates due to forgetting the manual renewal. That was already the case with the 90 day ones. No sane person is going to be manually renewing certificates every 3 months.
Emphasis on "sane" |
||||||||||||
| 2 | |||||||||||||
|
femtek
lemmy.blahaj.zone
femtek@lemmy.blahaj.zone Joined: 2025-07-04 |
Not 6 day but already set under what it's going to be worldwide in 2029. https://www.digicert.com/blog/tls-certificate-lifetimes-will-officially-reduce-to-47-days |
||||||||||||
| 3 | |||||||||||||
|
billwashere
lemmy.world
billwashere@lemmy.world Joined: 2023-06-12 |
One step closer to single use certificates. Great… |
||||||||||||
| 11 | |||||||||||||
|
billwashere
lemmy.world
billwashere@lemmy.world Joined: 2023-06-12 |
Several reasons If a private key leaks, a shorter certificate lifespan limits the fallout Faster upgrades to new cryptographic standards. If some of the crypto methods used get broken, short lived certificates means they get replaced with newer methods faster Short lived certificates force sysadmins to automate the renewal process. This prevents expired certificates due to forgetting the manual...
You make some good arguments so I’m not attacking you at all, just my thoughts on your points. These short renewal times are getting to the point of ridiculousness and creating another point of failure with little time to do anything about it. I find these super short certs less than useful, create many more possible problems, and not really necessary except for a small set of circumstances. And I have been in IT as a web dev/sys admin/systems architect for over 30 years now.
|
||||||||||||
| 6 | |||||||||||||
plateee
piefed.social
plateee@piefed.socialJoined: 2025-09-20 |
Thank you for sharing. I had missed the announcement, so pleased to know the option is available. I have fully automated the creation and renewal of my certs and have just short of 50 certs that I manage in total. Every single one automated using NixOS / ACME / lego. Technically I could easily implement this, just have to switch my config. Honest question, are there any particular security bene...
At work, I used ssh-signed certificates for Linux server access - those certs are only valid for about 15 minutes. The whole idea of shorter lifetime certificates is to address if a certificate is compromised. (Especially for client certificates which, iirc, Let's Encrypt no longer offers). For a home lab? With no externally accessible services? Short-lived certs aren't really a big deal. Nobody is going to be hacking your homelab, stealing your private keys, poisoning your internal DNS, and pointing you to a different, malicious service. |
||||||||||||
| 4 | |||||||||||||
tal
lemmy.today
tal@lemmy.todayJoined: 2023-10-04 |
At work, I used ssh-signed certificates for Linux server access - those certs are only valid for about 15 minutes. The whole idea of shorter lifetime certificates is to address if a certificate is compromised. (Especially for client certificates which, iirc, Let's Encrypt no longer offers). For a home lab? With no externally accessible services? Short-lived certs aren't really a big deal. Nobod...
If you're a developer for an important open source project, they might. Attacking the xz project wasn't done because the attacker cared about anything that the xz maintainer had. It was because he was trusted and the software he maintained had been given a fair bit of trust by certain maintainers and could be compromised and used as a vector into other systems that indirectly relied on that open-source project. |
||||||||||||
| 2 | |||||||||||||
|
chunkystyles
sopuli.xyz
chunkystyles@sopuli.xyz Joined: 2023-06-29 |
Everyone in here taking about an the automations they've done for certs and I just use Caddy. It handles all that for me. |
||||||||||||
| 12 | |||||||||||||
observantTrapezium
lemmy.ca
observantTrapezium@lemmy.caJoined: 2023-06-30 |
No, and if there was an option for a 20-year certificate I would have taken it. |
||||||||||||
| 21 | |||||||||||||
|
Harold
feddit.nl
haroldfinch@feddit.nl Joined: 2025-03-01 |
At work, I used ssh-signed certificates for Linux server access - those certs are only valid for about 15 minutes. The whole idea of shorter lifetime certificates is to address if a certificate is compromised. (Especially for client certificates which, iirc, Let's Encrypt no longer offers). For a home lab? With no externally accessible services? Short-lived certs aren't really a big deal. Nobod...
I had no idea "single use certificates" were a thing. It makes sense, although from my personal perspective I have always worked with managed identities and privilege escalation. I have almost no internet facing services, although the two I have I might swap for the short lived variants. As you said, risk of misuse due to compromise goes down so that makes sense. For my other services, they are all running on HTTPS, but only available internally over LAN or VPN, all with isolated VLANs sort of like a Hub Spoke model. The two certs that are internet facing are basically for getting access to my VPN. Might swap the internal services to short lived anyway if the automation works well, as I said before, it's fully automated anyway. |
||||||||||||
| 2 | |||||||||||||
|
Decronym
Bot
Decronym@lemmy.decronym.xyz Joined: 2026-01-05 |
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
[Thread #119 for this comm, first seen 7th Oct 2026, 05:50] |
||||||||||||
| 2 | |||||||||||||
|
Auli
lemmy.ca
Auli@lemmy.ca Joined: 2023-06-17 |
Yes, with Caddy and haven't noticed a thing, and had no complaints. So it has been perfectly fine and it is all automated. |
||||||||||||
| 14 | |||||||||||||
|
Auli
lemmy.ca
Auli@lemmy.ca Joined: 2023-06-17 |
I'm happy with 90 day certs for homelab stuff: I'm not worried about anyone MITMing my network. I figure the short lived certs are more important for people who provide services with a significant external user-base, or who process sensitive transactions. I have my certbot set to check every 12 hours and renew at 60 days. Renewing every 3 days would be 20x more load on Let's Encrypt systems, an...
Certs get cut in half in the next couple of years. |
||||||||||||
| 2 | |||||||||||||
|
Auli
lemmy.ca
Auli@lemmy.ca Joined: 2023-06-17 |
Honest, non-techie question: How is it an advantage? Given modern crypto isnt it more likely that a mitm didn't crack the crypto but instead got somehow else in the middle and just can "ignore" certs renewals?
Since the certificate revocation list doesn't really work. They decided to shorten certificates lifespan. 90 days down to 45 and who knows what is next. |
||||||||||||
| 1 | |||||||||||||
|
Auli
lemmy.ca
Auli@lemmy.ca Joined: 2023-06-17 |
You make some good arguments so I’m not attacking you at all, just my thoughts on your points. These short renewal times are getting to the point of ridiculousness and creating another point of failure with little time to do anything about it. I find these super short certs less than useful, create many more possible problems, and not really necessary except for a small set of circumstances. An...
It is all automated so who cares. And if it is down for 3 days there is something wrong. |
||||||||||||
| 1 | |||||||||||||
|
Auli
lemmy.ca
Auli@lemmy.ca Joined: 2023-06-17 |
My last job had an Onlineshop, 4years in a row the colleague dealing with ssl wad on vacation when the cert ran out.
ACME is automated. Since it is all automated they are shorting the life. If your not automated have fun or purchase a longer one. |
||||||||||||
| 2 | |||||||||||||
dan
upvote.au
dan@upvote.auJoined: 2023-06-14 |
Everyone in here taking about an the automations they've done for certs and I just use Caddy. It handles all that for me.
Caddy is a good piece of software. I've been using Nginx for 20 years and don't really have a reason to switch, so I'm still using it. I use certbot, so it's just one command to create the certificate initially, and then it auto-renews automatically via a systemd timer. |
||||||||||||
| 7 | |||||||||||||
dan
upvote.au
dan@upvote.auJoined: 2023-06-14 |
I migrated from vanilla Nginx Proxy Manager to NPMplus (because of CrowdSec), and it defaults to short-lived certificates. Other than temporarily making my Uptime Kuma SSL monitors completely freak out because my certificates "were too close to expiration", everything still works exactly the same.
I'm just using regular Nginx, which I've been using for 20 years. What does Nginx Proxy Manager or npmplus do better? I've been meaning to try Angie too, which is a fork of Nginx. |
||||||||||||
| 1 | |||||||||||||
antsu
discuss.tchncs.de
antsu@discuss.tchncs.deJoined: 2025-09-05 |
I'm just using regular Nginx, which I've been using for 20 years. What does Nginx Proxy Manager or npmplus do better? I've been meaning to try Angie too, which is a fork of Nginx.
Not really sure they do anything "better", it's mainly for convenience. It's an all-in-one solution with a nice UI and sane defaults. That helps me have a somewhat consistent setup across all my hosted services. If you're happy with managing Nginx directly, then you probably have no reason to use these. |
||||||||||||
| 1 | |||||||||||||
dan
upvote.au
dan@upvote.auJoined: 2023-06-14 |
Not really sure they do anything "better", it's mainly for convenience. It's an all-in-one solution with a nice UI and sane defaults. That helps me have a somewhat consistent setup across all my hosted services. If you're happy with managing Nginx directly, then you probably have no reason to use these.
Makes sense! I didn't realise it has a UI. I've got a bunch of snippets in |
||||||||||||
| 1 | |||||||||||||
|
GameGod
lemmy.ca
GameGod@lemmy.ca Joined: 2023-06-17 |
It is all automated so who cares. And if it is down for 3 days there is something wrong.
If your automation breaks on day 1 of your vacation, you're now forced to spend some of your vacation fixing it. Hope you were checking email. |
||||||||||||
| 4 | |||||||||||||
|
SkaveRat
discuss.tchncs.de
SkaveRat@discuss.tchncs.de Joined: 2023-07-09 |
One step closer to single use certificates. Great…
So much certificate wrapper waste in the landfills. Smh |
||||||||||||
| 7 | |||||||||||||
AnitaAmandaHuginskis
lemmy.world
AnitaAmandaHuginskis@lemmy.worldJoined: 2023-07-09 |
I don't know what the BFD is. Noone is supposed to handle certs manually anyway. OK, maybe companies that did not get the message but nowadays this is supposed to be automated and then it does not really matter whether the cert is valid for 90, 45, 30, or 6 days. For security, it does matter, shorter is better. |
||||||||||||
| 3 | |||||||||||||
|
ipkpjersi
lemmy.ml
ipkpjersi@lemmy.ml Joined: 2023-07-29 |
No, because I often use Cloudflare, and I end up getting emails when Cloudflare notices a new SSL cert, and I don't want to get those emails every 6 days. I already get more than enough emails in general. |
||||||||||||
| 2 | |||||||||||||
|
lemmyvore
feddit.nl
lemmyvore@feddit.nl Joined: 2023-06-15 |
Everyone in here taking about an the automations they've done for certs and I just use Caddy. It handles all that for me.
Yeah but if you want to use something different, or may need to use different web servers or proxies from time to time, it's better to have the cert renewal stuff separated. Also, for any provider that's off the beaten path you have to build caddy yourself to include the right plugin and that's just meh. Caddy's fine if you only use one provider and only Caddy all the time but other than that no. |
||||||||||||
| 2 | |||||||||||||
|
motruck
lemmy.zip
motruck@lemmy.zip Joined: 2025-08-23 |
Yeah but if you want to use something different, or may need to use different web servers or proxies from time to time, it's better to have the cert renewal stuff separated. Also, for any provider that's off the beaten path you have to build caddy yourself to include the right plugin and that's just meh. Caddy's fine if you only use one provider and only Caddy all the time but other than that no.
DNS for let's encrypt via caddy integration and just have the same definition for all of your caddy servers and whatever you point your domains at will work as expected. Single config and redundancy with certs. |
||||||||||||
| 3 | |||||||||||||
|
chunkystyles
sopuli.xyz
chunkystyles@sopuli.xyz Joined: 2023-06-29 |
Yeah but if you want to use something different, or may need to use different web servers or proxies from time to time, it's better to have the cert renewal stuff separated. Also, for any provider that's off the beaten path you have to build caddy yourself to include the right plugin and that's just meh. Caddy's fine if you only use one provider and only Caddy all the time but other than that no.
I'm already building a custom image of Caddy with plugins for Crowdsec integration. It's not hard to do. But I have no reason to use anything other than the default Let's Encrypt setup. |
||||||||||||
| 1 | |||||||||||||
|
Lka1988
lemmy.dbzer0.com
lka1988@lemmy.dbzer0.com Joined: 2024-11-18 |
No, that's stupid. NPM renews my certs for me, anyway. |
||||||||||||
| 4 | |||||||||||||
| Post Reply |
Back to top |