Skip to content

tls: allow cert validation by only leaf trusted CA's CRL#18289

Merged
lizan merged 16 commits intoenvoyproxy:mainfrom
Shikugawa:leaf-crl
Nov 2, 2021
Merged

tls: allow cert validation by only leaf trusted CA's CRL#18289
lizan merged 16 commits intoenvoyproxy:mainfrom
Shikugawa:leaf-crl

Conversation

@Shikugawa
Copy link
Copy Markdown
Member

Signed-off-by: Shikugawa rei@tetrate.io

Commit Message: Allow cert validation by only leaf trusted CAs CRL
Additional Description: Close #18268. In the previous implementation, we don't have availability to validate certs when all trusted CAs don't have their own CRLs if any trusted CAs have that. This feature allows validating even if all trusted CAs don't have CRLs.
Risk Level: Low
Testing: Unit
Docs Changes: Required
Release Notes: Required
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

cc @incfly

Signed-off-by: Shikugawa <rei@tetrate.io>
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
envoyproxy/api-shepherds assignee is @mattklein123
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #18289 was opened by Shikugawa.

see: more, trace.

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.

Thanks flushing out some comments. cc @ggreenway to provide a quick sanity check of the feature.

/wait

@incfly
Copy link
Copy Markdown
Contributor

incfly commented Sep 28, 2021

Thanks for the quick change! @Shikugawa

Signed-off-by: Shikugawa <rei@tetrate.io>
Signed-off-by: Shikugawa <rei@tetrate.io>
Signed-off-by: Shikugawa <rei@tetrate.io>
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.

Flushing some more API comments. I will defer to @lizan and others for the testing review to make sure we have good coverage, thanks.

/wait

Signed-off-by: Shikugawa <rei@tetrate.io>
@Shikugawa
Copy link
Copy Markdown
Member Author

@lizan Could you take a look?

Copy link
Copy Markdown
Contributor

@incfly incfly left a comment

Choose a reason for hiding this comment

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

LGTM

mattklein123
mattklein123 previously approved these changes Sep 30, 2021
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.

API LGTM thanks. I will defer to @lizan for the TLS/test review. Thank you!

@mattklein123
Copy link
Copy Markdown
Member

Needs a main merge. Ping @lizan PTAL.

/wait

Copy link
Copy Markdown
Member

@lizan lizan left a comment

Choose a reason for hiding this comment

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

one more about naming, and please resolve conflicts.

Signed-off-by: Shikugawa <rei@tetrate.io>
@mattklein123
Copy link
Copy Markdown
Member

Needs a main merge.

/wait

@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @lizan
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #18289 was synchronize by Shikugawa.

see: more, trace.

Signed-off-by: Shikugawa <rei@tetrate.io>
Signed-off-by: Shikugawa <rei@tetrate.io>
@Shikugawa
Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #18289 (comment) was created by @Shikugawa.

see: more, trace.

@Shikugawa
Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #18289 (comment) was created by @Shikugawa.

see: more, trace.

Signed-off-by: Shikugawa <rei@tetrate.io>
@Shikugawa
Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #18289 (comment) was created by @Shikugawa.

see: more, trace.

@Shikugawa
Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #18289 (comment) was created by @Shikugawa.

see: more, trace.

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.

LGTM, thanks. @lizan @incfly can you quickly check the test coverage? Thank you.

@repokitteh-read-only repokitteh-read-only bot removed the api label Nov 2, 2021
Copy link
Copy Markdown
Contributor

@incfly incfly left a comment

Choose a reason for hiding this comment

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

This looks good to me. Thanks @Shikugawa for the change, and @mattklein123 for the headsup

@lizan lizan merged commit 56e8c45 into envoyproxy:main Nov 2, 2021
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.

Allow CRL verification to not require all level CA's CRL.

4 participants