简体   繁体   English

tomcat 中的两路 ssl

[英]Two way ssl in tomcat

I have an application which is hosted on AWS instance and we used elastic load balancer with AWS SSL certificate.我有一个托管在 AWS 实例上的应用程序,我们使用了带有 AWS SSL 证书的弹性负载均衡器。 We used tomcat server.我们使用了 tomcat 服务器。 As we used AWS SSL certificate we have not configured 443 port on tomcat.由于我们使用了 AWS SSL 证书,我们没有在 tomcat 上配置 443 端口。 Now we want to implement two way SSL certificate.现在我们要实现两种方式的 SSL 证书。 I have searched for the same but most of the information is saying use SSLEnable=true in tomcat's server.xml but this will not work in my case.我已经搜索过相同的内容,但大多数信息都是在 tomcat 的 server.xml 中使用 SSLEnable=true ,但这在我的情况下不起作用。 Can someone please help me in this situation to implement Two way SSL.有人可以在这种情况下帮助我实现两种方式 SSL。

This is how i've setup it,我就是这样设置的

(server.xml) (服务器.xml)

<Connector
    port="8081"
    protocol="HTTP/1.1"
    proxyPort="443"
    scheme="https"
    secure="true"
    proxyName="mydomain.com"
    connectionTimeout="50000"
    URIEncoding="UTF-8"
    redirectPort="8443" />

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

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