Skip to content

MinTLSVersion is too low #318

@Gregory-Ledray

Description

@Gregory-Ledray

https://github.com/elastic/go-elasticsearch/blob/master/elasticsearch_example_test.go

Recommends this code to configure the TLSClientConfig:

TLSClientConfig: &tls.Config{
MinVersion: tls.VersionTLS11,
},

But I ?think? (I am very unsure about this) Elasticsearch supports TLSv1.3 https://www.elastic.co/guide/en/elasticsearch/reference/current/jdk-tls-versions.html

The example repository should absolutely be updated to use tls.VersionTLS13 if it is supported by Elasticsearch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions