Skip to content

Commit

Permalink
Merge pull request #4718 from daipom/transport-tls-use-SSL_VERIFY_NON…
Browse files Browse the repository at this point in the history
…E-by-default

transport tls: use SSL_VERIFY_NONE by default
  • Loading branch information
kenhys authored Nov 28, 2024
2 parents 2d8c9d4 + 144eb23 commit 4db97a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fluent/plugin_helper/cert_option.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def cert_option_create_context(version, insecure, ciphers, conf)

if conf.client_cert_auth
ctx.verify_mode = OpenSSL::SSL::VERIFY_PEER | OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
else
ctx.verify_mode = OpenSSL::SSL::VERIFY_NONE
end

ctx.ca_file = conf.ca_path
Expand Down

0 comments on commit 4db97a3

Please sign in to comment.