News for hackers. Stuff that matters.
Re:Still Why No HTTPS? by UI_at_80x24 on Tuesday December 17, 2019 @09:09AM (#21813533)
>go through all that hustle....

I manage 100+ servers, hosting a significantly larger number of domains, on a variety of linux and FreeBSD operating systems. Under both Apache & Nginx. "..all of that hustle.." to initially setup is under 2 minutes with LetsEncrypt. The renewal (via a cron job) is completely out-of-sight/out-of-mind.

The execution is shockingly simple. If you think it's "all that hassle" I guarantee you haven't even tried.

Re:Still Why No HTTPS? by zamadatix on Tuesday December 17, 2019 @10:27AM (#21814406)
You're a professional plumber working on hundreds of households saying it's shockingly simple and should take no time at all for a first time home owner to fix their own plumbing. You've already got the knowledge, experience, and tools/parts in the van - of course you don't think it's a hassle!
Re:Still Why No HTTPS? by zzzcpan on Tuesday December 17, 2019 @10:51AM (#21814702)
And he's not even right. There is no hassle only if you take plenty of risk and rely on a random crappy acme client to do it well, its dependencies to always work, disks, OSes, servers not failing, acme protocol not changing and not deprecating anything.

Otherwise you need some infrastructure: logging, monitoring, some way to manage upgrades, backups, testing recovery, oh and those private keys are better not be leaked anywhere, so you need encryption for backups, which brings key management and so on.

Re:Still Why No HTTPS? by allset_ on Tuesday December 17, 2019 @12:16PM (#21815784)
Everything in your comment has to do with general server maintenance, and is not specific to automating certificate renewal with certbot or a similar tool which is what is being discussed. Adding HTTPS to your site and setting up automatic renewal is literally three steps on an Ubuntu system and you can copy and paste it from the certbot documentation [1].

[1] https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx

Re:Still Why No HTTPS? by zzzcpan on Tuesday December 17, 2019 @12:34PM (#21816056)
Dealing with certificates is more critical than "general server maintenance", things people often neglect doing suddenly become required. It might take from a few months to even a couple of years to get from neglected infrastructure to infrastructure ready for reliable automated issuance of certificates.

I actually evaluated a bunch of acme clients, wasn't satisfied with the code of any of them and wrote my own. But even from those I looked at certbot was always the worst choice, it's ridiculous letsencrypt is promoting it, better choices were POSIX shell clients or statically linked clients, like those written in Go and other compiled languages.

Re:Still Why No HTTPS? by comboy on Tuesday December 17, 2019 @02:16PM (#21817497)
It sounds like you are super critical about any potential security issues (because what else could it be, other than that it just works or it doesn't). If given machine security is super important (oh it's running a web server..), then why not just run certbot elsewhere and sync the files in a manner that satisfies your security needs?
Re:Still Why No HTTPS? by giancarlostoro on Tuesday December 17, 2019 @10:34AM (#21814491)
To be reasonably fair Lets Encrypt makes it easy. I even have a $5 a year shared hosting account that gives me Lets Encrypt SSL certs through cpanel. I can't imagine this feature is unique only to this one random shared hosting provider.
Re:Still Why No HTTPS? by fishtacos on Tuesday December 17, 2019 @10:59AM (#21814789)
Your $5 instance with cPanel management isn't really quite the same as someone manually managing 100 servers hosting these services on disparate configurations and environments. In other words, what your tooling of choice automates in a specific situation doesn't necessarily apply to any one else's usage, and scalability-wise, would be even more detached.
Re:Still Why No HTTPS? by giancarlostoro on Tuesday December 17, 2019 @11:07AM (#21814885)
Certbot works with multiple configurations and servers / Operating Systems:

https://certbot.eff.org/

I wouldn't be surprised if that's how he's managing 100 servers, or something similar.

Re:Still Why No HTTPS? by UI_at_80x24 on Tuesday December 17, 2019 @11:14AM (#21814986)
Yes, Certbot.

I suppose I could have made that known in my post.

Re:Still Why No HTTPS? by rumanator on Tuesday December 17, 2019 @12:45PM (#21816212)
> Your $5 instance with cPanel management isn't really quite the same as someone manually managing 100 servers hosting these services on disparate configurations and environments.

Actually, it is. Some reverse proxies such as Traefik handle TLS certs automatically. You practically need to explicitly not want to do it.

Re:Still Why No HTTPS? by ben_jones on Tuesday December 17, 2019 @01:49PM (#21817110)
Extended with: "and all his customers are based in a country with strong plumbing standards and regulatory guidelines" - rendering his advice less valid for every country which doesn't.

A practical example I ran into lately, we had a small system run on GKE and Google Cloud Loadbalancer and struggled to automate the certificate renewal process. Because the cluster/project was for an internal tool this automation was given a low priority and we still have to "manually" swap a certificate every few months (and if we forget to we get an angry slack DM).

TLDR; there are still many combinations of networked services that still do not ~easily~ support certificate automation, even ones you expect really should by now.

Re:Still Why No HTTPS? by fortran77 on Tuesday December 17, 2019 @10:45AM (#21814629)
I find LetsEncrypt to be a hassle. About 1/3 of the time the auto-renew doesn't renew because some python dependency changed, etc.
Re:Still Why No HTTPS? by certera on Tuesday December 17, 2019 @11:56AM (#21815512)
I found this to be a problem too and created Certera (shameless plug). It helps simplify a lot of things and fixes some of the pain points of the typical ACME clients.

https://docs.certera.io

Re:Still Why No HTTPS? by giancarlostoro on Tuesday December 17, 2019 @11:39AM (#21815298)
There's more than just Certbot out there:

https://letsencrypt.org/docs/client-options/

Re:Still Why No HTTPS? by ansible on Tuesday December 17, 2019 @11:07AM (#21814882)
We've recently switched to a scheme where we run a Nginx reverse-proxy with LetsEncrypt. Everything is in docker containers.

Based on this:

https://medium.com/@pentacent/nginx-and-lets-encrypt-with-do...

Now, in our setup, everything is running on a different port, so it is easy to set up additional services all coming from the same hostname with the same IP address.

Re:Still Why No HTTPS? by rconti on Tuesday December 17, 2019 @01:56PM (#21817230)
If you think this is "shockingly simple", I'd like to hear from you again in 10 years as your environment has grown, as your number of operating systems explodes, as you have to deal with restrictive network policies, as LetsEncrypt has been replaced a few times with new up-and-coming latest-and-greatest solutions, as bugs have been found, as clocks have skewed, as domain ownership rules have changed, as domain ownership verification policies have changed a half dozen times...

If you think something is set-it-and-forget-it, you haven't been around long enough.

Re:Still Why No HTTPS? by gambler on Tuesday December 17, 2019 @12:55PM (#21816360)
>The execution is shockingly simple.

Only if you're blindly running shell commands the effects of which you don't understand.

Re:Still Why No HTTPS? by amaranth on Tuesday December 17, 2019 @05:37PM (#21819719)
Have you audited the source code of everything running on your computer? If not then you've had to trust that people aren't being evil or that someone is doing that checking for you. Why is this any different?