TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nginx and SSL root key security

55 pointsby kamaln7over 11 years ago

3 comments

hafabnewover 11 years ago
For a site that&#x27;s (apparently) hosting an article about a security vulnerability, they _really_ need to turn debug mode off.<p>For those wondering what I&#x27;m on about when the site starts functioning again, I got an error page akin to a Django page with `DEBUG = True`, listing useful information as the full path to the PHP script being run, the user it&#x27;s being run as, , etc.
评论 #6318764 未加载
janvidarover 11 years ago
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.
评论 #6318103 未加载
ppieraldover 11 years ago
You are really protecting against local, non-root access to your box, especially when that user is the nginx child process. This can manifest itself in a number of ways, but most roads lead back to improper input sanitization and&#x2F;or using user input in shell command execution.<p>Using the Unix file permissions to our advantage and the properties of fork&#x27;d child processes, you can scope your risk to a highly skilled adversary rather than the common adversary.<p>Note that not only is your SSL certificate at risk, but every file the web-server needs to read including configuration files containing passwords, API keys, and crypto keys.