230 points · by jacquesm · 6y ago · 218 comments
* Let's Encrypt - the actual CA
* certbot - probably the mentioned python software
* ACME - the protocol, which had a change in the supported challenges
Also there are alternatives for all three points. There are other CAs implementing ACME, there are other ACME clients and there are still CAs supporting the old 'send an email and click a link' domain validation.
The not-for-profit is named ISRG (Internet Security Research Group) and so that's the entity trusted to actually run the Certificate Authority. Let's Encrypt is in some sense branding for this their main (only?) activity the same way you can still buy certificates with Thawte branding even though Thawte hasn't really existed for many years.
ACME is an IETF standardized protocol and so one of the things which has changed at Let's Encrypt is they gradually migrated from the ACME prototype they'd built and shipped to something that's (more or less) compliant to the IETF standard.
This is akin to how today Google's own web sites can talk Google's QUIC protocol (sometimes referred to as "gQUIC") but Google intends to rip that out once the IETF QUIC standard is published and have their sites just speak the standard QUIC instead (there may be a brief overlap where they speak both but it's likely to be very short because maintaining two protocols is far from free)
And to this day strongly promoted (recommended first option) right from the letsencrypt.org starter page:
> Let’s Encrypt is a CA.
> We recommend that most people with shell access use the Certbot ACME client.
You deprecate interfaces like these but you don't just shut them down, especially not when they are still seeing major use.
Just imagine that tomorrow IPV4 would be shut down because we've all had enough time to switch by now.
Especially when dealing with certificates, where the security is one of the top reasons to want to go there.
Is there any supporting evidence for that because the only thing I have been able to find so far is that it was simply superseded by a newer version, mostly to support wildcard certs. What holes there were in V1 were closed within a day or two at most.
Honestly? I would absolutely love to watch that shitshow.
Firstly the islands of IPv6 grow until they begin to dwarf the supposed generally interoperable ocean of IPv4. Big home ISPs, major CDNs, bulk hosts, AWS, and so on.
Somewhere around this time you'd start to see events reported where "the Internet" was down for lots of people but it was the IPv4 Internet, which they are increasingly not using so they didn't actually notice. "Your Internet was down" "No it wasn't, I was on Facebook all afternoon" "Right yeah, but other than Facebook" "I watched a movie on Netflix" "OK, other than Facebook and Netflix" "I got a mail from Jeremy on GMail" "OK, other than Facebook and Netflix and GMail" "Not much of an Internet". Happy Eyeballs, the algorithm that allowed IPv6 to be deployed in dual stack environment successfully, now allows IPv4 to ramp down imperceptibly.
Now, with the "ocean" so small, increasingly medium sized operators ignore it entirely, opting just to maintain translators at the edge of the IPv4 Internet, maybe your ISP does this, and you can't get "real" IPv4 addresses, although many of you already don't so this wouldn't be a change.
The last major steps taken by "the Internet" look like this:
The tier one providers who by that point are also more or less the global telecommunications companies, begin to deprecate IPv4 service, seeing it as a niche product that can better be serviced by specialists in your locale. Increasingly the only practical route from one IPv4 address to another IPv4 address is via two translators and IPv6.
The RIRs discontinue management of the namespace/ numberspace for IPv4 and so the allocation of IPv4 addresses ceases to be globally co-ordinated. The IPv4 Internet no longer formally exists, just many islands of legacy IPv4 in an IPv6 ocean which happen to have mostly discontiguous addressing.
Incidentally, my imaps certificate isnt renewing automatically any more. Cant bring myself to debug it. Which just proves the TFAs point.
but your main point is good: why should the average end user care. i've had the same frustrations with certbot - it tries to be too smart and too magic, and i want to better understand what it's doing. thankfully, the ansible letsencrypt module exists, and behaves in a much more understandable way to me, and that's why it's important to point out the distinction between letsencrypt and certbot - you don't have to use certbot, and everybody who uses letsencrypt should be aware of that. because the author is correct, certbot is kind of a turd, but letsencrypt is awesome and it would suck for people to stop using letsencrypt just because they don't like certbot.
Some script bunch that adds layers upon layers of VMs?
My website is all static (and private use) so I don't really have a reason to run SSL on it. Make it hard, and I'll give up on the security theater.
If you've built a system where silently failing is a problem, and you haven't configured any sort of "email me when anything isn't nominal" then you haven't finished configuring your server.
Software updates happen. Unattended updates are a thing. It's not the ninties anymore... You can't hook something up to the internet, chuck it in your closet, forget about it for five years, and expect zero issues. You need to pay attention to it.
This kind of contempt for users is why I try to avoid using any libraries/software written in Python. Somebody always thinks their minor backwards incompatible change is such a precious snowflake that it justifies wasting collectively thousands of hours of users' time debugging and updating their stuff to work around it.
Don't blame the messenger.
My whole reason for switching to LE was that it was announced as an automatic way to upgrade certificates. So it required less of my attention than before. Or at least, that was the spiel.
And that is why we run it. But we still monitor.
First we pipe stdout things to syslog via logger(1) to record each run in cron; however stderr is not redirected so we get that sent to us. Further, in our hook scripts, we have an "apache2ctl configtest" when a cert is renewed to verify that Apache (or equivalent) can read the files correctly, then we do the restart/reload. The configtest is sent to stderr as well so we can track when renewals happen and when there's an issue.
On top of all that, we don't actually trust our ACME client(s) to work properly all the time, so we check the expiration time on our certificates. We're monitoring the HTTP(S) service anyway, so adding another check doesn't add much cost.
And all this runs in the background silently and it only becomes top-of-mind really when it shows up in our service alert dashboard.
The difference for me is that Let's Encrypt has required this kind of manual intervention more often than the previous status quo. Previously, I would put an item on my calendar to renew the free StartSSL cert, would do it on schedule, and things would generally go off without a hitch.
For me, the automatic renewer has fallen apart multiple times (for several reasons, including failing to reload nginx after renewing the cert), more than once a year on average, and worse still, they don't fail on any kind of regular schedule. I'm not a pro, just someone who wants a cert for my personal site, so I don't have any complicated monitoring system set up. This means I have to regularly remember to check up on certbot and see if it renewed the cert this time.
Criticism of the "official" client was also very loud from the start.
I do agree that LetsEncrypt has been a constant source of maintenance problems over the years. For example now, I have to switch to another alternative acme client, since the old one doesn't seem to be in active development anymore...
However, certificates used to be expensive, even unaffordable for some projects.
Of course that was a bit trenchant, however you're complaining about a promise that was never made. No one ever promised that you could setup a old certbot instance and it was out of sight and mind for perpetuity. There are any number of issues that can occur, and honestly if one expected certbot to run without issue, having it automatically updating as well seems to be a base minimum.
Also worth noting that LE was early with ACMEv1, but a lot of alternatives started with ACMEv2. ACMEv2 became the common standard.
I can see people falling into the trap. They run Linux their whole lives, and it never failed them. Then they introduce something new, like Certbot, and for the first time, there's a hiccup and they get frustrated :D
If I have to pay attention to it four times a year and regularly spend a day updating software I didn't want to have let alone update, I should have just paid GoDaddy or whoever their $100 grift and only had to update the cert once a year and not hunt down stupid error messages and look for release notes on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying 'Beware of the Leopard.'
Amazon haven't done something this stupid with their 'free" ssl certs for load balancers, and you know why? Because the provide them to "customers", not to "early adopting cheapskate beta testing schmucks"...
because they control the software on both ends and can update certificate clients on the load balancers anytime they want?
I think one thing that's missing from the discussion is scalability.
Sure you can pay a CA for a cert that is valid for a year, but you still have to do your update dance once per year per site.
With let's encrypt, you write an Ansible playbook (or whatever it is you use for automation) once, run it everywhere. You select a TLS monitoring service (or run your own) once, enter your URLs, and you're done.
You only have to intervene when problems arise (and that can happen with CAs that you have paid as well).
https://aws.amazon.com/blogs/database/amazon-rds-customers-u...
I mean, I built a system years ago then got a full time job. Shit breaking every 3 months is kinda bad for a hobbyist website / blog. Even when the monitoring is in place, there's ample room to decide 'you know, family emergency is more important than rearchitecting my TLS certs again.'
A simple debian VM + nginx + $app_server with automatic updates turned on is not rocket science, and I struggle to see why one shouldn't run that as a hobbyist.
There are a lot of people who are going to get tripped up because they aren't really system admins. Or it might not be that important if it fails. If you only have to mess with it rarely, then it's probably not critical.
But for people who spend a substantial amount of time with their hands in servers, this comment is spot on.
Ouch! This is just too bad. I suggest we go back.
You should. 2 examples: - the average age of the planes for major airliners is 20 years. Maintenance - yes, retrofitting the cockpit every year just because a vendor decided to change the protocol for the sensor or control, no - about 18 years ago an intern in my company built (with external developers) an application for internal use; today the intern's career reached senior director level, left the company, the application is still used on a regular basis by every single employee; the only change was to move it from a physical server (there was no virtualization in 2002) to a VM. 5 years is not an unreasonable expectation from a damn thing to work without pampering
Civilian airliners don't face a HUMAN DRIVEN ADVERSARIAL ENVIRONMENT for general airspace. In the rare occasions they do, everyone dies. Internet connected devices all do all the time, and indeed that is the entire point of all these security measures and upgrade requirements. I don't know why this is such a frequent screw up in comparisons by people complaining about security. Why bother with TLS at all? Plain old http is a ton simpler and easier. Why not just run everything as root? Etc etc. Systems were much simpler and more hackable back in the day, but running that way these days is simply not doable.
If you wanted to compare to planes, the proper comparison would be military aircraft. And those do indeed have constant block updates over their lifetimes to ECM, comms, weapons, etc. Dealing with an adversarial environment with intelligent adapter attackers requires adaption in turn.
I have a suspicion that many, many engineers don't conceive of networked systems as participants in a human-driven adversarial environment. Many conceive of their software systems as little artifacts that function mostly independent of the outside world. When complete and functional, they should require no touching at all to continue doing so.
In other words, many people regard their computer systems as mechanistic and discrete things that can be declared "done" and treated as such. Many engineers work in shops where this is indeed how they work - ship a package and someone else does all the touching to keep it going.
I'm sympathetic. It took me a long time to make the jump to understanding software as operating services that always require maintenance, monitoring, and other forms of operation. Modern computers on modern networks simply cannot be treated as toasters if we want that level of reliability.
The paradigm shift isn't always easy or fun.
Paying attention doesn't mean that you have to personally look at it every day. Set something up to let you know when something isn't right.
And as you mention: planes get maintained. Nobody lets a plane fly for 20 years without paying attention.
If you want that level of support you need to pay for it, and you can by using other CA:s. The rest of us we can use letsencrypt.
[1]: https://github.com/go-acme/lego [2]: https://github.com/acmesh-official/acme.sh [3]: https://github.com/diafygi/acme-tiny
Been a while since I last needed to get involved with letsencrypt stuff but I've always used and liked: https://github.com/acmesh-official/acme.sh
Ansible's letsencrypt module was also not bad last time I used it: https://docs.ansible.com/ansible/latest/modules/acme_certifi...
Admittedly I'm somewhat slack about maintenance on my own mailinabox system, so it took me ~12 months to get around to going through the upgrade process, which was pretty painless.
It was just a case of backup/re-image/setup/restore on the same machine, took maybe an hour?
(But yes, it would have been nicer to have a better rollback point than that).
I'm with the OP here. They claimed they were going to simplify and solve a problem I had "OMG, remembering to renew certs every year???". They've replaced it with a three tier set of new unknown problems that fingerpoint at each other claiming not our fault!" and potentialy explode in my face at least four times as often. Sorry, but "free" is too expensive for that.
But it has 1 problem in that you can't do DNS based validation with it, which means no wildcard certs. Generally speaking I prefer DNS validation even without wildcard certs too because it means your web server only ever has to think about serving the certificates. Your web server doesn't even need to be up to do a challenge request when you use DNS challenges.
I've moved onto using acme.sh and it's been very good. It supports a lot of DNS host APIs too (DigitalOcean, Cloudflare and like 50 others).
Reading Jacques' post made me wonder WTF was going on, especially "The machine that this is all running on will need a much more recent version of its OS." Oh, right, the reference ACME client written in Python.
* https://github.com/dehydrated-io/dehydrated
The hook.sh allows for a lot of flexibility.
I personally prefer tools to handle there things for me. Don't like writing script manually to achieve them.
* https://github.com/dehydrated-io/dehydrated
All you need is Bash/Zsh, OpenSSL, and cURL.
> the situation hasn’t changed and if it worked last time it should still work this time
The situation has changed though - who knows what vulnerabilities had to be addressed in any of the dependencies or the protocol. Just because you forgot about it doesn’t mean others did.
I’m not a fan of automated software updates and believe they should be restricted to just essential security patches (where the risk of a vulnerability is greater than the potential to break a system)
> You would not have known this unless you interacted with Letsencrypt on a daily basis, but like most of these things their whole value lies in NOT having to interact with them all the time.
There’s plenty of stuff that we interact with on an infrequent enough basis that we can get caught out when something changes and we realise we didn’t know and maybe had little way to know.
This is just impossible to avoid in the real world. The only way to address it is better communications.
I generate my LetsEncrypt certs in docker containers mainly because of all the dependencies and that it’s clear it’s still evolving. Maybe in 10 years time it’ll be as mature as a nix shell command like ‘ls’.
Well, if there were unsolved vulnerabilities in the V1 of that protocol I'd like to know about them, but so far all I have seen are vulnerabilities that were typically solved within days at worst.
Letsencrypt is not a piece of software you install on your systems. You're probably thinking of certbot, which is just one of many available ACME (Letsencrypt-compatible) clients that can manage your TLS certificates. I've used dehydrated and acme-tiny in the past, both work well.
The article is also devoid of any details on what the weird technical issues you ran into that make you think you need a completely new machine. For all I know the machine was running a 10 year old version of OpenSSL.
I assume the change in the challenge protocol being referred to is ACME v1 to ACME v2? Why not just say this outright?
This is such a shitty mischaracterisation of how LetEncrypt markets themselves. Typical "move fast and break things" kind of victim blaming excuses for a total lack of professionalism on their part. Want to be a part of a significant portion of the web's security stance? Take some fucking responsibilty for making sure you don't break crap and then claim "It's not LetEncrypt, it's ACME!!!" This is why so many managers keep signing off on huge Microsoft bills. They might ship crap, but they rarely break your productions systems on you like this...
> I assume the change in the challenge protocol being referred to is ACME v1 to ACME v2? Why not just say this outright?
Because this has now happened twice, for entirely different reasons.
The first time letsencrypt-auto totally hosed a machine, the second time mail-in-a-box (which was otherwise humming along just fine) spat out an incomprehensible error about it not having enough authority to request a new certificate even though nothing whatsoever had changed on that machine.
I manage over 20 client domains over a dozen servers. Have letsencrypt protecting them all. The only time I needed to manually intervene after the initial domain + SSL setup was to upgrade to ACME v2. Everything generally works out of the box with Letsencrypt + Certbot.
The real issue was a deprecated protocol, one that - as far as I know - could have been kept running at zero cost to LE because it already worked just fine.
Fair, I also don't like certbot as a software, hence naming alternative ACME clients. Though to get to a point where it completely hosed a machine sounds impressive.
> the second time mail-in-a-box (which was otherwise humming along just fine) spat out an incomprehensible error about it not having enough authority to request a new certificate
As far as I can tell, Mail-in-a-Box doesn't do any Letsencrypt certificate management so this confuses me.
I find it hard to support your conclusion that this is Letsencrypt's fault and not, for example, Mail-in-a-Box.
Letsencrypt shut down a protocol version that Mailinabox critically relied upon and which worked flawlessly as little as a few months ago. There never was - as far as I could see - a user visible warning or a warning to the email address supplied with my Letsencrypt certificates that something was about to change and I'm not in the habit of monitoring each and every such component. Especially not because the whole idea of Letsencrypt the way it was originally promoted was that a free CA would allow for automatic updates of certificates taking away a pain point: to remember to upgrade your certs once per year. Even the biggest orgs got bitten by that one. So we now have 90 day valid certs that get replaced automatically because 90 days is much too short to do it manually.
But then renewal and issuing of new certificates should be as stable as they could possibly be and changing protocols without backwards compatibility does not fit in that particular playbook (at least, not according to me).
This is the wrong order to think about it, and that's a little bit important or I wouldn't mention it.
They want to drive automation and robots don't have wallets. The Let's Encrypt service has to be free at point of use because if it costs say $1 per certificate then automating it becomes much trickier as you need to give the automation a supply of money to buy certificates and now you're solving a hard problem you didn't need to have.
If the first goal was to make it very cheap, you can see how to get to say $1 certificates pretty easily from where we were already, and since name owners are likely spending a few bucks per year on the domain name that probably counts as success. But once you set the goal as automation a $1 certificate is only slightly better than a $100 certificate, because adding some sort of payment mechanism for an automated service is a big problem.
Now, being free at the point of use is also good for other reasons, but I think it'd be a harder sell without the technical argument.
Certbot is not a replacement for a sysadmin.
DevOps is not a replacement for a sysadmin.
DevSecOps is not a replacement for a security engineer.
DevSecNetOps is not a replacement for a network engineer.
You need to have someone with the skills who applies those skills to your systems, or else you are hosed. This has always been true and is likely to always be true.
The good news is that cooperative projects make it easier. Let's Encrypt, the Debian project, the Google security hole finders, the whole CVE infrastructure -- the people working on these add an awful lot of value to the world.
As for the rest of your comment, you are somewhat underestimating what I can do but I like to automate away that sort of work because there are more important things in life.
And I expect things, once properly automated, to continue to function unless I mess with them. These cascading failures caused by some policy change elsewhere culminating in millions of installations having to go through sometimes costly upgrades are not the future I had in mind when I started my career in IT.
But I am surprised at the attitude of "this automated system will continue to function". It's never been true in connected systems that care about security, and it's only true for limited timelines for independent systems. In the long run, everything decays.
I can't speak for Jacques, but when I deliver software, I try to avoid any breaking changes for as long as possible. In the event that breaking changes are absolutely unavoidable--and there seems to be a question about whether that applies in this case--then I communicate clearly beforehand in simple terms about WHY the change is necessary, and WHAT the steps are to implement it, and I ensure buy-in on the part of those using my code. I try to make such changes as simple as possible, preferably "run this script and check the simple expected output."
That does not seem to be the focus here. The update might not have been strictly necessary in the first place, and if it was, it wasn't communicated consistently well to customers, and the communication doesn't seem to have been so simple and straightforward, either. Barring the communication, humane error messages would be nice, but those are also lacking.
I guess I would add to your list: when a company hires sysadmins, security engineers, and network engineers, they should also hire some UI people and good product managers to communicate with the outside world.
If you don't know who the sysadmin is, it's you.
Brilliant. I'm printing this out and taping it to my wall.
Egress traffic is cheaper too I believe.
After searching for the error in the logs, I landed here: https://community.letsencrypt.org/t/end-of-life-plan-for-acm.... I missed the whole ACMEv1 deprecation notice. I thought autocert would take care of this (and it does), except I had not updated to the latest version of the library. Everything was resolved after updating the library, but I still had to clear my local HSTS to verify. This would not have been acceptable if there were actual traffic going to that subdomain.
I guess the lesson to learn is that even though many of the barriers to automatic certificate renewal have been removed, I still have to keep up to date on breaking changes and deprecation notices, especially if updates only happen every couple of years.
https://letsencrypt.org/docs/acme-protocol-updates/
https://community.letsencrypt.org/t/end-of-life-plan-for-acm...
So this has been planned for quite some time, and if you have a current Letsencrypt client, it should keep working seamlessly.
But yeah, if you have servers running an old OS release that won't get a new certbot version, that's gonna suck.
With Letsencrypt being by far the most popular ACME provider, if they kept running the old version even optionally, there would be very little incentive for clients to start supporting the standard instead of the POC.
I can understand how they don't want to be the IE6 of CAs.
> In November of 2019 we will stop allowing new account registrations through our ACMEv1 API endpoint. _Existing accounts will continue to function normally._
The only difference with what was before letsencrypt is that certificates have a relatively short life, so a problem can appear sooner than it would before and it's automated. Like everything automated, it involve tools, infra and maintenance.
Generalizing: many projects would benefit from taking a more user-centric view of the world. Your project is not the center of the universe. It is not the main life focus for your users. Your users have things to do and places to be, and your project is just a tiny portion of their entire life. Take that into account when making decisions.
So how exactly are they supposed to handle a breaking change? Just never have any breaking changes, ever? What if a breaking change is necessary for security reasons, with security being, after all, the primary reason for the project to exist at all?
Absolutely, that is the correct answer.
If a breaking change is absolutely needed that implies a new major release number, but never, ever, break compatibility in the current major release family.
If a security-critical issue cannot be fixed without a breaking change, you make that breaking change. Anything else is irresponsible, as is the desire of users to keep running insecure systems to avoid the effort of updating them.
If they can't run a reliable professional service doing it for free - stop lying about that and claiming you're a valid alternative to buying certs once a year from incumbent vendors.
A very expensive paid service might be able to offer direct support that walks you through the upgrade procedure in common setups, that's about it.
So far, I had exactly one frustrating moment with LE (or was it certbot?). I've created AAAA records for a domain, but didn't set the nginx up to accept IPv6 connections. Certbot failed to fetch the certificate with some strange message. I figured it out. It was not that bad.
Letsencrypt is a blessing.
At least for Ubuntu 20.04, Letsencrypt does not require you to install the Python stack for certbot anymore and switched to a Snapd package. Although at least I had to install Snapd for that matter.
I use acme.sh with dns, it just plonks a certificate in a directory of your choice and runs a reload command of your choice. I actually upload the certificate into a kubernetes cluster. All repeated by cron
Tried doing the same with a Ubuntu 14.04 server. That failed totally while installing snapd on it, which replaced existing upstart init system with systemd. This caused no services to start on next reboot.
> At least for Ubuntu 20.04, Letsencrypt does not require you to install the Python stack for certbot anymore and switched to a Snapd package.
To be clear: the snap is available and maintained by upstream. If you want the latest version of Certbot directly from upstream then the snap is the easiest way to get it. However Ubuntu 20.04 itself also ships the deb as packaged so you can use that if you want, and the "pip install" method in a virtualenv also works (but IMHO is the least maintainable method; it's more useful as a building block for other mechanisms).
https://github.com/dehydrated-io/dehydrated
I've got only good things to say about it. It's a single shell script, making it super easy to install and start using. It's quite configurable, but has sensible defaults and just works without demanding much operator attention.
Configuration was easy, I just ended up writing a simple shell script for the deploy challenge hook, to copy the certificates and reload configurations on nginx etc.
The two times I chose to intervene were straightforward too. The first was because of the ACME protocol upgrade, for which I just needed to drop in a newer copy of dehydrated, and rename references to its old name. The second was because I needed to configure the ACME DNS challenge to get a wildcard domain, and that just involved modifying the deploy challenge hook to temporarily run a custom DNS server that responded to the challenge.
I did take a look at certbot, or whatever it was called back then, and decided against it quite quickly due to the perceived complexity. Also I seem to recall it didn't support nginx properly.
After reading this user review, I'm quite glad I did that. Though I do wonder why the author persisted in using that client despite all the problems they were having with it, given the choices available in the wider Let's Encrypt ecosystem.
Also from an architecture standpoint, the post seems to suggest that OP has certbot running on a variety of machines throughout his infrastructure. If you have many servers relying on letsencrypt, you probably want to centralize generating certificates somewhere, and have other machines pull from there.
Web browsers no longer support 5 year certificates. The new maximum is 1 year as of last week, with a view to make that duration even shorter over time as certificate renewal & automated updates become more widespread.
https://nakedsecurity.sophos.com/2020/02/24/apple-chops-safa...
I'm very much against updates that break things, move things, surprise the user, include bloat and a hundred other violations of trust that get pushed upon users. And this is actually a nice case of such a thing: a protocol on a server that I have no control over got changed. And that now requires me to do a bunch of work to no gain for myself and at the expense of a bunch of time when when I had other plans.
The people who are benefiting from Let's Encrypt are the least technical who can't even SSH into a server. They get the certificate from their hosting provider automagically. It's reasonable that LE and the people writing software for it will focus on them rather than another developer doing a manual integration.
There's a variant where you don't need CF: compile/install Caddyserver on your box, let it handle the LE certificates by itself, and use it as a reverse proxy to deliver the request to your current webserver.
Caddy being a stand alone binary (it's even possible statically link GLIBC), you can even work yourself around an old distro and dependencies nightmares.
Caddy's config file is on par with Nginx in terms of simplicity, the learning phase is quiet small, I would even say nonexistent for someone with a technical background as OP.
... MITMs all your user's traffic through a company that's made questionable ethical decisions in the past.
:sigh:
Saying things like
> hey should just shut up, sit in a corner and do their bloody job. seems unnecessarily blunt.
And if you don't like Let's Encrypt, don't use it. It's being compared to convenient paid services, so why not use those instead if they end up being more convenient for your usecase?
On the assumption that you are using a free gmail account: would you agree that Google could shut down the free tier of gmail tomorrow unless we all move to Chrome and it would be our problem to deal with the consequences?
Yes.
Financial considerations are the big driver for letsencrypt. Not sure why OP think otherwise ? Easier and convenience is secondary and served by certbot/acme.
This is why I always run certbot inside of a docker container.
> The machine that this is all running on will need a much more recent version of its OS.
Again, same thing: use Certbot inside Docker.
https://hub.docker.com/r/certbot/certbot
certbot has an official docker image. By using the official docker image you don't manage the updates beyond having to call `docker pull certbot/certbot`. I just integrate that into the same cron task that triggers the renewals/checks. Could not be easier and more fault tolerant.
Basically all it made me do is make sure I was monitoring the administrator@ account for the primary MIAB domain to make sure I'm updating it regularly.
Also I think MIAB is one of the few pieces of software that can safely be upgraded regularly without pain. I really trust Dr. Tauberer's project.
root@eighteendotfour:~# crontab -l|grep getssl
23 5 * * * /root/bin/getssl -u -a >> /root/bin/getssl.log 2>&1
root@eighteendotfour:~#
I've not been watching the logs because it's just for my private web site, so no biggie if it has problems. root@eighteendotfour:~# head -3 /root/bin/getssl
#!/usr/bin/env bash
# ---------------------------------------------------------------------------
# getssl - Obtain SSL certificates from the letsencrypt.org ACME serverDoes anyone have any info on this problem? I have letsencrypt running just about everywhere (including my ubiquity edge router). It seems to "just work". However, I use the letsencrypt-nginx plugin to handle the certificates for me.
Still, Letsencrypt is an amazing project. I would never want to go back the old way of buying / renewing / installing certificates. That was a true pain!
Haven't had to think about this again for years now.
> new protocol for the letsencrypt challenges was released, announced in some obscure corner of the web and bit by bit the old method of issuing new certificates was deprecated. You would not have known this unless you interacted with Letsencrypt on a daily basis, but like most of these things their whole value lies in NOT having to interact with them all the time.
Let's Encrypt also sent out emails to people still using the old method at least two months before the old method was phased out. You have to provide an email address when setting up LE exactly for this reason. The only explanation I can think of for why the author wouldn't have received an email is that they did not execute a renew check for their certificate in the three months leading up to the change of service, which is going straight against LE's guidelines (you should check more often, exactly for this reason). This is the
> which is odd because after all the situation hasn’t changed and if it worked last time it should still work this time
The situation obviously _has changed_ otherwise the venv wouldn't have been updated. Libraries get bugfixes even if those don't apply to you specifically; deal with it. You're not the only customer here.
> I understand that Letsencrypt needs to stay with the times. But the Letsencrypt folks should also understand that in the greater scheme of things certificates are not the most important thing in life and that causing your end users this level of grief is in the longer term not in the projects’ best interest.
Web security is not a "set and forget" thing. It's not a toggle button from "insecure" to "secure". If you want a zero-maintenance certificate solution, get a managed server and get someone else to handle the annoying stuff for you.
> The machine that this is all running on will need a much more recent version of its OS. That means I’m going to have to migrate a whole bunch of data to another machine in order to be able to do this without downtime.
This is unsurprising coming from someone who wrote a blog about why they don't like to update. However, the assumption that the entire host OS needs to update just to use a new piece of software is simply wrong. Things like Docker and LXC make it trivial to run newer software without upgrading the entire system. It also forces the software into a contained space to prevent the catastrophic failure the author had to deal with before. From what I can tell from a Shodan check for this domain, the author still seems to be running Ubuntu 14 (which went EOL last year). That probably explains why the author is afraid that they will need to upgrade their server. However, if you're running on a software stack whose LTS support has already been dropped, you're just postponing the inevitable by not planning an upgrade plan already. Blaming Let's Encrypt for potentially not supporting a platform nobody else supports is a silly excuse.
I agree that Let's Encrypt has its issues. Sure, their client can use some thinning, their decisions are sometimes confusing, but the normal situation is not nearly as bad as the author describes here. If you're bothered by the official client updating things, use a different client; there's plenty of them.
So, yes, that is outdated now but it wasn't as if there was much choice at the time and two years seems a bit short - maybe I'm wrong about that - on the expected lifespan of a server. But setting up a mailserver, migrating all of the data back on and then testing it is a boatload of work and I have plenty to do as it is.
And yes, I did eventually manage to get it to work but in a pretty roundabout way and that should just simply not have been necessary unless there was a huge security issue with the way LE was working before. I'm not aware of any such issues.
Essentially you are arguing that something like Mailinabox can not or should not exist because it falls somewhere between 'managed hosting' and something that can be set up for a few years in order to serve a purpose.
That's not a very encouraging future, maintaining basic internet infra such as mail, web and DNS servers should not be so hard that you can only do it if you want to pay third parties big bucks to do so.
I have nothing against the concept of Mailinabox but when you create a "hands-off" project like that, your project should also include stable major version upgrades to LTS versions. From what I can tell, MIAB switched from 14.04 directly to 18.04 (skipping 16.04). Their goals and ideas are noble, but I don't think the project is very reliable if they skip major OS releases just like that (and are very late to the party when it comes to support for newer versions, releasing a version compatible with 18.04 only months before 14.04 support was dropped entirely).
I appreciate the enormous amount of work it takes to achieve something like this, but marketing your product as something "you don’t need to be a technology expert to set up" brings with it certain expectations (or even, responsibilities). Your issue with an outdated LE client should have never happened if the project had achieved its goals, for example.
A modern setup with MIAB based on Ubuntu 18.04 will have OS support until 2028, so the situation has improved; Ubuntu has switched to 10 years of support instead of 5.
> Essentially you are arguing that something like Mailinabox can not or should not exist because it falls somewhere between 'managed hosting' and something that can be set up for a few years in order to serve a purpose.
The problem is that software doesn't work like that, unfortunately. Bugs and security issues are found and need to be patched. Volunteers don't want to fix five years of releases of their software and for companies it doesn't make financial sense to do such work for free. A Windows server box with regular reboots for security updates will work fine for a bunch of years, but that guarantee is hard to make when your software runs on volunteers and occasional corporate sponsors.
> That's not a very encouraging future, maintaining basic internet infra such as mail, web and DNS servers should not be so hard that you can only do it if you want to pay third parties big bucks to do so.
There's a reason companies have been providing paid services for this since the dawn of the web. Hosting software on the internet isn't maintenance free and it never was. If you desire a setup that keeps working with minimum maintenance without the risks that come with volunteer work, you'll have to pick a stable OS (like Ubuntu or its competitors) and software stack from the LTS repositories and configure it. You can apt-upgrade anything from the official Debian repositories without reconfiguring anything. You can upgrade and It Just Works as long as you stick to the packages provided by the people maintaining your OS. This works until your OS reaches end-of-life, which is the next time you should do intensive system admin effort. Luckily, this is announced long beforehand, so you can plan accordingly.
This still means you'll run into trouble when (free) external parties decide to drop your OS because of the growing amount of software stacks and configurations they have to support over the years. However, if you practice running external stuff in a contained environment (with tools like Docker) you'll get to keep the best of both worlds for as long as possible. Alternatively, you can use setups that don't hide behind magical one-command-fixes-all setups, like manually entering certificates instead of relying on Some Cloud System to do it for you.
If all that is too much for you, which I can completely understand, then maybe running your own servers might not be for you. The premise of bringing self-hosted, federated services to the every-day consumer is nice, but I'm afraid it'll always be little more than a dream. The modern web is either part of the Cloud (TM) or a bunch of projects glued together by random chance and best effort; running your own stuff unfortunately requires either money to be paid or effort to be made.
I will also freely admit to having found that there are more important things in life than endless fiddling with system configurations and low level stuff. It used to fascinate me but the days when installing an operating system on some fresh piece of hardware (or a virtual) excited me are long gone. When you've done it 100's of times it is no longer as nice as when you did it the first few times.
This is basically Google bullying the internet for no reason. So of course lets encrypt will demand attention. It is the central artifact of your website now, since you took the time to set it up without any use or benefit. So deal with it.
Who is forcing you to use letsencrypt? If you don't like it, buy a cert and install it.
If the certbot is too complicated or "pulls in too much cruft" then use a different client. https://github.com/acmesh-official/acme.sh for example.
But moaning does not do any good, we're not getting back in those good old days, so it's better to adapt, I guess.
One thing that helps with broken letsencrypt setup is to monitor e-mail that was supplied. Letsencrypt will send angry mails when your certificate is not updated.