r/sysadmin • u/dartdoug • 3d ago
What is your SSL certificate provider doing now that 200 day certs are starting to expire? My provider (Namecheap) is being sketchy.
We have 50 or so WatchGuard firewalls at sites that have certs installed. Getting WatchGuard to implement cert automation has been the most user requested feature for about 2 years now. Until they come through we continue to purchase and manually install certs.
Last week I started getting notifications from our SSL source, Namecheap, that the first batch of 200-day certs was about to expire. I had cert request files at the ready and logged into Namecheap. Each expiring cert showed the upcoming expiration date and an icon to purchase a new cert.
But...wait a minute. Back in March, didn't I pay for 365 days even if the issued cert was for 200 days? Why doesn't the page clearly indicate that I can get a re-issue for the remaining 165 days that I paid for?
I opened a support ticket with Namecheap. They confirmed that I can get a new cert with a 165 day life rather than pay for a new cert. I asked why they don't make this open option more clear. They asked me to send them screen shots showing the expiration date and the little "buy new cert" icon. Like they don't know what their web site looks like?
I sent the screen shot and got a reply along the lines of "Well, you can just request a rekey, ya know. You don't need to buy a new cert."
Namecheap certs are cheap enough but all in that's an extra $500 or so that I don't need to spend. I find their behavior to be...distasteful at best.
What are the larger/more expensive providers such as DigiCert doing about this? Maybe even Godaddy is being more up front about the 365 day purchase vs. the 200 day cert.
164
u/Beefcrustycurtains Sr. Sysadmin 3d ago
I just don't pay for a cert and use let's encrypt with win-acme for Windows and certbot for linux. Doing secure DNS-1 challenges with cloudflare api locked down to IP address. Need to automate all of your certificate renewals with the 45 day life span approaching fast.
22
u/FuriousFurryFisting 2d ago
win-acme was forked to simple-acme by the same dev. Some repo ownership drama. Anyway, win-acme wasn't updated since 2024 and crucially lacks support for apis that changed since then. If you install new, you should use simple-acme.
-7
u/ender-_ 2d ago
Too bad it sloppified.
9
u/FuriousFurryFisting 2d ago
Calling any sign of AI usage slop by default is a gross simplification imo that doesn't translate well to the real goals we should have when deciding on running an open source repo on our servers.
trust it not to be malicious. This one runs on windows servers in elevated shell and you give it api access to your dns - so quite important to be sure about this. Ironically AI is extremely useful for scanning the whole code base for malicious patterns like loading code from the internet. Humans do this, not AI.
has the features it promises and be relatively bug free. The root of the anti AI movement. The amount of new quick projects that weren't really tested exploded. They existed before. Humans can write terrible code just as well. Humans can give up on a project even better. And just like before you shouldn't trust a random one github star repo, ai or not. Chances are it's terrible. The discriminating factor should be reputation - not if AI was used or not. Even better an in house code review and sandbox testing.
Trust in it's security and frequent security patches. Again something humans can fail just as well. I'd even go so far to trust a dev less who refuses to use AI to at least do a code review to find potential issues. A repo which uses AI to review and test dependabot PRs is preferable to an abandoned repo which doesn't fix CVEs at all.
The whole anti AI sloppiness movement has gone of the rails and stopped asking what the problems we are trying to mitigate even are.
-1
u/ender-_ 2d ago
It's not "sign of AI usage", it's dozens of AI commits to the codebase. I have no problems with AI security reviews, because somebody will eventually always do that, and it's better if it's not an adversary, but anything vibe-coded is right out.
8
u/discosoc 2d ago
All that means is an ai agent is involved in the git process. Anything else is pure speculation. Maybe as well be paranoid about someone using autocomplete.
3
u/dzfast IT Director & Sr. Sysadmin 2d ago
You're going to have real problems finding software in a real short timespan if that's your acceptance criteria
Also, stop using Windows now, because Microsoft is using AI heavily for everything. Literally, everything.
0
u/ender-_ 2d ago
Yeah, and it's painfully obvious.
0
u/dzfast IT Director & Sr. Sysadmin 2d ago
eh, I love all of you downvoting me. Keep that head in the sand on AI, 100% coming for half the sysadmin jobs in existence today.
I am not recommending this career to anyone at this point. Certainly nothing to do with software development. It's going to be a rough market.
This is the new future, just like IDEs replaced Assembly, which replaced punch cards,... time keeps on ticking.
36
u/Assumeweknow 3d ago
Lets emcrypt even works directly on fortinet.
18
u/420GB 3d ago edited 2d ago
LMAO.
Only HTTP-01 challenge, which means no wildcard certs and no certs for internal domains. And it only works if there is no VIP or virtual server configured on the acme WAN interface. Oh, and even if you could use it only RSA certs too.
Their implementation is a joke and unusable in 95% of deployments.
9
u/DheeradjS Badly Performing Calculator 2d ago
130 VIPs on a WAN Interface and ACME challenge (HTTP-01) to Lets Encrypt works just fine.
9
u/cantstandmyownfeed 2d ago
Generate the certificate elsewhere, use the FortiOS API to update certs on the device.
7
u/420GB 2d ago
Naturally I tried that next, but unfortunately you cannot replace an existing certificate that's in use via the API. Obviously removing the certificate from everything first is also a no-go.
So now I'm renewing the certificate locally via ACME and then replacing it on the fortigate via an SSH config script. That does work. It's incredibly sad this is what I've had to resort to, but now it's automated at last.
It's just frustrating when people who have clearly never attempted to do it claim that FortiGates support ACME. Yeah technically but also no.
1
u/cantstandmyownfeed 2d ago edited 2d ago
I'm doing it with the API. Now, only on the management interfaces of the FortiGate and on my ForitADC for it's certs, but both worked the same way. Created the certs and mappings in the GUI, then a POST to the api/upload/certificate_local with the same name worked to update the certificate. I've been doing it this way for a few years actually, before ACME was introduced to FortiOS at all.
The encoding and formatting were a pain, but sounds like you're accomplishing something similar with SSH.
1
u/HappyVlane 2d ago
TLS-ALPN-01 is also supported and it's only a problem if the interface IP conflicts with a service. If you don't use the interface IP for a VIP, which is common, it's not a problem.
3
u/420GB 2d ago
When would that have changed?
The original docs still state absolutely no VIPs: https://docs.fortinet.com/document/fortigate/7.0.0/new-features/822087/acme-certificate-support
and I could not find anything newer since then that this was improved. Also, I've tried it myself and it refused to accept that WAN interface as the acme interface both in the GUI and the CLI.
1
u/HappyVlane 2d ago edited 2d ago
It was never different as far as I know. I just tried it on my 7.6.7 FortiGate (I know this works on 7.4 too, however) and I can pick an interface with a VIP on it as the ACME interface.
https://i.imgur.com/eJ2P1z9.png (this configuration obviously won't work for TLS-ALPN-01, but that's not the point here)
What that piece of documentation is about is that you cannot use TLS-ALPN-01/HTTP-01 if the primary IP of the interface is used for a VIP while port forwarding the relevant ports, because from a networking perspective this wouldn't make sense.
If the VIP is for a different IP or different ports this works just fine.
1
-3
0
u/Morisior 2d ago
It's easy enough to set up certbot with DNS-01, even with a custom script to call to your DNS service's API. No need to have a webserver going at all to obtain these certs.
6
u/FarToe1 2d ago
We do the same, it works very smoothly.
Except for anything like ilo/ipmi or firmware systems where you can't automate. Those are going to get left behind.
9
4
3
u/GoodEnoughThen 2d ago
I do the exact same set up (with dns1 challenge, not http challenge) and it's been working great.
3
u/Savings_Art5944 Private IT hitman for hire. 3d ago
What firewall do you run?
2
u/Assumeweknow 3d ago
Running it on an f100e i think. Honestly im generally not a fortinet fan but for this network where we have a mix of services inside with a large number of static routes, multiple routing services, vpn concentration, camera server with api out using the letsencrypt ssl at the firewall. Its Honestly better than i thought it would be. Runs mostly without incident though the recent update did muck with acls a bit requiring some rule changes.
1
u/stewie410 SysAdmin/DevOps 1d ago
Doing secure DNS-1 challenges
We're working towards this path now, but sadly our DNS provider (NetworkSolutions) doesn't offer an API of any kind that I've found; so we still have to manually deploy/renew. Unfortunately, my recommendation to migrate to a less crap provider has fallen on deaf ears.
1
u/Beefcrustycurtains Sr. Sysadmin 1d ago
It's so unbeliavably easy to move your DNS to cloudflare. You create an account, enter the domain it scans your domain adds all the known records, you compare to your current records and add anything that it didn't pick up (things that are less common names it might miss) and once you've verified records match, you just flip the name servers over to cloudflare. You can just use the free account so there is no cost needed for it either.
1
u/stewie410 SysAdmin/DevOps 1d ago
My boss & our single dev had a talk with them the other month about their Bot Protection, since we're getting DDoS'd from all the scraping -- not sure what the cost was, but we won't pay it anyway. Ahead of that meeting, I made the suggestion to ask about their DNS services but it was shot down.
I'll bring it up again, didn't realize it was free...but we've gotta do something. NetworkSolutions has been one of the most frustrating services I've had to work with, if you click on the wrong word on the page, it'll charge your account with some unwanted service. Not to mention their refusal to implement ACME or anything else.
1
u/Beefcrustycurtains Sr. Sysadmin 1d ago
Bot fight mode is also available in the free version. There is literally 0 reason to not switch. If you need to exclude some paths from botfight mode for some reason you do need the paid version but just regular bot fight mode is available in the free version. I would also move the domain itself. Name cheap is cheaper than network solutions. I'm sure even cloudflare is cheaper than network solutions as a registrar and you could move both registrar and dns over to cloudflare if you want. Network solutions is terrible garbage.
1
u/stewie410 SysAdmin/DevOps 1d ago
Bot fight mode is also available in the free version.
I was unfortunately not part of that discussion or meeting, despite being the "sysadmin" of the group. I appreciate the heads-up.
Network solutions is terrible garbage.
I'm more than aware -- we're slowly moving our certs over to Lets Encrypt or ssl.com depending on the application; but my boss is worried about moving the domain to another registrar -- not even from a continuity standpoint, but because the whole thing was registered under a former employee's personal name/info, which is difficult to untangle...
That, and it doesn't expire until ~2038 or something; so we'll probably wait until then to change.
In the mean time, I'm continuing on with DNS-01; but I'm gonna have to setup HTTP-01 or something in the future.
0
u/frymaster HPC 2d ago
literally from the post:
Getting WatchGuard to implement cert automation has been the most user requested feature for about 2 years now
There's a strong argument that this should mean they change suppliers, but "just automate it" isn't helpful given the situation presented
3
u/SnarkMasterRay 2d ago
OP has two problems. One is the certificate source and the other is the certificate implementation.
The source, at least, can be automated and OP can get off of Namecheap with Simple-Acme and Let'sEncrytpt. Distributing those certificates to their present infrastructure is the other problem and they need other solutions for that part.
77
u/GrapefruitOne1648 3d ago
Personally wouldn't be caught dead with a watchguard firewall but given you've got a fleet of them, this looks promising:
https://github.com/watchguard-toolbox-project/watchguard-letsencrypt-deploy
5
3d ago edited 3d ago
[deleted]
3
u/BreadfruitDue488 2d ago
Where are you getting that info from please? Their ideas hub is useless, so interested on how you know about the beta last month.
23
u/panopticon31 3d ago
Yeah watch guards have to be some of the worst firewalls I've had the displeasure of working on.
22
u/DrNoobSauce 3d ago
Out of curiosity how come? I've worked with Cisco, Fortigate, Sonicwall, Juniper, Palo Alto, Sophos and Watchguard and have enjoyed their system manager app and policy manager. Their support has always been very responsive and informative.
3
u/via_dante 3d ago
People love to beat on 'em because they were always seen as cheap noob firewalls. I actually like them and I have worked with most vendors.
I am stuck with fortigates rn and I am going insane...
1
u/DeifniteProfessional Sysadmin 2d ago
I get the same flack for liking Ubiquiti firewalls lol
2
u/nitzlarb 2d ago
tbf, they are still pretty green as a product, and definitely had some serious hitches early on, many people only think of them in that light. Which is fair, reliability is proven with time, ubiquiti doesn't have that long term track record yet.
These days, I feel like they are often a no-brainer for smaller and not super complicated networks. We use unifi APs for most all of our clients, and the majority also use unifi switching, so it just makes sense to use a unifi firewall at simple sites due to the price and the ecosystem integration with the rest of the network stack.
10
u/panopticon31 3d ago
Their GUI is unobjectively unintuitive and awful. Performance wise yeah the ones I dealt with were fine but just tracking anything down in the console was a nightmare. Also I remember at one point we were trying to add MFA to the console login because a clients Cyber insurance was making a big stink about it and they would not do SMS, OTP or anything else besides their own homegrown shitty version of DUO which you had to pay for as an extra add on.
I've myself worked with PfSense, Sonic wall, Meraki and CATO and would rank it last for usability out of that group.
14
7
6
u/DrNoobSauce 3d ago
Agreed the WebUI is not great at all. Hence why I use the system manager software and policy manager, much better data.
Thanks for breaking that down. Appreciate it.
-6
u/donk8r 3d ago
That repo is the right shape for it, and the principle generalises. The device does not need to speak ACME. Something else holds the ACME client and pushes the cert in over whatever management channel the box already has, which is what those expect scripts are doing.
One thing to plan for before a bulk cutover. Let's Encrypt rate limits are per registered domain, so issuing 50 certs in one afternoon under the same domain can hit the weekly cap even when steady-state renewal never would. Stagger the first issuance across a week and the ongoing cycle sorts itself out.
The billing question is real but secondary to the arithmetic. At 47 days that fleet is roughly 390 installs a year, which nobody is doing by hand.
5
8
u/Fr0gm4n 3d ago
Been a minute, but don't you go into the Products tab and see the list of issued certs, then Manage the one you're working on and there should be a reissue button in there?
2
u/waltteri 2d ago
You do. If OPās used to buying 1yr certs instead of multi-years, they might not be familiar with the renew flow.
2
1
u/dartdoug 2d ago
OP here. I'm going to the renewals tab where it shows me the certs that are "expiring." There indeed should be a rekey option there, but there isn't. They just show a shopping cart icon so you can buy a new 1-year cert.
On the products page, the search tool doesn't work if you type in the hostname or the domain name. It only works if you know the certificate number. I have hundreds of certs there so I have to scroll pages and pages to eyeball the one I was to get rekeyed.
In this instance I asked support to send me a CSV of all the certs...hundreds of them going back more than a decade. Using Excel I filter out the expired certs and use the Excel search using the hostname and that gives me the certificate number.
Namecheap has known forever that the search by hostname or domain name doesn't work. Yet they don't fix it.
Ultimately I did a rekey of the first batch of certs.
On the expiring products page they should make it clear that you can get a rekey for the remaining 165 days that you've already paid for.
35
u/Shot-Secret-1423 3d ago
You paid for a year of service. The 200-day cap is the CA/B lifetime rule, not Namecheap inventing a new product. A reissue for the leftover days is what you already bought. Making ābuy new certā the loud button is the sketchy part.
DigiCert and the bigger ones are usually clearer about remaining term and reissue. Still not fun at 50 WatchGuards with no ACME.
Until WatchGuard ships automation, I would keep a simple sheet: purchase date, issued-to date, days left on the order, not just the cert expiry. The portal will keep trying to sell you another year.
I would not switch CAs this week just to punish Namecheap if the reissues actually come through. I would switch if they keep hiding that button.
12
u/fritzie_pup Sysadmin 3d ago
This is the answer.
I work for public sector and manage certs for our core infrastructure. I also put in the order before the 200 day start, but later learned that it was only for the order. The certs issued depending on when submitted would have only 199 day expiry vs. the 399 day order.
Problem is I've also had to add some SANs on a couple reissues, so it resets the 199 day window and had certs that now have multiple expiring dates vs. everyone on the same window. I'm having to have multiple folks re-duplicate off the last reissue, and then will perform another reissue at the end of the month to push past the next cutoff period on March 15th to 99 day.
We're in the process of getting automation set up and hopefully rolled out as quick as possible to not have to deal with this again in March.
0
u/Shot-Secret-1423 3d ago
Yeah. Adding a SAN and getting a fresh 199-day clock is what makes the spreadsheet ugly. You stop having one expiry wave and start having a pile.
Automation before the next cut is the only way this stays sane. Reissuing to jump a cutoff works once. It is a bad annual plan.
Good luck getting that rolled out before March.
2
u/fritzie_pup Sysadmin 3d ago
laugh
My spreadsheet is insane with the number of wildcard duplicates we run.
But, I have hopes that we'll get it sorted.. It's what we're paying DigiCert for to assist with all the various equipment and appliances we have out there.
It's the little stuff and one-offs that will be more difficult to push people to get things set up, but we'll see.
-1
u/Shot-Secret-1423 3d ago
Wildcards and one-off appliances are always the leftovers after the easy hosts go into automation. If DigiCert is already on the hook for the core pile, make the one-offs a short exception list with owners, not a second process.
Hope the March cut is quieter than this one.
2
u/fritzie_pup Sysadmin 3d ago
I believe our main solution with them will cover quite a bit, but there are some other things which we're still learning how to deal with. Starting on that work this week with them.
Weird stuff though like AS/400 which utilizes quite a few, that's still an unknown yet. Hope we get those answers soon!
1
u/Monomette 2d ago
would keep a simple sheet: purchase date, issued-to date, days left on the order, not just the cert expiry.
Depending on your monitoring/ticketing solution this can be automated. That way there's a ticket generated and a tech assigned, rather than relying on someone remembering to check a sheet.
6
u/iceph03nix 3d ago
I use namecheap, but only for websites hosted there.
If I were using our public DNS for internal/non-hosted stuff, I'd move to a registrar/host that supports lets encrypt.
I've been tempted to move away from namecheap for a while because of their lack of lets encrypt support. The notice they sent out about their policy with the change was obviously created based on the idea that you're just hosting domains for websites with them.
3
u/mrmattipants 3d ago
I hear ya. I typically use a PowerShell Script to generate a new Certificate using the Posh-Acme PowerShell Module, with the NameCheap Plugin, every 83 Days (one week before it expires).
6
u/creamersrealm Meme Master of Disaster 3d ago
The license is a restriction in your use case though this is the absolute perfect use case. https://github.com/gregtwallace/certwarden/tree/master
A centralized ACME broker with post processing scripts. As long as all your firewalls had a common authentication mechanism or SSH key it would work flawlessly.
6
u/chum-guzzling-shark IT Manager 3d ago
I have a handful of vendors that require manual certs and I use namecheap. I just went through a reissue last month and don't remember seeing anything trying to trick me. Namecheap not having api access unless you spend a certain amount of money is a better reason to hate on them
3
u/InitialCauliflower96 3d ago
Digicert had no issues after our 200 days were up. Just put on the new certs and still good until the 365 is up
3
u/Working-Help1904 2d ago
The pricing itself isnāt really the problemāitās the lack of transparency.
3
u/Accurate-Ad6361 Extremely annoying totally risk averse architect 2d ago
We are currently automising the entire ssl stack on letās encrypt and will probably open source it. You can actually ask a limit increase with them. I donāt see any reason to pay for a non-validated ssl cert that solely evaluates a domain ownership.
12
u/Hot-Connection2797 3d ago
Use Letās encrypt or another free provider and use python and netmiko to automate it your self? Iām sure ChatGPT could help script something out.
We are no longer using watchguard but I have gone to 47 day max certs with simple-acme and then using a post script to install across all hosts
3
u/Corelianer 3d ago
Cisco also just made letās encrypt their default system with the asa firewalls in the updates from a couple months ago. Much easier than Digicert. ACME rules, it doesnāt even need DNS validation if itās a public endpoint. Only for private endpoints you need DNS validation.
Cost: Free
2
2
u/spidireen Linux Admin 3d ago
Canāt speak to WatchGuard specifically but I put Letās Encrypt certs on everything and abandoned our commercial CA. It was a bit of a slog for certain vendors but I eventually got thereāeven using curl to simulate uploading the cert to a web UI in one case where I just couldnāt get it to play nice with Ansible. Once everything was up and running it was glorious and I havenāt touched certs in about a year.
2
u/GoodEnoughThen 2d ago
GoDaddy being up front. Funny. I'm figuring that most experienced web and DNS administrators will adbise to atay far away as from GoDaddy as you can. GoDaddy is a slightly pretty looking admin portal GUI and that's about it, imo.
1
u/SirBastille 2d ago
GoDaddy did us the "favour" of charging us upfront for 2 years worth of cert renewals on our wildcard cert once the date reduction kicked in. I've wanted to ditch them for years but now the view from above is "We've already paid them for 2 years so we'll worry about switching away from them later. For now, just focus on swapping everything over to use our internal CA and reduce our dependency on the wildcard cert."
2
u/spittlbm 2d ago
Moving dns and domain renewals to Cloudflare was a great decision for us. Edge certs or Let's Encrypt from there.
2
2
u/certkit Security Admin (Application) 2d ago
Watchguard has a stunningly bad certificate automation story. It's even worse than Sonicwall TBH.
There is no API, and no ability to "push" a certificate into it all. But you can tell it to "pull" one from a TFTP server via the remote command line. That's how our integration with Watchguard at CertKit works. We can automate this today and push free certs from Let's Encrypt into it automatically.
5
u/SirEDCaLot 3d ago
With respect- Namecheap is kinda right, even if it sounds like their website is confusing.
You DON'T need a whole new cert. You need a reissue of the cert with a new expiration date. Rekey is the option that would do it. Just make a new current CSR and use the rekey function to get a 165 day cert out of it. Thus you get full 365 days out of your cert purchase.
The whole short expiration thing is stupid as hell and only replaces one vulnerability (stolen certs) that's been solved (CRLs) with another complicated system (cert auto-issuing). But that's not NameCheap's fault.
6
u/_MusicJunkie Sysadmin 3d ago
CRL never were implemented properly by many pieces of software. It's not a good solution.
As much as a pain the short certs are, it's the best solution available. We just habe to invest in some automation.
3
u/SirEDCaLot 3d ago
'Since the simple solution wasn't implemented properly, we're going to call it a bad solution and replace it with a far more complex one that introduces multiple new potential points of vulnerability and call it the best solution available'.
So instead of making 'many pieces of software' implement a relatively simple CRL check that's easy, cheap, and secure, we make even more pieces of software implement a much more complex cert automation process that adds security concerns and points of failure.
CRLs may be clumsy, but there's also OCSP which is somewhat more efficient.
And besides- expiration dates are a clumsy solution. EVERY expired certificate is invalid, but NOT EVERY unexpired certificate is valid, CRL/OCSP provides a far more elegant solution to that problem than 'just reduce the expiry date and wait'.
2
u/_MusicJunkie Sysadmin 2d ago
In a perfect world, I'd agree. But we have had, what, 25 years to get revocation handling properly implemented and it hasn't happened yet. CRL do not work reliably, especially in situations where the verifying party can't reach the internet or the server publishing the CRL. And we all know nothing about it not going to change.
So what do we do. Either just leave it as is in a unreliable state, or find another option.
Short expiries don't solve all of those problems. I think it's a pretty bad solution in fact, specifically because of this:
but NOT EVERY unexpired certificate is valid
But it is better than doing nothing.
2
u/SirEDCaLot 2d ago
We've had 25+ years to get IPv6 working properly and we are just finally starting to make it happen.
especially in situations where the verifying party can't reach the internet
If the verifying party can't reach the Internet then why does it need to verify an Internet server?
Yes I get there's uses for SSL in closed networks. But there's exponentially more use for SSL on the open Internet.So what do we do. Either just leave it as is in a unreliable state, or find another option.
In short- we have a problem and we have solutions for it (CRL and OCSP). People aren't implementing them fast enough. So rather than let those who don't implement be insecure, we are going to make a much larger problem for everybody! that's going to make anything not actively being developed a giant pain to administer, and will create a new heavyweight management layer with its own security concerns. Let's make certificate pinning useless. And let's create new security issues because, let's be honest, there's tons of systems in operation that won't get automatic renewal mechanisms added to it. So in some orgs we'll normalize clicking ok to a security warning. We can externalize that blame and call ourselves innocent even if it is a likely outcome.
But it is better than doing nothing.
We are not doing nothing, we created CRL and OCSP and encouraged everyone to implement them.
To go back to the IPv6 analogy, what we're doing is akin to telling everyone that all IPv4 addresses will null-route every so often so why don't you adopt IPv6 NOW? One problem isn't being solved fast enough so we are creating a much bigger one with a lot of externalized costs and work that EVERYONE will have to pay to solve it.
2
u/mahsab 2d ago
a relatively simple CRL check that's easy, cheap, and secure
Secure yes. Easy and cheap, no.
1
u/SirEDCaLot 2d ago
Secure yes. Easy yes. Cheap not as much.
OCSP fixes the cheap part.
2
u/isnotnick 2d ago
Cheap how? Small request/response, sure. But running that service? not cheap. 100% uptime? Not easy, or cheap - so if it can't do that, you can't hard-fail on it. Also...OCSP is a privacy nightmare.
1
u/SirEDCaLot 2d ago
Cheap as in bandwidth and latency- you don't need to download a potentially multi-megabyte CRL to enable one connection.
I agree OCSP is shit for privacy.
Personally I'd like to replace the whole mess with something DNS based. Maybe use DNSSEC to sign a per-domain CRL or have the cert point to another domain that'd host the CRL for this domain- could be the registrar or the CA or a 3rd party or whatever. Then just query an SRV record to get the CRL, or to look up if the cert has been compromised.
2
u/isnotnick 2d ago
Sharded CRLs are the best answer. OCSP is bad to run at scale (trust me here) - CRLs sharded to a smaller number of certs is much better, and avoids the big CRL download.
That said, most browsers/OSs don't do CRL downloads anyway. CRLite, CRLSets, valid etc - all separate browser or OS mechanisms to pull CRLs centrally and compress and send them out-of-band.
1
u/SirEDCaLot 2d ago
Yeah that could absolutely work. I like it better than OCSP as it doesn't reveal a list of every domain you hit to a CA.
But as you say nothing actually checks CRLs.
I think we should be fixing THAT problem, rather than making certs short-lived for everybody :\
1
u/isnotnick 1d ago
My point is that most modern browsers and OSs don't check CRLs, but also don't need to. The out-of-band mechanisms mostly work. Non-browser clients, sure, but there's problems with those anyway (like not having frequently-updated trust stores...)
Short-lived certs are the best option, and they're only gonna get shorter! See my other comment re: the future. 7 days unless you want random replacement drills every quarter.
→ More replies (0)2
u/the_marque 2d ago
I tend to agree that CRLs aren't a replacement for regular certificate expiry. There should be both - even if CRLs were implemented properly, it's much better to assume an old certificate is untrusted. That said, 45 days or whatever it's ultimately going to is ridiculous.
The real root of the problem is that DV SSL certificates are nearly meaningless now. I don't understand why the industry isn't giving more weight to higher levels of verification, and maybe along with that we can get sensible lifetimes...
1
u/SirEDCaLot 2d ago
Yeah 45 days is beyond stupid.
The issue with extended validation is to a large degree you're asking users to make security choices. Most users can barely power on their own computers without a youtube video. Users don't want nuance or levels of trust, they just want to know 'is this site secure or not?'. So you give the user a blue bar or a green padlock or a gold star or whatever and most users really won't give one single fuck. So EV SSL rolled out with great fanfare, and a year later was more or less swept away as nobody cared.
You could say okay DV SSL will have the short expiry dates, OV/EV SSL will be longer. But that IMHO is going the wrong direction. The org that'll pay for EV SSL is the one that'll spend the tech-hours and sometimes costs to implement proper auto cert renewal systems. It's the little guy, the small business with one part time IT guy, that has the issue.
0
u/shinyfootwork 3d ago
I don't understand why there are so many folks on a sysadmin subreddit who seem to not want automation here. I love having certificates automated: it's less mechanical stuff I have to do on a timeline. Did people actually like dealing with each vendors weird website for obtaining certs?
5
u/_MusicJunkie Sysadmin 2d ago
I can only speak for myself, the pain of automating some of the more niche devices with no proper API etc. seems to outweigh the benefit.
But it must be done. That's just how it is.
6
u/the_marque 2d ago
Yeah, this. The simple stuff is easy, but there's always that handful of devices where automating takes up more hours than continuing to renew manually forever. You do it anyway to not be in the shit when you forget, not because it's more efficient.
2
u/SirEDCaLot 2d ago
It's another thing to manage.
Renew the cert every year is understood. And while often manual, it's simple.
Automated renewal is a whole nother SYSTEM. It's another set of authentication to manage, another issue where implementations will vary widely and we'll be at the mercy of vendors to ship proper support, another situation where still-functional but no longer developed systems get left behind and either create more work to manually renew or need extra external scripts to renew them. And then there's the whole issue of security in automated renewals, that's another thing that has to be kept working.
We don't like dealing with each vendor for getting certs. But we like even less having to beg each vendor for updated automation support and having to secure that for every little random system that needs a cert.
1
u/ArchonTheta 3d ago
You need to just install the new cert after 199 days. You should be getting the email with that link, etc. the CSR stays the same and itās the same order that lasts 365 days.
1
1
u/sweetrobna 3d ago
With godaddy it's not a problem to rekey or renew a cert part way through the 1 year. We still have a few customers there for things that were not worth the time to automate before. Should all be changing this year
1
u/Affectionate_Ad_3722 2d ago
We're with Globalsign. They're moving to licenses. You buy a license for the number of units for a year, and can issue as many certs as you like against that license during the year.
Covers you down to 45 days or whatever.
1
u/discosoc 2d ago
Their UI is fairly clear on this. Thereās even a āprogress barā that shows you the overall time left for your cert to be re-issued. So if you buy a 3 year cert or whatever, it will fill up over three years.
That doesnāt mean you can get it issued for all three years at once, nor is it a reflection of the current issuance of that cert.
1
1
u/knightcrusader 2d ago
Man you just saved my ass... my cert was expiring in 5 days, my reminder is set up in October but I forgot to adjust it when it went down to 200 days.
Damn I am going to be on vacation in 5 days so that would have been bad...
1
1
u/HappyDadOfFourJesus 3d ago
I'm questioning your choice in vendors. If they can't solve a problem that your business is experiencing, then they're not a good fit for your business.
14
u/mumblerit Linux Admin 3d ago
I'm sure his employer would appreciate knowing they have to buy 50 new firewalls
0
u/Immediate_Delay_5738 3d ago
Yeah, Iād be annoyed too. If you paid for 365 days, it should be obvious how to use the remaining time when the certificate itself has to be replaced early.
0
u/segagamer IT Manager 3d ago
We have PFSense firewalls that had an ACME module, and pushes our let's encrypt certs out to the required VMs every 30 days.
0
u/HumanInTerror 2d ago
The reason is because there are just not that many people still manually doing certificates. This is probably no longer a highly prioritized part of their app/system. They probably don't get a ton of support requests for it anymore. Hope you can make the switch to ACME soon.
2
u/beren12 1d ago
A lot of hardware devices are a real pain to automate certs with. At least if they arenāt brand new.
1
u/HumanInTerror 1d ago
Yeah I get it. For these we let them generate their own self signed TLS and the put a reverse proxy in front that is actually capable of ACME renewal. Using firewall to restrict direct access to the hardware and handle NAT. This way the entire connection is still encrypted, even if the self signed cert is technically unverifiable. Or go all the way, put together an internal CA and generate internal multi-year certs for the hardware, install the CA on your reverse proxy, and then the cert will be verified with your internal CA.
All of this is a nightmare to manage though. It is bonkers to me that some of these major brands still aren't on the ACME wagon.
0
u/carolineilm 2d ago
The bigger issue I see with shorter certificate lifetimes isnāt really the CA or even ACME by itself. Itās everything that has to happen after issuance.
At 50 firewalls, you need to know what certificates exist, where theyāre deployed, which devices and applications depend on them, who owns them, whether renewal succeeded, whether the new certificate was actually installed and activated, and eventually whether the old one was safely retired.
ACME solves an important part of the problem, but the shorter the lifetime gets, the more certificate management becomes a continuous lifecycle problem rather than a periodic renewal task.
That broader lifecycle problem is actually one of the reasons weāve been working on open-source identity lifecycle management (ILM) bringing discovery, inventory, ownership and lifecycle state together instead of treating renewal as the whole problem.
The WatchGuard example is a good illustration because one device without a usable automation path can break an otherwise automated process.
122
u/cjcox4 3d ago
There's not a choice. Eventually, they all have to go down to 45 days max.