端口 8080 上的 Tomcat SSL

问题描述

我在 tomcat 的 443 端口上应用了 SSL,但由于某些限制,我的经理要求我在 8080 端口上应用它。 当我将连接器中的端口从 443 更改为 8080 时,服务器不断将我的请求从 https://domain_name:8080 重定向到 https://domain_name:8443。 在没有任何重定向技术的情况下,我可以做些什么来在 tomcat 端口 8080 上应用 SSL? 它是否也需要对“web.xml”进行任何更改?

这是我的 8080 连接器

<Connector port="8080" protocol="HTTP/1.1"
                connectionTimeout="20000"
                scheme="https" secure="true" SSLEnabled="true"
                keystoreFile="/home/my_user/SSL-Cert/sslKey.jks"
                keystorePass="pass121" clientAuth="false"
                keyAlias="ssl-Key" sslProtocol="TLS"
                />

当我将端口 8080 更改为 8082 时,它无需任何重定向即可正常工作。这与 8080 端口有什么关系吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...