Re:Nginx and SSL root key security
by janvidar on Monday September 02, 2013 @05:32PM
(#6317304)
I am all for security in depth, but the www-data processes still has the private key in memory.
Makes it slightly harder to get at, through other vectors though.
[ Parent
| on HN ]
Hmm, good point. I guess it's a shame we can't pass TLS connection state between processes as easily as socket handles?
One approach is to let one process do the ssl termination, and only that -- that raises the bar some. That process might be nginx -- running under a different uid -- or one of the many ssl-proxies.
I guess that's a big advantage of terminating SSL at the load balancers – dedicated hardware which is unlikely to end up with exploitable RoR/PHP or SQLi vulnerabilites – is probably somewhat less likely to lose your private TLS certs to an automated WordPress/Rails/cPanel/whatever zero-day scan...