[精讚] [會員登入]
4082

在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

你可能感興趣的文章

系統不正常關機導致mongodb啟動失敗 重新安裝mongodb使用mongorestore

[java]縣市IDP建置 使用NetBeans建置IDP程式

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

縣市端新增師生關係API程式 在縣市端建立可由教育部主機撈取縣市資料庫師生關係的API 程式

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

更新程式取消google recaptcha改用輸入驗證碼 update cnclibs to 0.0.8.6

隨機好文

在ubuntu18.04桌面版安裝中文注音輸入法 如何在ubuntu桌面使用新酷音注音輸入法

測試及處理slow http attack on Apache 2.4.6 at CentOS-7 avoiding and testing slow http attack

在家設定openvpn server on pfsense 在家設定openvpn server on pfsense

testing gitlab and jenkins CI/CD on docker-1 在docker架設gitlab, jenkins 測試CI/CD pipeline第一章