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

Configurable TLS cipher suites and versions; disallow weak ciphers #4269

Merged
merged 4 commits into from
May 11, 2018

Conversation

chelseakomlo
Copy link
Contributor

@chelseakomlo chelseakomlo commented May 8, 2018

By default, TLS 1.2 and a subset of safe ciphers are allowed. If operators want to enable TLS 1.0 and unsafe ciphers, this can be done via the agent configuration.

@chelseakomlo chelseakomlo force-pushed the f-tls-remove-weak-standards branch from 0bf2f50 to eb587d6 Compare May 8, 2018 23:08
@chelseakomlo chelseakomlo changed the title [WIP] Allow configurable TLS cipher suites; disallow weak ciphers Allow configurable TLS cipher suites; disallow weak ciphers May 9, 2018
@chelseakomlo chelseakomlo changed the title Allow configurable TLS cipher suites; disallow weak ciphers [WIP] Allow configurable TLS cipher suites; disallow weak ciphers May 9, 2018
disallow 3DES and RC4 ciphers

add documentation for tls_cipher_suites
@chelseakomlo chelseakomlo force-pushed the f-tls-remove-weak-standards branch from eb587d6 to c1b56aa Compare May 9, 2018 21:15
@chelseakomlo chelseakomlo changed the title [WIP] Allow configurable TLS cipher suites; disallow weak ciphers [WIP] Configurable TLS cipher suites and versions; disallow weak ciphers May 9, 2018
@chelseakomlo chelseakomlo changed the title [WIP] Configurable TLS cipher suites and versions; disallow weak ciphers Configurable TLS cipher suites and versions; disallow weak ciphers May 9, 2018
@chelseakomlo chelseakomlo force-pushed the f-tls-remove-weak-standards branch from c1b56aa to 509180e Compare May 9, 2018 22:07
@chelseakomlo chelseakomlo requested review from dadgar and preetapan May 9, 2018 22:08
nomad/server.go Outdated
tlsConf := tlsutil.NewTLSConfiguration(newTLSConfig)
tlsConf, err := tlsutil.NewTLSConfiguration(newTLSConfig)
if err != nil {
return err
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the error is logged by the caller we should log here


- `tls_min_version` - Specifies the minimum supported version of TLS. Accepted
values are "tls10", "tls11", "tls12". Defaults to TLS 1.2.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@chelseakomlo chelseakomlo May 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to keep the PR minimal to make reviewing simpler, I could add this in a follow up PR.

@chelseakomlo chelseakomlo merged commit 31c2198 into master May 11, 2018
@chelseakomlo chelseakomlo deleted the f-tls-remove-weak-standards branch May 11, 2018 12:11
@github-actions
Copy link

github-actions bot commented Mar 4, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants