[精讚] [會員登入]
3678

在apache http server停用TLS 1.0/1.1 and SSL 2.0/3.0

How to disable outdated versions of SSL/TLS on Apache

分享此文連結 //n.sfs.tw/13295

分享連結 在apache http server停用TLS 1.0/1.1 and SSL 2.0/3.0@外行中的外行
(文章歡迎轉載,務必尊重版權註明連結來源)
2021-09-24 22:43:27 最後編修
2019-05-15 16:27:12 By jung
 

找到存有SSL格式的檔案,/etc/httpd/conf.d/ssl.conf

如果有用過let's encrypt檔案會放在/etc/pki/tls/options-ssl-apache.conf

註解#SSLProtocol all -SSLv2 -SSLv3

新增一行

SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1

註解# SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA

加上

SSLCipherSuite HIGH:!aNULL:!MD5:!3DES

檢查是否有這行

SSLHonorCipherOrder on

重新啟動apache

使用指令檢查

openssl s_client -connect xxx.sso.edu.tw:443 -tls1_2

openssl s_client -connect xxx.sso.edu.tw:443 -tls1_1

openssl s_client -connect xxx.sso.edu.tw:443 -tls1

正確設定的話,只有-tls1_2會有回應

 

END

你可能感興趣的文章

在apache http server停用TLS 1.0/1.1 and SSL 2.0/3.0 How to disable outdated versions of SSL/TLS on Apache

更新程式環境到wildfly18+openjdk11-phase3: 伺服器環境升級準備 upgrade jdk and wildfly on server

縣市IDP新增API功能 修改IDP程式增加API介面

更新程式環境到wildfly18+openjdk11-phase4: 認證程式更新 認證程式更新

縣市端新增syncdata spi功能 為了讓部裡主機可以透過OAUTH2流程,呼叫縣市同步SYNCDATA 的API

縣市IDP更換SSL憑證及修改servername+wildfly等設定 縣市IDP更換SSL

我有話要說

>>

限制:留言最高字數1000字。 限制:未登入訪客,每則留言間隔需超過10分鐘,每日最多5則留言。

訪客留言

[無留言]

隨機好文

nginx+ssl+certbot安裝設定雜記 using certbot on nginx to setup https connection

縣市IDP新增API功能 修改IDP程式增加API介面

啟動chrome時要求須輸入密碼enter password to unlock login keyring asking for entering password to unlock login kerying on Ubuntu desktop

installation and implementation of k8s clusters on CentOS8 k8s入坑

使用群暉NAS內建VPN SERVER套件的OPENVPN功能注意事項 使用群暉NAS內建VPN SERVER套件的OPENVPN功能注意事項