gpt4 book ai didi

ssl - 将 Jetty http 流量路由到 https

转载 作者:太空宇宙 更新时间:2023-11-03 15:02:37 26 4
gpt4 key购买 nike

我正在努力确保 Jetty 8.0 的安全。

我已遵循所有提到的说明 here .

但是我无法将 http 请求重定向到 https。有人可以帮助我吗?

当我执行 https:///时,我确实得到了有效响应,但当我执行 http://:9393/时,我没有得到任何响应。

9393 是配置应用程序运行的端口。

在“将 http 请求重定向到 https”标题下显示

To redirect http to https, the webapp should indicate it needs CONFIDENTIAL or INTEGRAL connections from users. This is done in web.xml:

他们指的是哪个 web.xml?哪个属于部署的应用程序?

最佳答案

是的,您的 Web 应用程序中的 web.xml。如果你以前没有看过这个:http://wiki.eclipse.org/Jetty/Howto/Configure_SSL#Redirecting_http_requests_to_https

关于ssl - 将 Jetty http 流量路由到 https,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19049087/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com