

快速檢測網站是否已關閉 TLS 1.1/1.0
source link: https://blog.darkthread.net/blog/check-tls-version/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

快速檢測網站是否已關閉 TLS 1.1/1.0
網站是否關閉 TLS 1.1/1.0 是近期資安稽查的重點項目。要知道網站的 TLS 開啟狀態,對外網站用 Qualys SSL Labs 的免費線上檢測跑一下立見分曉。
但如果是內部網站,沒對外公開 SSL Labs 網站摸不到無從檢查,怎麼辦?
爬文找到簡便方法 - 用 openssl。
openssl s_client -connect www.ey.gov.tw:443 -tls1
openssl s_client -connect www.ey.gov.tw:443 -tls1_1
openssl s_client -connect www.ey.gov.tw:443 -tls1_2
如下圖所示,若網站已關閉該協定,openssl 測試時應傳回 error: ssl_choose_client_version:unsupported 等訊息,可藉此檢測是否已符合規定。
openssl.exe 何處尋?
接下來的疑問通常是 - openssl.exe 是 Windows 內建程式嗎?要去哪裡抓?
裝一下 Git for Windows 就有了。(記得順便活用 Git,讓人生變彩色的)
- Posted in
- IIS
Comments
# 2021-03-06 10:05 AM by 大元
黑大在之前的文章有介紹過 NAMP, https://blog.darkthread.net/blog/rdp-ssl-cipher-vulnerability/ 這篇沒有特別提及而是介紹 openssl,想必是因為簡單使用,需求明確的使用情境吧!
不知道是否可以這樣歸結各種工具的使用時機:
如果可以登入 Server,使用 RegEdit 或 IISCrypto 可以用來確認與調整 TLS Client / Server 支援的 TLS 版本以及調整支援的 Cipher Suite; 如果只是要確認 Server 是否啟用特定的 TLS 版本,則使用 openssl,如同本文的情境; 如果是要從 Client 端測試 Server 端支援的 TLS 版本以及 Cipher Suite 等詳盡資訊則使用 NMAP。
Post a comment
CommentRecommend
-
38
-
7
用 docker-compose 優雅關閉服務
-
8
架設一個測試網站,最常見的需求就是一個網站(Azure Web App)外加一個資料庫(Azure SQL Database),如果有檔案儲存需求,頂多就再加一個儲存體帳戶(Azure Storage Account)就可以搞定。這篇文章我將分享如...
-
6
V2EX › NGINX 如何盡量關閉 Nginx 的所有快取 viberconnection · 1 天前 via Android...
-
12
Nic Lin's Blog喜歡在地上滾的工程師基本上這次的 Apach Log4j 漏洞可以提權進行範圍更大的攻擊在 CVE 的網站
-
13
打造極簡式 ASP.NET Core 桌面小工具 陸續介紹在 ASP.NET Core 專案內嵌 HTML、.js 跑介面、呼叫 Minimal API MapPost("...") 寫的 WebAPI,
-
12
使用 ASP.NET Minimal API-黑暗執行緒 昨天發現 Python3 有個 http.server 模組,能將包含 .html、.css、.js 的資料夾快速轉成靜態網站,遇到臨時性或簡單的測試需求,相當...
-
6
在 Linux 將目錄快速轉為靜態網站 2022-02-27 03:13 PM
-
6
前幾天原本想用 ASP.NET Core 寫一個最簡單的 LINE Login 範例程式出來,結果想不到這麼簡單的功能,卡關了兩天才找出解決之道。如果單純的透過 OAuth 2.0 授權流程來取得 Access Token 與 ID Token 其實還蠻簡單的。但是若希望可以做到 OpenID Connect 流程中...
-
20
Ptt 正式關閉 Telnet 協定 在「[公告] Ptt 即日起關閉無加密的 telnet 連線方式」這邊看到正妹站長公佈關閉
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK