0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

curlでTLSのバージョンを指定してHTTPリクエストする方法

0
Posted at

はじめに

--tlsv1.xオプションだけではTLSのバージョンを指定しての通信ができず、
地味にハマったので備忘録として残します。

方法について

--tlsv1.xだけでなく--tls-max 1.xの指定が必要です。

TLS1.0でリクエストしたい場合は以下の様に実行してください。

curl --tlsv1.0 --tls-max 1.0  <URL>

警告
サーバー側が指定したTLSバージョンに対応(暗号スイートの設定等)していることを確認してください。

最後に

誰かのお役に立てれば幸いです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?