4 ms·
Indeed. It's rather shoddy engineering if you ask me. Consider that, for example, SSL certs are generated and the private key is never disclosed to the cert aut
by InclinedPlane 15y ago
Indeed. It's rather shoddy engineering if you ask me. Consider that, for example, SSL certs are generated and the private key is never disclosed to the cert authority when purchasing a key. That way only the owner of the SSL cert can actually use it.
- bigiain 15y ago"That way only the owner of the SSL cert can actually use it." Errrmmm, I'm not entirely sure that's correct - I wonder how many of Sony's private keys are in scriptkiddies hands right now? The webserver needs access to the private key. Anyone who gets root on the webserver can read the private key.
- joch 15y agoNot entirely sure that's correct either. One could use a Hardware Security Module, such as the Thales nShield Connect[1], which will keep the private keys secure (at least in theory). [1] http://www.thales-esecurity.com/Products/Hardware%20Security%20Modules/nShield%20Connect.aspx http://www.thales-esecurity.com/Products/Hardware%20Security...
- arethuza 15y agoInteresting, I've used personal and server based HSMs for XML and PDF document signing applications, I didn't know you got them for SSL as well.
- bigiain 15y agoYeah, there are known and used alternatives - I'm working on a project right now where the ssl connections terminate at the load balancers. Rooting the web servers won't reveal those private keys. But I also know of many whm/cpanel servers each with dozens of cpanel accounts, around half of which have ssl certs. One ftp password sniffed customer/cpanel account is probably enough to lose root to a whm box, exposing all the local ssl keys...
- InclinedPlane 15y agoYup, that's how it works. The point I was making is that that's the only point of vulnerability, there is no way to gain access to every private key from some central point. For example, let's say you collected a large amount of https traffic by listening in on wifi hotspots or such like, then you attacked a certificate authority and managed to gain access to everything they have. This would be very bad, but you wouldn't be able to decrypt the traffic you'd recorded because you still wouldn't have each of the private keys used. That's very different from the problem of RSA tokens. Gaining access to RSA's servers resulted in compromising every token. Decentralization is often key to security.
- halfasleep 15y agoThat is correct. In the case of Sony, Sony's servers were breached not those of their CA.