简体   繁体   English

在tomcat和Apache HTTP服务器之间配置SSL

[英]Configure SSL between tomcat and apache http server

We have a security requirement to configure SSL between tomcat and apache http server. 我们具有安全性要求,以便在tomcat和apache http服务器之间配置SSL。 I am using mod_jk for connection between httpd and tomcat servers. 我正在使用mod_jk在httpd和tomcat服务器之间建立连接。

I couldn't find the correct document which explains my situation. 我找不到正确的文件来说明我的情况。 If anyone knows, pl. 如果有人知道,请。 help me. 帮我。

Short answer, you need to use the HTTP protocol instead of AJP. 简短的答案,您需要使用HTTP协议而不是AJP。

HTTP supports encrypted communications (ie HTTPS), but AJP does not. HTTP支持加密的通信(即HTTPS),但AJP不支持。 If you want to stick with AJP, you'd need to use encryption at a lower level, like a VPN or encrypted tunnel, and then route your AJP traffic over the encrypted network. 如果要坚持使用AJP,则需要在较低级别(例如VPN或加密隧道)使用加密,然后在加密网络上路由AJP通信。

If you switch to HTTP, you can use HTTPD, mod_proxy and mod_ssl to encrypt connections between HTTPD & Tomcat. 如果切换到HTTP,则可以使用HTTPD,mod_proxy和mod_ssl来加密HTTPD和Tomcat之间的连接。 The standard documentation on this is pretty good. 关于此的标准文档非常好。

http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass http://httpd.apache.org/docs/current/mod/mod_ssl.html#sslproxyengine http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass http://httpd.apache.org/docs/current/mod/mod_ssl.html#sslproxyengine

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

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