python - 如何防止 Gunicorn 尊重客户发起的重新协商?

标签 python security ssl gunicorn

我下载了 SSL 漏洞测试器 SSlyze并针对我的 gunicorn 端口运行它。其中一个结果是:

* Session Renegotiation:
  Client-initiated Renegotiations:   VULNERABLE - Server honors client-initiated renegotiations

我可以使用 Gunicorn 设置来阻止它尊重客户发起的重新协商吗?

最佳答案

不要将 Gunicorn 用作网络服务器。用 Nginx 代理它。 Nginx 擅长做 Web 服务器,Gunicorn 擅长做 WSGI 服务器。 Nginx disabled renegotiation in 2009 .

关于python - 如何防止 Gunicorn 尊重客户发起的重新协商?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33092665/

相关文章:

python - 安装pykpass时出错

security - 缓冲区溢出 - 程序在生成 shell 后终止

python - Heroku 仍然重定向到 https

c# - .Net SslStream 写/读问题

python - "ValueError: cannot reindex from a duplicate axis"

python - 在二维中扩展 numpy 数组的最简单方法是什么?

java - 使用 passPhrase 、saltValue、passwordIterations、initVector、keySize 进行 sha1 加密

php - 为什么不为不同用户的设备设置相同的 cookie?

linux - Linux docker:System.Security.Authentication.AuthenticationException:根据验证过程,远程证书无效

python - 如何为引发异常的 Python 控制台应用程序运行 Python 调试器