简体   繁体   English

如何配置playframework服务器以支持ssl

[英]How to configure playframework server to support ssl

如何配置playframework服务器以支持ssl示例https:// localhost:9000

If you prefer to use the integrated way, this is described in the release notes of playframework v1.1. 如果您更喜欢使用集成方式,则在playframework v1.1的发行说明中对此进行了描述。 you can then set the port for https in applicaon.conf. 然后,您可以在applicaon.conf中设置https的端口。

最简单的解决方案可能是使用ModSSL在Apache服务器后面运行playframework。

The secure way is to run your application behind a solution that ends the SSL and a firewall that will drop attacks, if you own your equipments and datacenter. 如果您拥有自己的设备和数据中心,安全的方法是在结束SSL的解决方案和防止攻击的防火墙后面运行您的应用程序。

Otherwise you can't analyse traffic to identify attacks : this is the weakness of SSL if you use it until your application server. 否则,您无法分析流量以识别攻击:如果您在应用程序服务器之前使用SSL,则这是SSL的弱点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM