TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Nginx and SSL root key security

55 点作者 kamaln7超过 11 年前

3 条评论

hafabnew超过 11 年前
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 未加载
janvidar超过 11 年前
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 未加载
ppierald超过 11 年前
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.