Skip to content

Require peer certificate to be present when ca_cert_file is set#648

Merged
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
lookuptable:require-peer-cert
Mar 29, 2017
Merged

Require peer certificate to be present when ca_cert_file is set#648
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
lookuptable:require-peer-cert

Conversation

@lookuptable
Copy link
Copy Markdown
Contributor

Fixes #615

@lookuptable
Copy link
Copy Markdown
Contributor Author

@mattklein123 PTAL

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Looks good from code perspective, 1 small nit.

For docs, please add a small note to https://lyft.github.io/envoy/docs/configuration/listeners/ssl.html and https://lyft.github.io/envoy/docs/configuration/cluster_manager/cluster_ssl.html about how setting ca_cert_file requires that a certificate be presented or the connection will be failed.

stats_.no_certificate_.inc();

if (ca_cert_) {
// In case that ca_cert_ exists, reject the connection when peer
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: please flow comment out to 100 col

@mattklein123 mattklein123 merged commit 1687644 into envoyproxy:master Mar 29, 2017
lookuptable added a commit to lookuptable/proxy that referenced this pull request Mar 29, 2017
mattklein123 added a commit that referenced this pull request Apr 1, 2017
mattklein123 added a commit that referenced this pull request Apr 1, 2017
vijayendrabvs pushed a commit to vijayendrabvs/envoy that referenced this pull request Apr 4, 2017
jplevyak pushed a commit to jplevyak/envoy that referenced this pull request Sep 29, 2020
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Signed-off-by: Jose Nino jnino@lyft.com
Description: #9618 broke the iOS build due to missing symbols. #9875 fixes. However, in order to expedite a clean master branch this PR moves the Envoy ref back to a stable place. Note that Android logging is reverted. Also note that CI for iOS was not testing for liveliness, which is how the breakage went through in the first place. This PR also fixes that.
Risk Level: low
Testing: CI

Fixes #646

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Signed-off-by: Jose Nino jnino@lyft.com
Description: #9618 broke the iOS build due to missing symbols. #9875 fixes. However, in order to expedite a clean master branch this PR moves the Envoy ref back to a stable place. Note that Android logging is reverted. Also note that CI for iOS was not testing for liveliness, which is how the breakage went through in the first place. This PR also fixes that.
Risk Level: low
Testing: CI

Fixes #646

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
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.

2 participants