News for hackers. Stuff that matters.
Re:Still Why No HTTPS? by veb on Tuesday December 17, 2019 @03:33AM (#21811765)
I don't get it. With Lets Encrypt, it's like one or two lines to get everything set up.

I'm guessing people aren't as lucky as I am to be running on newer machines and such.

I mean it even edits your nginx files to redirect http to https if you agree. It's not hard.

Re:Still Why No HTTPS? by rkagerer on Tuesday December 17, 2019 @08:36AM (#21813270)
I set up Let's Encrypt for an older Exchange server a while ago. While I love the result, it was NOT a simple, one-line exercise.

Up to date documentation was near-impossible to find, and the scripts that came out of the box on the recommended client needed some fixing. The whole thing took about half a day, plus some hours a few weeks later once the unforgiving anti-abuse thresholds I accidentally triggered during end-to-end testing finally expired. Definitely wasn't a pleasant experience.

Re:Still Why No HTTPS? by onion-soup on Tuesday December 17, 2019 @03:34AM (#21811770)
Nope, it is not straight-forward and still a confusing process.
Re:Still Why No HTTPS? by jwr on Tuesday December 17, 2019 @04:13AM (#21811952)
It is relatively straightforward if you have a single site hosted on a well-supported operating system and web server.

It suddenly becomes really, really complicated if you have multiple servers, multiple domains, nginx configurations that the tool does not expect (but insists on rewriting).

Re:Still Why No HTTPS? by dx034 on Tuesday December 17, 2019 @05:40AM (#21812357)
The rewrite is optional, it's also fairly trivial to let certbot create certificates and adapt nginx afterwards.
Re:Still Why No HTTPS? by squiggleblaz on Tuesday December 17, 2019 @06:40AM (#21812596)
Yes, but at that point it's not two lines with let's encrypt any more.

For my part, I had to write around a thousand lines of script and alter various existing code in order to switch from manual ssl (whenever the client paid for it) to automatic ssl (everywhere), because there was no way I was going to manually buy hundreds of certificates a year when I took over this role. Nowadays we're 100% ssl but it was harder for an existing person already accustomed to the existing system than doing nothing. I'm just too lazy to check a site every week and renew many certificates manually and copy around stupid files and generally go crazy. Plus, if it's automated, I think there's less chance of the keys being copied. So in my mind it was worth the effort, but it was surely effort.

Re:Still Why No HTTPS? by arkitaip on Tuesday December 17, 2019 @03:47AM (#21811834)
So true. Even on hosting that fully supports let's encrypt thru an web based admin like cpanel or directadmin, the process can be confusing and error prone.
Re:Still Why No HTTPS? by EnderMB on Tuesday December 17, 2019 @04:19AM (#21811975)
If we're purely talking about Let's Encrypt, it's not straightforward to set up on Azure either.

It's easy to set up a standard cert through Azure, but if you want to use Let's Encrypt there's a whole dance you have to go through to get there, and for many people it's not worth the time and they'll happily pay a bit of money to make it a few-clicks thing.

Re:Still Why No HTTPS? by thrower123 on Tuesday December 17, 2019 @06:37AM (#21812585)
When I looked at doing it, I'd have to bump up my hosting plan for my vanity blog to somewhere in the neighborhood of $100/month to apply an SSL cert for my custom domain, which is just stupid for a site that gets a couple thousand visits a month and maybe earns me $5 in referral fees.
Re:Still Why No HTTPS? by mattferderer on Tuesday December 17, 2019 @10:07AM (#21814139)
I believe it's free now - https://docs.microsoft.com/en-us/azure/app-service/configure...

Though hopefully they simplify it for cases such as yours.

Putting Cloudflare in front is also another cheap option.

Re:Still Why No HTTPS? by thrower123 on Tuesday December 17, 2019 @12:15PM (#21815774)
It looks like you have to go up to at least a B1 app service, which at $50/month doesn't make a lot of sense for me, unless I can figure how to get my MSDN credits associated with that Azure subscription instead of one of the other two accounts I don't use, but that's a whole other can of worms...
Re:Still Why No HTTPS? by chungy on Tuesday December 17, 2019 @03:38AM (#21811791)
Instructions are here: https://certbot.eff.org/

I don't know how it could possibly be any simpler.

Re:Still Why No HTTPS? by elcomet on Tuesday December 17, 2019 @03:46AM (#21811831)
It is simple for a one-server website. When you're on Alexa 1M, you certainly have a load balancer, multiple servers for redundancy, etc. It makes things not straightforward, and you certainly don't want to use the default certbot which overwrites your config.
Re:Still Why No HTTPS? by MrStonedOne on Tuesday December 17, 2019 @04:11AM (#21811941)
I am on alexa 1m (50k even). I do not have a load balancer, I do not have multiple servers for redundancy. This isn't even a static site, most of our page views are the wiki, the server running all of this has 8 cores and 4 are constantly maxxed out by a non-website related process.

Most websites now and days are over engineered.

Re:Still Why No HTTPS? by owl57 on Tuesday December 17, 2019 @04:49AM (#21812123)
Checked my old site's rank. ~250000. One VPS, €4/month. Mostly static, but a decent part is served with a not so light Perl CGI script (!). I'm sure I wouldn't get away with that in top 1k websites, but 1m?
Re:Still Why No HTTPS? by uasm on Tuesday December 17, 2019 @04:24AM (#21812008)
> "I am on alexa 1m (50k even). I do not have a load balancer, I do not have multiple servers for redundancy. This isn't even a static site, most of our page views are the wiki, the server running all of this has 8 cores and 4 are constantly maxxed out by a non-website related process.

Most websites now and days are over engineered."

That's awesome! Mind sharing some more details? (hosting plan/CDN/etc). Or even the URL?

Re:Still Why No HTTPS? by MrStonedOne on Tuesday December 17, 2019 @05:42AM (#21812371)
Rented dedicated server running a 9900k. Windows hypervisor runs vms. database vm, website vm, and 3 game server vms running on this machine. each game server vm is running 2 instances of the game server, but only 1 ever has high pop.

https://tgstation13.org

Most of our traffic goes to our wiki: we are the most active open source video game on github. Most ss13 servers run their own codebase, forked from ours, but will still frequently point their players to our wiki rather then set one up on their own.

A Cloudflare caching layer was added back in march when we got a 4x spike in web traffic from a youtuber talking about the game.

Re:Still Why No HTTPS? by adrianN on Tuesday December 17, 2019 @04:52AM (#21812135)
When you're in that league you probably have expensive people who can deal with the additional complexity.
Re:Still Why No HTTPS? by Spivak on Tuesday December 17, 2019 @09:18PM (#21821163)
I mean the next more complicated case isn't that bad either. You set up a sidecar VM/container/machine/whatever-you-want that either instruments your DNS or gets the traffic from .well-known/acme-challenge and just renews your certs every day.

Then your load balancers pull the current cert from the sidecar every day with NFS/Gluster/Ceph/HTTP/whatver-you-want and reload the web server if it changed.

Assuming that you can catch a failure of your sidecar server in 89 days or so you don't need much more redundancy.

Re:Still Why No HTTPS? by kuschku on Tuesday December 17, 2019 @08:06AM (#21813062)
That's why you set custom NS records for _acme-challenge.domain.tld to your own NS servers and use the DNS challenge to get your certs.
Re:Still Why No HTTPS? by certera on Tuesday December 17, 2019 @12:09PM (#21815692)
Shameless plug for Certera for these more complex scenarios: https://docs.certera.io

I found that the certs behind a load balancer were enough of a problem that a solution was needed.

Re:Still Why No HTTPS? by ytch on Tuesday December 17, 2019 @04:51AM (#21812134)
IMHO it is easier to setup SSL on LB. you don't need to setup them one by one, all servers (HTTP, SMTP, POP, IMAP and others) protected by the same SSL certificate, cipher suite with a SSL-terminated LB. Also many LBs support auto-renewal.
Re:Still Why No HTTPS? by onion-soup on Tuesday December 17, 2019 @03:45AM (#21811826)
While I appreciate the efforts of certbot to make it as user-friendly as possible I still find this state of things unforgivable. I don't know where it went wrong so that today a developer must spend time learning and tweaking a low-level encryption tools. I'm just saying https will never be 100% unless it becomes a baked-in feature of any hosting.
Re:Still Why No HTTPS? by thenewnewguy on Tuesday December 17, 2019 @04:32AM (#21812050)
Developers don't need to, unless they're the ones hosting your website. In which case, yes, I expect them to be able to configure web hosting software.
Re:Still Why No HTTPS? by hrktb on Tuesday December 17, 2019 @05:37AM (#21812344)
This is sadly not the case yet in many not so edge cases.

For instance Heroku still doesn't provide straightforward support for wildcard domains under SSL: https://devcenter.heroku.com/articles/understanding-ssl-on-h...

There is myriad of other cases, basically every time you diverge a bit from the 80% path, you're in for a treat and will deal with all the intricacies of SSL management.

Re:Still Why No HTTPS? by regecks on Tuesday December 17, 2019 @03:58AM (#21811885)
Certbot, and most other standalone ACME clients, are just stop-gaps.

The end game is first-party support for automatic HTTPS in all web (and other) servers. It is happening (e.g. mod_md), it's just going to take time. For example, to get it packaged for all distributions.

For shared hosting, if you ignore the few providers at the top who are either CAs (e.g. GoDaddy) or are in contracts with CAs (e.g. Namecheap), the overwhelming majority of them are already providing free and automatic SSL for all hosted domains.

Re:Still Why No HTTPS? by majewsky on Tuesday December 17, 2019 @06:36AM (#21812584)
> The end game is first-party support for automatic HTTPS in all web (and other) servers.

There's still a need for certbot et al when you have multiple services (e.g. web and mail and XMPP) running on a single domain name. In fact, I actively avoid servers that insist on doing ACME themselves because it breaks my unified ACME process.

Re:Still Why No HTTPS? by kbr2000 on Tuesday December 17, 2019 @12:57PM (#21816386)
A management fad called dev-ops is what went wrong, before you could count on your sysadmin to take care of that :) Apart from that, not everything always makes sense to use in production without a good level of understanding --- and might otherwise lead to, for example, a false sense of security.
Re:Still Why No HTTPS? by cm2187 on Tuesday December 17, 2019 @03:49AM (#21811843)
Starting with baking ACMEv2 in the major webservers (apache, IIS, etc).
Re:Still Why No HTTPS? by Jaruzel on Tuesday December 17, 2019 @04:35AM (#21812060)
If Microsoft baked in Auto-cert-install in to IIS that allowed you to cherry pick a provider, and/or just select their own free CA, that'd really solve the problem for Windows based web servers. In my experience CertBot/ACME type renewal doesn't work reliably for Windows/IIS.
Re:Still Why No HTTPS? by AnIdiotOnTheNet on Tuesday December 17, 2019 @09:24AM (#21813671)
What is the value in HTTPS being 100%? That seems silly to me. Many many things do not have any need for encryption.
Re:Still Why No HTTPS? by tialaramex on Tuesday December 17, 2019 @12:35PM (#21816075)
Most things would benefit from encryption. Even if you don't need integrity protection, and you don't have any need of privacy, and you don't care about authenticating your peers you still want encryption because otherwise middleboxes ossify everything.

If the middlebox can't see inside your flow because it's encrypted it can't object to whatever new thing it's scared of this time whether that's HD video or a new HTML tag.

Re:Still Why No HTTPS? by AnIdiotOnTheNet on Tuesday December 17, 2019 @01:08PM (#21816535)
Not a significant issue in practice as far as I can tell. I deliver text over the internet, and sometimes binaries over the internet, and it happens very fast because there is no useless cruft in the process to satisfy some security twonk's paranoid delusions.
Re:Still Why No HTTPS? by jbverschoor on Tuesday December 17, 2019 @04:18AM (#21811973)
It’s for ops. Not dev
Re:Still Why No HTTPS? by maple3142 on Tuesday December 17, 2019 @06:40AM (#21812593)
Maybe not everyone host website on a platform where you can easily install these things.

For example, I have a simple web app hosted on Heroku free plan, and I have to use CloudFlare SSL to get it served over https on my custom domain. But it actually is half encrypted as the connection between CloudFlare and Heroku is plain http.

Re:Still Why No HTTPS? by ridiculous_fish on Tuesday December 17, 2019 @03:25PM (#21818385)
Right. Another example is that you cannot use https with subdomains on GitHub Pages.

https://github.community/t5/GitHub-Pages/Does-GitHub-Pages-S...

Re:Still Why No HTTPS? by contravariant on Tuesday December 17, 2019 @06:33AM (#21812576)
I'd appreciate it if the instructions explained why they need sudo, rather than explain what sudo is...
Re:Still Why No HTTPS? by M2Ys4U on Tuesday December 17, 2019 @06:53AM (#21812653)
> I don't get it. With Lets Encrypt, it's like one or two lines to get everything set up.

My employer won't use Let's Encrypt because they (LE) want unlimited indemnity and that's a deal breaker for them (employer).

Re:Still Why No HTTPS? by blowski on Tuesday December 17, 2019 @07:42AM (#21812901)
To add to your point, a lot of insurers only provide cyber insurance with a certificate from a specific range of CAs, and LetsEncrypt is not one of them. Frustratingly, Symantec is allowed.
Re:Still Why No HTTPS? by WilliamEdward on Tuesday December 17, 2019 @03:36AM (#21811784)
I'm fine with people who think it's too hard...

What i cannot stand is people who can do it, but refuse to out of laziness. Or because they want their content to be insecure on purpose.

This applies mostly to big orgs, so indie devs can have some leeway if it's too hard to implement.

Re:Still Why No HTTPS? by grecy on Tuesday December 17, 2019 @04:41AM (#21812087)
> i cannot stand is people who can do it, but refuse to out of laziness

(Raises guilty hand)

I run a couple of sites on my hosted server that are still http. They both sit behind a varnish setup and to be honest I just have not found the time to get it done. Usually when I mess with my configurations I lose a week to troubleshooting stupid stuff and I just can't bring myself to do it.

Re:Still Why No HTTPS? by WilliamEdward on Tuesday December 17, 2019 @04:49AM (#21812121)
Hey at least you aren't running a fortune 500 with millions of users (You aren't right?)
Re:Still Why No HTTPS? by grecy on Tuesday December 17, 2019 @05:45AM (#21812389)
haha, right. They're really just hobby projects, almost entirely read-only.
Re:Still Why No HTTPS? by onion-soup on Tuesday December 17, 2019 @03:54AM (#21811873)
Assuming you are talking about software developers, you can't expent people do extra work out of virtue. They will do it only if there is an economic incentive. Setting up a transport layer security is not in software developer's interest or competence.
Re:Still Why No HTTPS? by WilliamEdward on Tuesday December 17, 2019 @03:59AM (#21811893)
This is about managers and executives who call the shots on implementing these features. It is not your responsibility as a software dev working for a big company to implement something they do not pay you for.
Re:Still Why No HTTPS? by saagarjha on Tuesday December 17, 2019 @04:08AM (#21811931)
I’m curious what your opinion is on people who don’t to make a point.
Re:Still Why No HTTPS? by WilliamEdward on Tuesday December 17, 2019 @04:29AM (#21812036)
I mean, if you don't value your users privacy of course i'm not going to think you're a very swell person.

Again this really only applies to people in a comfortable position to do this and choose not to. The average developer is not my target here, it's the big guys.

Re:Still Why No HTTPS? by squiggleblaz on Tuesday December 17, 2019 @07:51AM (#21812973)
I don't do it on my own site. I'm capable of doing it, and certainly did it for my job. But my own site... It's free with HTTP, but they charge for every level that includes HTTPS. I'm it's major user (so far) so \/\/
Re:Still Why No HTTPS? by strenholme on Tuesday December 17, 2019 @09:11AM (#21813555)
Depends on your setup.

I currently use a mini CDN (content delivery network) of three different OpenVZ servers in the cloud to host my content, so getting things to work with Let’s Encrypt took about two or three days of writing Bash and Ansible scripts which get the challenge-response from Let’s Encrypt, uploading it to all my cloud nodes, having Let’s Encrypt verify it got a good response, uploading the new cert to all of the cloud nodes, then using Ansible to log in to all the nodes, put the new cert where the web server can see it, then restarting the web server.

Point being, the amount of effort needed to get things to work with Let’s Encrypt varies, and can be non-trivial.

Re:Still Why No HTTPS? by rocqua on Tuesday December 17, 2019 @05:58AM (#21812440)
I started using lets-encrypt before it supported Nginx (using standalone mode). I recently tried the Nginx-based mode, and it wrecked my reverse proxy config pretty thoroughly.

Still, the stand-alone mode is pretty dang easy. I've also considered the /.well-known mode but there was some tiny snag.