[HTTPS] TLS/SSL指南 – (Ciphers/CURL Test)

Intro

TLS - 傳輸層安全性協定 (Transport Layer Security)

Cipher suite

SSL Lab - Checking server online


實作

查看 Cipher suite list

$ openssl ciphers -v

TLS_RSA_WITH_AES_128_GCM_SHA256 對應指令為 AES128-GCM-SHA256

Curl 指定 Cipher

$ curl -v --ciphers ECDHE-RSA-AES128-SHA256 "https://target.host"

需確認CURL版本支援--ciphers,經測試version 7.47.0不支援

指定最高TLS版本

$ curl --tls-max 1.2 "https://target.host"

Stackoverflow - How do we specify TLS/SSL options in Guzzle?


Apendix

Leave a Reply

Your email address will not be published. Required fields are marked *