在 Apache 2.4.37 中禁用 TLS 1.0 和 1.1 不起作用 (Disabling TLS 1.0 & 1.1 in Apache 2.4.37 not working)


問題描述

在 Apache 2.4.37 中禁用 TLS 1.0 和 1.1 不起作用 (Disabling TLS 1.0 & 1.1 in Apache 2.4.37 not working)

Centos7上安裝了Apache 2.4.37,沒有安裝letsencryt應用,httpd.conf文件中沒有虛擬主機。

下面是ssl.conf文件的部分設置。

<VirtualHost _default_:443>
SSLProtocol all ‑SSLv2 ‑SSLv3 ‑TLSv1 ‑TLSv1.1
SSLHonorCipherOrder on
SSLCipherSuite HIGH:!aNULL:!MD5:!3DES
SSLProxyCipherSuite PROFILE=SYSTEM
</VirtualHost>

還嘗試了以下條目,但不起作用。SSLProtocol TLSv1.2

nmap 顯示僅啟用了 tls1.2,但 ssllab 和 https: //www.cdn77.com/tls‑test 都顯示 tls 1.0 和 1.1 已啟用。

# nmap ‑sV ‑‑script ssl‑enum‑ciphers ‑p 443 localhost
Starting Nmap 7.70 ( https://nmap.org ) at 2021‑02‑10 18:53 EST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000035s latency).
Other addresses for localhost (not scanned): ::1

PORT    STATE SERVICE VERSION
443/tcp open  ssl/ssl Apache httpd (SSL‑only mode)
|_http‑server‑header: Apache/2.4.37 (centos) OpenSSL/1.1.1g
| ssl‑enum‑ciphers: 
|   TLSv1.2: 
|     ciphers: 
|       TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (ecdh_x25519) ‑ A
|       TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (dh 2048) ‑ A
.
.
.

誰能幫我找到根本原因,好嗎?謝謝!


參考解法

方法 1:

It turned out the issue is from AWS Load Balancer. The configuration on the Linux level was correct.

(by klausklaus)

參考文件

  1. Disabling TLS 1.0 & 1.1 in Apache 2.4.37 not working (CC BY‑SA 2.5/3.0/4.0)

#tls1.2 #apache #Centos #SSL






相關問題

如何使用 Retrofit 添加 TLS v 1.0 和 TLS v.1.1 (How to add TLS v 1.0 and TLS v.1.1 with Retrofit)

我的 openssl 和 ssl 默認 CA 證書路徑是什麼? (what is my openssl and ssl Default CA Certs Path?)

LDAP 使用端口 389 失敗 (LDAP fails using port 389)

如何配置 Apache 以接受具有 TLS v1.2 的過期客戶端證書? (How configure Apache to accept expired client certificate with TLS v1.2?)

Docker - 將 localhost HTTPS 服務器從容器發佈到主機 (Docker - Publish localhost HTTPS server from container to host)

SChannel 中的密碼套件選擇 (Cipher suite selection in SChannel)

我可以使用任何客戶端證書連接到在容器中運行的 MQTT 代理 (I'm able to connect to MQTT broker running in a container with any client certificate)

如何為通過 Kestrel 服務器託管 PWA 的 UWP 桌面橋應用配置 https (How to configure https for a UWP Desktop Bridge app hosting a PWA via a Kestrel Server)

如何修復 ERR_SSL_VERSION_OR_CIPHER_MISMATCH 錯誤? (How to fix ERR_SSL_VERSION_OR_CIPHER_MISMATCH error?)

在 Apache 2.4.37 中禁用 TLS 1.0 和 1.1 不起作用 (Disabling TLS 1.0 & 1.1 in Apache 2.4.37 not working)

如何從 Windows 解密其他設備(Wifi 熱點)的 TLS 數據包? (How can I decrypt TLS packets of other devices (Wifi Hotspot) from Windows?)

將備用 IP 地址添加到 kubernetes api 服務器 (add alternative IP address to kubernetes api server)







留言討論