apache - 我在哪里可以找到 CentOS 服务器中的 ssl.conf 文件?

标签 apache ssl openssl centos ssl-certificate

我的 /etc/apache2/conf/httpd.conf 包含这一行:

SSL协议(protocol)TLSv1.2

尽管如此,我被告知我需要确定在 ssl.conf 中为 SSLProtocol 定义的内容。我在哪里可以找到这个文件?我有一个 CentOS 服务器。

更新 1:没关系,我不再需要答案了,这完全是因为扫描报告提到了错误的 IP 地址,而不是我需要评估的 IP 地址。

最佳答案

CentOS 上的 ssl.conf 通常位于/etc/httpd/conf.d/ssl.conf

如果此文件不存在,那么您可能没有安装 Apache mod_ssl。

安装 mod_ssl:

sudo yum install mod_ssl

关于apache - 我在哪里可以找到 CentOS 服务器中的 ssl.conf 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50802446/

相关文章:

php - HTACCESS 问题导致 401 和多个 302

spring - 通过 SSL 连接 Informix JDBC

php - 无法使用 PHP SOAP 扩展通过 WS-Security 连接到 SSL Web 服务 - 证书、复杂的 WSDL

azure-devops - Visual Studio DevOps 管道中的错误解密错误(用于工作)

c - 如何使用 openssl 加载 pkcs12 并将其转换为 char* ?

mysql - 自托管计算机上的 500 内部服务器错误

apache - Apache包含哈希标记的目标的重写规则

mysql - Apache2 允许用户连接到 IP (Raspberry PI)

spring-boot - 使用 SSL 的 Spring Cloud Gateway 无法按名称路由到服务

gcc - 编译 OpenSSL 时 undefined reference