LoginSignup
9
9

More than 5 years have passed since last update.

クライアントがどのSSLプロトコルでアクセスしてきているか確認する(nginx)

Last updated at Posted at 2014-10-16

POODLE対応とかでSSLv3を無効にする前に実際にSSLv3でアクセスしてきているクライアントがどれくらいいるのか確認したい場合、nginxだと$ssl_protocolという変数があるのでこれをlog_formatに入れるとよい。

    log_format  main  '$remote_addr'
                      '$request'
                      '$http_user_agent $http_x_forwarded_for'
                      '$ssl_protocol';

これでログにSSLv3とかTLSv1とか出力されるようになる。

9
9
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
9
9