apache - 在 Windows 上安装和配置 Apache 2.4

标签 apache tomcat ssl https

我的任务是在 Windows 服务器上安装和配置 Apache 2.4,目的如下:

  1. 通过apache配置SSL

  2. Apache Tomcat 也安装在服务器上以处理对特定 Web 应用程序的 Web 请求 - MySQL 数据库也在同一台服务器上。

如何在 Windows Server 2012 上通过 apache 2.4 安装和配置 SSL?

我在论坛等上阅读了很多文档和很多问题,现在比以前更困惑了。 http://httpd.apache.org/docs/2.4/

https://www.sslshopper.com/article-installing-an-ssl-certificate-in-windows-server-2008-iis-7.0.html

到目前为止,我已经下载并安装了 apache 作为服务,并从 OPENSSL 创建了证书服务请求(也已下载并安装)。

我现在需要做的是:

  1. 如何在 apache 中导入这些证书?

  2. 如何测试导入是否成功以及 ssl 是否正常工作?

  3. 如何将Apache重定向到Apache tomcat服务网页

有人可以概述所需的步骤,如果可能的话,如何在 Windows 中为 apache 执行这些步骤。

谢谢。

问候,

罗伯特·拉穆塔。

最佳答案

How does one import these certificates in[to] Apache [httpd]?

http://httpd.apache.org/docs/2.4/ssl/ssl_faq.html#realcert

How do you test if the import was successful and if SSL is working?

使用带有 HTTPS 的 Web 浏览器连接到服务器。如果它有效,并且证书看起来像您想要的样子,并且您没有收到错误/警告,那么您就很好。

How to redirect Apache [httpd] to Apache Tomcat to serve the web page

您需要使用像 mod_proxy 这样的反向代理模块。阅读 mod_proxy_http 的文档查看如何设置。

关于apache - 在 Windows 上安装和配置 Apache 2.4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40675574/

相关文章:

java - 在 Java 6 上使用 httpClient 4.3.6 在客户端强制协议(protocol)

tomcat - ROOT下的Grails Deployment不加载资源

java - 即使凭据为真,Spring Boot Security 也会在 API 调用上抛出 401 身份验证错误

linux - 使用 apache 虚拟主机时,谷歌浏览器中的配置 header 显示错误

apache - Dockerized Apache服务器未公开端口80

apache - jkmount 将挂载路径传递给 tomcat

amazon-web-services - 握手后 AWS IoT 关闭 mqtt 连接

c# - 电子邮件服务器上的自签名证书

python - 在同一个 apache 服务器上运行 django 和 flask

php - 如何为网站上的每个页面创建类似 url 的目录