|
|
|
|
|
by marc_omorain
4115 days ago
|
|
Is there a technical reason why you would implement HTTPS in a HTTP server? If you ran a separate process on port 443 to terminate SSL connections, and then proxy that request to a HTTP server running locally, there would be better separation of concerns. For example, this setup would mean that a security flaw in the HTTP server that allowed a user to read memory would not be able to read any private keys used in the HTTPS server. I guess some downsides would be some extra latency while the request is proxied, and some extra memory overhead for the second process. I'm interested in anyones thoughts on this. |
|
OpenBSD's TLS private key consuming daemons have moved to this model or are in the process of doing so. This helps to mitigate the problem of access to process memory results in disclosed private keys, also the requirement of the daemon's user facing bits to have access to the keyfiles.
http://article.gmane.org/gmane.os.openbsd.cvs/139527/