News for hackers. Stuff that matters.
Re:Ask HN: How bad is it to use a self-signed SSL certificate? by chimeracoder on Saturday May 31, 2014 @02:36PM (#7826811)
I don't understand why they don't just use different colors for self-signed SSL connections.

CA-signed: Green lockpad

Self-signed: Yellow lockpad, with question mark superimposed over it

Regular HTTP: Orange, no lockpad (insecure)

Invalid or revoked cert: Red, "stay away" displayed within <blink> tags.

The current UI that most browsers present implies that self-signed certificates are worse ("scarier") than regular HTTP, which is not true.

Re:Ask HN: How bad is it to use a self-signed SSL certificate? by mindslight on Saturday May 31, 2014 @03:33PM (#7827007)
Well, it's not really a continuum. 'There should be only one mode, secure' and all that - asking users to make ad-hoc security assessments is generally a bad idea. In an ideal world, plaintext HTTP wouldn't exist and everyone would have a key delegated by their domain registrar.

No lock would suffice for unauthenticated https; those that find the distinction meaningful can investigate the URL. But then you still risk someone bookmarking https://example.com and suffering a downgrade attack from not paying attention to color changes.

The best way forward is probably the creation of a new protocol designator (httpz or something) that is SSL using the SSH key model. But there's no impetus to do this as it's easy enough to pay the CA tax and be on your way with unquestioned "full security".

Re:Ask HN: How bad is it to use a self-signed SSL certificate? by Spittie on Saturday May 31, 2014 @06:09PM (#7827439)
I'd love to see something like SSH, you trust the self-signed certificate the first time, and then it's considered valid until it changes (but it should get treated differently from CA-signed certificates, your yellow padlock idea is great).

Then warn the user if the certificate ever changes.

Re:Ask HN: How bad is it to use a self-signed SSL certificate? by 13throwaway on Saturday May 31, 2014 @05:23PM (#7827318)
I think this is a good idea. It could be combined with a system similar to HSTS so banks could protect against MITM attacks.