Live data from Hacker News

Ask HN: How bad is it to use a self-signed SSL certificate?

news.ycombinator.com

101–110 of 118 posts

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#101
post #71
post #13

https://www.startssl.com/ gives out free SSL certificates. Just don't expect much on their part, given it's free. For example, they refused to reissue certificates for free after Heartbleed. Also you can't use them on commercial sites. otherwise https://www.gogetssl.com/ is probably as cheap as it gets.

Not to mention their inscrutable information and documentation. I was caught out trying to renew a StartSSL cert 6mos ago and could not even access the renewal site. Apparently they use personal certs (or the cert I got?) as authentication? I don't know, because there was no explanation, anywhere. I had no idea whether this is security by obscurity or what, but f-them. I wound up paying $5 to Comodo and having a some…

They use browser certificates (I'm not sure if this is the right name), which is actually pretty cool. When you create an account, a certificate is generated in your browser, and then you can login with it.

The big problem is that since it's almost not used, browsers implement it but haven't done any job in making it user friendly (for example, you can see the certificates currently stored in your browser in Firefox by going in preferences > Advanced > Certificates > View Certificates > "Your certificates" tab, not exactly user friendly). Also (if I remember correctly) StartSSL implementation is not the nicest one as well, as you have to keep your tab open while they validate your account.

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#102
post #38

I'm not a tech savvy person (at least around here) but I used Gandi to purchase my certificate. I paid 12 bucks and it was extremely easy to implement it. To give you an idea, I didn't even know how to enable access to my site without entering "www." in front of my URL. But getting the certificate and implementing it was so easy that I was actually surprised once my SSL was active. I was expecting to run into a coupl…

I've got a couple at Gandi too, and I was pleased at how easy it was to set up. I used the free first year (included with a domain name purchase) but then went looking for the cheapest I could find. https://cheapsslsecurity.com/ sold me a simple domain validated cert for $19.96/5 years. That's the lowest I've seen but it looks like they raised their prices slightly since then.

Honestly, I don't mind that Gandi isn't offering the cheapest option out there. My domain and my host are from Gandi, so it was a no brainer for me to get my certificate from Gandi. I didn't even check the alternatives. If it was a hefty price, say, like $50/yr instead of $12, I'd have probably looked for other alternatives but I'm happy with them so far and I like to reward companies that serves me well as a customer.

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#103

Earlier quoted context omitted.

Unauthenticated SSL does provide security against passive attackers , which is what mass surveillance in developed countries is. If the NSA ever insists on widespread MITM of connections, we have much bigger problems. I agree the UI needs to be properly worked out so that eg a bank can't be downgraded to an unauthenticated certificate.

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 tags. The current UI that most browsers present implies that self-signed certificates are worse ("scarier") than regular HTTP, whi…

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?

#104
post #27

Earlier quoted context omitted.

This is the right answer and it's too bad it was way down the page (I upvoted). For your situation, mark_I_watson, probably get a cert from a CA, the cheap "domain only" variety where you can verify your site to the CA simply by putting a file in the web root directory. I say this assuming the content is whatever you were already displaying to the world without encryption - therefore low-security. The cert allows you…

Could you elaborate on what you find meaningful about the authentication a CA provides? Another neat trick is creating your own CA, and putting your root into the local trust stores of client nodes that you care about. (Be sure to permanently airgap your root key, and create intermediate signers.)

I meant that sending logon + password is somewhat pointless if it's plaintext over the internet, while if you have some encryption going on, someone intercepting the data in transit would have a harder time using it to trick the client or the server. In that sense authentication is more meaningful with a certificate -- even though using a CA still allows interception by a government actor. It narrows the range of those who can "break" the attempted security.

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#105
post #71

Earlier quoted context omitted.

Not to mention their inscrutable information and documentation. I was caught out trying to renew a StartSSL cert 6mos ago and could not even access the renewal site. Apparently they use personal certs (or the cert I got?) as authentication? I don't know, because there was no explanation, anywhere. I had no idea whether this is security by obscurity or what, but f-them. I wound up paying $5 to Comodo and having a some…

They use browser certificates (I'm not sure if this is the right name), which is actually pretty cool. When you create an account, a certificate is generated in your browser, and then you can login with it. The big problem is that since it's almost not used, browsers implement it but haven't done any job in making it user friendly (for example, you can see the certificates currently stored in your browser in Firefox…

It's non-repudiation, it's so they can be sure that the person who received the email is also the person who requested the email.

  Proof of data integrity is typically the easiest of these requirements to accomplish.
  A data hash, such as SHA2, is usually sufficient to establish that the likelihood
  of data being undetectably changed is extremely low. Even with this safeguard, it is
  still possible to tamper with data in transit, either through a man-in-the-middle
  attack or phishing. Due to this flaw, data integrity is best asserted when the
  recipient already possesses the necessary verification information.
https://en.wikipedia.org/wiki/Non-repudiation

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#106
post #71

Earlier quoted context omitted.

Not to mention their inscrutable information and documentation. I was caught out trying to renew a StartSSL cert 6mos ago and could not even access the renewal site. Apparently they use personal certs (or the cert I got?) as authentication? I don't know, because there was no explanation, anywhere. I had no idea whether this is security by obscurity or what, but f-them. I wound up paying $5 to Comodo and having a some…

They use browser certificates (I'm not sure if this is the right name), which is actually pretty cool. When you create an account, a certificate is generated in your browser, and then you can login with it. The big problem is that since it's almost not used, browsers implement it but haven't done any job in making it user friendly (for example, you can see the certificates currently stored in your browser in Firefox…

Yeah, I got that far, but I had reinstalled, not backed this up, and there was less than zero information about what to import. I tried installing and/or converting every chunk of certificate-type data I could find. No joy, no help, no nothing.

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#107
post #24

Earlier quoted context omitted.

I agree with your answer, but I don't recall ever seeing a post mortem write-up of such an attack. So, if you know how MITM operates, tell me: How would the server operator ever know?

Reports of user data being compromised could lead to a consultant being hired to figure out where the security problem is, for instance. (I'm assuming the site requires a login or perhaps even takes CC information - the kind of stuff a user might notice a third-party using)

Reports of user data being compromised could lead to a consultant being hired...

So right there, there's a good chance that it wouldn't get reported and there's less of a chance that management would understand the implications and hire the consultant.

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#108
post #56

Earlier quoted context omitted.

This is true, but you wouldn't believe the system-as-practiced by most large IT departments. edit: small IT departments, too. nobody really pays attention as long as the lock icon is green.

Can't speak to the state of this on Linux, but on Windows/IIS if you "just follow the wizard" and send the generated file to your CA it will not include the key.

My remark wasn't about the software tools, it was about the human processes around them. There are major knowledge gaps in every organization I've ever interacted with (hundreds) that use certificates.

For example: How do you get the private key to a second IIS server, if you are doing poor man's DNS load balancing with the same hostname?

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#109
post #104

Earlier quoted context omitted.

Could you elaborate on what you find meaningful about the authentication a CA provides? Another neat trick is creating your own CA, and putting your root into the local trust stores of client nodes that you care about. (Be sure to permanently airgap your root key, and create intermediate signers.)

I meant that sending logon + password is somewhat pointless if it's plaintext over the internet, while if you have some encryption going on, someone intercepting the data in transit would have a harder time using it to trick the client or the server. In that sense authentication is more meaningful with a certificate -- even though using a CA still allows interception by a government actor. It narrows the range of tho…

Well, a self-signed certificate still offers that encryption.

None of my arguments about X.509 / CAs are about government actors in particular, though. There are enough root CAs trusted by the major browser vendors that breaches can (and have) happened with minimal resource expenditure.

Re: Ask HN: How bad is it to use a self-signed SSL certificate?

#110

Earlier quoted context omitted.

Could whoever down-voted that please explain why you did so?

Wasn't me but I wonder about this: "Neither self-signed nor CA-signed certificates are securely authenticated...". I'm no expert on CAs but saying their certs are not securely authenticated is worrying. Seems to defeat their purpose, no? Maybe expand on that point if you can as I don't understand how it can be true.

Did you read the comment I linked to where I provided those details?

Here it is again: https://news.ycombinator.com/item?id=7826443

And if you want a longer version of that, you can go here: http://blog.okturtles.com/2014/02/introducing-the-dotdns-met...

> I'm no expert on CAs but saying their certs are not securely authenticated is worrying.

Yes. I'm glad we agree on that. :P

Post reply on HN