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

Enforce presence of Certificate Authorities, Certificate file and Key when using LoadTLSServerConfig #12355

Merged
merged 10 commits into from
May 30, 2019

Conversation

ph
Copy link
Contributor

@ph ph commented May 29, 2019

When TLS is enabled for a Server we enforce CA, Certificate and the private key to make sure that the communication is correctly encrypted.

@ph ph requested a review from a team as a code owner May 29, 2019 20:49
@ph ph added the Metricbeat Metricbeat label May 29, 2019
@ph ph requested review from andrewkroh and tsg May 29, 2019 20:54
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

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

This lines up with my expectations as a user. When requiring TLS client authentication the user should have to specify what CA's are trusted. But what if client_auth: none is used?

CHANGELOG.next.asciidoc Outdated Show resolved Hide resolved
libbeat/common/transport/tlscommon/server_config.go Outdated Show resolved Hide resolved
ph and others added 4 commits May 29, 2019 17:18
CHANGELOG.next.asciidoc Outdated Show resolved Hide resolved
libbeat/common/transport/tlscommon/server_config.go Outdated Show resolved Hide resolved
@ph
Copy link
Contributor Author

ph commented May 30, 2019

jenkins test this please

@ph ph merged commit 8589309 into elastic:master May 30, 2019
ph added a commit to ph/beats that referenced this pull request May 30, 2019
… when using LoadTLSServerConfig (elastic#12355)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit 8589309)
@ph ph added the v6.8.1 label May 30, 2019
ph added a commit to ph/beats that referenced this pull request May 30, 2019
… when using LoadTLSServerConfig (elastic#12355)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit 8589309)
@ph ph added the v7.0.2 label May 30, 2019
ph added a commit to ph/beats that referenced this pull request May 30, 2019
… when using LoadTLSServerConfig (elastic#12355)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit 8589309)
@ph ph added the v7.1.2 label May 30, 2019
ph added a commit to ph/beats that referenced this pull request May 30, 2019
… when using LoadTLSServerConfig (elastic#12355)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit 8589309)
@ph ph added the v7.2.0 label May 30, 2019
ph added a commit that referenced this pull request May 30, 2019
…s, Certificate file and Key when using LoadTLSServerConfig (#12362)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit 8589309)
ph added a commit that referenced this pull request May 30, 2019
…s, Certificate file and Key when using LoadTLSServerConfig (#12363)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit 8589309)
ph added a commit that referenced this pull request May 30, 2019
…s, Certificate file and Key when using LoadTLSServerConfig (#12364)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit 8589309)
ph added a commit that referenced this pull request May 30, 2019
…s, Certificate file and Key when using LoadTLSServerConfig (#12365)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit 8589309)
ph added a commit to ph/beats that referenced this pull request Jun 3, 2019
…cate Authorities, Certificate file and Key when using LoadTLSServerConfig (elastic#12362)"

This reverts commit 1886e8e.
ph added a commit to ph/beats that referenced this pull request Jun 3, 2019
…cate Authorities, Certificate file and Key when using LoadTLSServerConfig (elastic#12363)"

This reverts commit debc457.
ph added a commit to ph/beats that referenced this pull request Jun 3, 2019
…cate Authorities, Certificate file and Key when using LoadTLSServerConfig (elastic#12364)"

This reverts commit e9717b6.
ph added a commit to ph/beats that referenced this pull request Jun 4, 2019
…cate Authorities, Certificate file and Key when using LoadTLSServerConfig (elastic#12365)"

This reverts commit 0a4fa5f.
ph added a commit that referenced this pull request Jun 4, 2019
…thorities, Certificate file and Key when using LoadTLSServerConfig (#12365)" (#12420)

This reverts commit 0a4fa5f.
ph added a commit that referenced this pull request Jun 4, 2019
…thorities, Certificate file and Key when using LoadTLSServerConfig (#12364)" (#12398)

This reverts commit e9717b6.
ph added a commit that referenced this pull request Jun 4, 2019
…thorities, Certificate file and Key when using LoadTLSServerConfig (#12363)" (#12396)

This reverts commit debc457.
ph added a commit that referenced this pull request Jun 4, 2019
…thorities, Certificate file and Key when using LoadTLSServerConfig (#12362)" (#12395)

This reverts commit 1886e8e.
ph added a commit to ph/beats that referenced this pull request Jun 5, 2019
… and Key when using LoadTLSServerConfig (elastic#12355)"

This reverts commit 8589309.
ph added a commit that referenced this pull request Jun 5, 2019
… and Key when using LoadTLSServerConfig (#12355)" (#12441)

This reverts commit 8589309.
andrewvc pushed a commit to andrewvc/beats that referenced this pull request Jun 12, 2019
… and Key when using LoadTLSServerConfig (elastic#12355)" (elastic#12441)

This reverts commit 8589309.
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…horities, Certificate file and Key when using LoadTLSServerConfig (elastic#12365)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit fdd0b75)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…cate Authorities, Certificate file and Key when using LoadTLSServerConfig (elastic#12365)" (elastic#12420)

This reverts commit 8e3d18d.
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…horities, Certificate file and Key when using LoadTLSServerConfig (elastic#12364)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit fdd0b75)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…cate Authorities, Certificate file and Key when using LoadTLSServerConfig (elastic#12364)" (elastic#12398)

This reverts commit 6d567ae.
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…horities, Certificate file and Key when using LoadTLSServerConfig (elastic#12363)

* Enforce presence of Certificate Authorities, Certificate file and Key
when using LoadTLSServerConfig


(cherry picked from commit fdd0b75)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…cate Authorities, Certificate file and Key when using LoadTLSServerConfig (elastic#12363)" (elastic#12396)

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

Successfully merging this pull request may close these issues.

2 participants