News for hackers. Stuff that matters.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by caleblloyd on Monday February 13, 2017 @05:02PM (#13639195)
This article advocates for IP Per Domain over SNI. It's 2017, please use SNI. There's not enough IPv4 addresses in the world. Every single major browser supports it, and has supported it for some time: http://caniuse.com/#search=sni
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by pilom on Monday February 13, 2017 @05:55PM (#13639603)
Unfortunately for our ecommerce site this just isn't the at all an option. 3 months ago we analysed our traffic and found that 12% of our desktop traffic didn't support it (Win XP) and about 8% of our mobile traffic didn't support it (Android older than 4.0). I'm not losing 10% of my revenue just so I don't need to get a couple extra IPs from AWS. And even better, AWS doesn't actually charge me for the IPs. Once IPs are priced in line with their scarcity, I'll start caring. Today when I can get them for free? Not worth it.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by laumars on Monday February 13, 2017 @08:37PM (#13640512)
If you're having to support devices that old then I'd be more worried about how you're going to take payment details on your e-commerce website over a "secure" connection that would fail most PCI DSS vulnerability scans.

The security of TLS has come a long long way since XP and so has research into breaking XP-era ciphers.

Re:Hosting Multiple HTTPS Domains from the Same Server with ... by schoen on Monday February 13, 2017 @09:00PM (#13640593)
Deprecation of old stuff is going incredibly slowly even in rich countries (to the intense frustration of a lot of security teams). Check out the incredible true story, told over years on cabfpub, of the attempt to get rid of SHA-1 in TLS authentication. Notably, the attacks that led to experts' recommendation to move away from SHA-1 immediately were published back in 2005. Meanwhile, Microsoft's "effective date of the SHA-1 deprecation" is tomorrow (!), February 14, 2017.

https://social.technet.microsoft.com/wiki/contents/articles/...

(Let's have a party!)

Figuring out how people are going to get upgraded when problems of some sort are discovered (including software vulnerabilities, not just cryptographic protocol issues) is a major security challenge of our day, maybe the biggest information security problem overall in the world.

Re:Hosting Multiple HTTPS Domains from the Same Server with ... by Dylan16807 on Tuesday February 14, 2017 @07:14AM (#13642966)
Hang on. What percent is XP, and what percent is IE on XP? Those are not numbers that should be conflated.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by pilom on Tuesday February 14, 2017 @06:09PM (#13648172)
The vast majority of our users still on XP use IE. To the point that we conflate the numbers entirely. Most of those users are 50 year old women who have leftover computers handed down from relatives. They almost as a rule, don't install Chrome or Firefox on them, they just use what is currently on it.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by liquidise on Monday February 13, 2017 @05:06PM (#13639232)
(author here) I would have loved to have SNI work. I wrote this article in response to having profound struggles making it work. My iPhone 7's Safari was routinely failing to connect to sites other browsers claimed were fine, when relying on SNI.

The day i swapped over to IP-based connections, the problem resolved itself immediately. If there is something i am missing i would love to know what it is.

Re:Hosting Multiple HTTPS Domains from the Same Server with ... by mholt on Monday February 13, 2017 @05:13PM (#13639275)
It must have been something else. Even Safari on iOS has supported SNI since iOS 4.0 (2010).
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by ethernetsalad on Monday February 13, 2017 @05:26PM (#13639392)
The only thing I've had SNI fail under (so far) had been Netscape Navigator 3.0 and at that point, does it really matter?
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by simcop2387 on Monday February 13, 2017 @07:16PM (#13640137)
IE on Win XP. Or at least anything using the built in crypto stuff. I think firefox will still use it's own. Not sure about chrome.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by Maakuth on Tuesday February 14, 2017 @07:38AM (#13643081)
You might be talking about HTTP 1.1 Host header which allows vhosts for plaintext HTTP servers. SNI allows this to happen with TLS (HTTPS, etc.) servers.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by schoen on Monday February 13, 2017 @05:10PM (#13639254)
You might be able to get useful debugging information with tcpdump or wireshark because SNI itself is sent in the clear (prior to the TLS cryptographic key exchange). You could see if the server is doing something different from other servers, or the browser is doing something different from other browsers.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by smarinov on Monday February 13, 2017 @06:45PM (#13639979)
I have been using precisely Nginx to serve multiple HTTPS domains with certificates from Let's Encrypt since the first few weeks after it came out, so I am not sure why you think it's strictly necessary to assign them separate IP addresses. Generally speaking, there is nothing wrong with that, and it is indeed a somewhat cleaner solution, but it is definitely doable with SNI if one configures their web server appropriately.

Check out the IMHO best TLS SNI test website out there (https://sni.velox.ch/) and the Qualys SSL Labs server test (https://www.ssllabs.com/ssltest/). They may give you a staring point to find out what exactly went wrong with SNI. And the documentation of Nginx, of course.

Re:Hosting Multiple HTTPS Domains from the Same Server with ... by geofft on Monday February 13, 2017 @05:28PM (#13639410)
Can you get to https://sni.velox.ch/ from your phone? What are the first few lines?

In particular, I'm curious if this is a misconfiguration on the server end, or a misconfiguration on the client end. Certain VPNs or malware can break SNI.

Re:Hosting Multiple HTTPS Domains from the Same Server with ... by lobster_johnson on Monday February 13, 2017 @05:55PM (#13639601)
Never had any SNI issues with Safari. Could it be the mobile network provider (which tends to insert things like NATed IPv6 that can cause weirdness), or did it also fail over wifi?
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by z3t4 on Tuesday February 14, 2017 @07:33AM (#13643058)
older version of wget and Java also doesn't support SNI, for example used in API https callbacks, or Android apps. One trick I use it to load that site (or the most important) first in nginx, because those that doesn't support SNI will use that certificate.

Another option, if you don't need encryption, is to allow http.

Re:Hosting Multiple HTTPS Domains from the Same Server with ... by ClashTheBunny on Tuesday February 14, 2017 @10:35AM (#13644197)
Could you be having issues with ipv6?
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by phil21 on Monday February 13, 2017 @07:21PM (#13640165)
Plenty of reason to not use SNI. First off - not everything is a web browser. While browser support for SNI is pretty good these days, other clients are far behind. That random app that connects to your web API has to also support SNI, which means some old PHP library somewhere has to as well. Good luck.

That and a surprising number of "regular" clients still seem to have issues with SNI. My numbers are quite dated, but even as recent as 3 years ago it was something like dropping 10% of traffic for a high traffic site I did A/B testing with. I'm guessing the number was even higher, but the client requested we immediately stop the test once it became apparent it was a major reachability issue affecting revenue.

Re:Hosting Multiple HTTPS Domains from the Same Server with ... by wnevets on Monday February 13, 2017 @05:26PM (#13639386)
That is if you don't care about supporting windows xp users, I certainly don't.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by profmonocle on Monday February 13, 2017 @11:20PM (#13641109)
And it's not just XP, it's IE on XP, meaning IE 8 or older. SNI works on the most recent Firefox & Chrome for XP.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by segmondy on Monday February 13, 2017 @05:24PM (#13639365)
There's enough IPv6