Replies: 2 comments
-
Hmm, current fluentd/lib/fluent/plugin/out_http.rb Line 207 in dd1a6e5 fluentd/lib/fluent/plugin/out_http.rb Lines 248 to 256 in dd1a6e5 and it still uses deprecated method def ssl_version=(meth)
meth = meth.to_s if meth.is_a?(Symbol)
if /(?<type>_client|_server)\z/ =~ meth
meth = $`
if $VERBOSE
warn "#{caller(1, 1)[0]}: method type #{type.inspect} is ignored"
end
end
version = METHODS_MAP[meth.intern] or
raise ArgumentError, "unknown SSL method `%s'" % meth
set_minmax_proto_version(version, version)
@min_proto_version = @max_proto_version = version
end
METHODS_MAP = {
SSLv23: 0,
SSLv2: OpenSSL::SSL::SSL2_VERSION,
SSLv3: OpenSSL::SSL::SSL3_VERSION,
TLSv1: OpenSSL::SSL::TLS1_VERSION,
TLSv1_1: OpenSSL::SSL::TLS1_1_VERSION,
TLSv1_2: OpenSSL::SSL::TLS1_2_VERSION,
}.freeze
private_constant :METHODS_MAP We should fix this. |
Beta Was this translation helpful? Give feedback.
-
I've opened a new issue: #4332 |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use fluentd to send logs to a http endpoint. This endpoint only supports TLS 1.3
My configuration is as follows:
This does not work. I get the error:
Looking at the http output documentation it looks like the max version is TLS 1.2. I have verified that it works removing the
tls_version
parameter and downgrading the ssl configuration of the endpoint to support TLS 1.2.If I remove the
tls_version
parameter without downgrading the endpoint, the error is:Is there any way to get it working with TLS 1.3?
I'm using Fluentd v1.16.2-1.0 docker image
Beta Was this translation helpful? Give feedback.
All reactions