How do I configure Perfect Forward Secrecy in Windows Azure (OS, or Websites)

谁说胖子不能爱 提交于 2019-11-30 19:08:33

问题


I want to move my website to Windows Azure, but need to make sure that I'm using PFS on all my instances and roles. (regular web roles and Websites as well)

How do I configure this so that each deployment is automatically configured this way?


回答1:


This excellent article by André N. Klingsheim explains detailed options for hardening the SSL/TLS configuration on Windows Server and Windows Azure. This includes

  • Disabling SSL
  • Enabling TLS
  • Changing Cipher Suite Priorities

The author additionally provides a NuGet package as well as related source code for handling these updates during Azure role startup.

If you want to enforce (perfect) forward secrecy over just enabling it you will probably want to disable all cipher suites not supporting that. Looking at the relevant powershell script all TLS_RSA_*-suites need to be removed from $preferredCipherSuites. Note that this will drop compatibility with some (mostly legacy) browsers/clients.

Please also see this answer that contains several resources on cipher suite recommendations.




回答2:


I believe that forcing PFS from the server side required a registry change. This can be achieved for Web Roles using a start up script as described here

Given the need to change the registry, I don't think this is possible for Windows Azure Websites.



来源:https://stackoverflow.com/questions/20450631/how-do-i-configure-perfect-forward-secrecy-in-windows-azure-os-or-websites

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!