Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS config: Enable selection of min and max TLS version #373

Closed
wants to merge 1 commit into from

Conversation

roidelapluie
Copy link
Member

go1.18 changes the default minimum TLS version to 1.2.

In order not to break our users, let's make the default minimum version
configurable, with conservative defaults.

The allowed values (TLS10, ..) come from the exporter-toolkit:
https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md

TLSVersion is exported so the exporter toolkit can reuse them later.

Signed-off-by: Julien Pivotto roidelapluie@o11y.eu

@roidelapluie
Copy link
Member Author

Hold on. We might want the default to be tls1.2 and change it in Prometheus itself.

go1.18 changes the default minimum TLS version to 1.2.

In order not to break our users, let's make the default minimum version
configurable.

The allowed values (TLS10, ..) come from the exporter-toolkit:
https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md

TLSVersion is exported so the exporter toolkit can reuse them later.
DefaultTLSVersion is exposed so Prometheus can keep a conservative
default.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
@roidelapluie
Copy link
Member Author

Closed for #375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant