-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Adjust PKI bootstrap check for delegation #44767
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
Adjust PKI bootstrap check for delegation #44767
Conversation
|
Pinging @elastic/es-security |
tvernum
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@elasticmachine run elasticsearch-ci/2 |
@elasticmachine run elasticsearch-ci/2 |
bizybot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thank you.
There is currently a bootstrap check that validates TLS client authentication is enabled (
requiredoroptional) in at least one context (transport or http) when there is at least one PKI realm enabled.That is because clients cannot be authenticated by the PKI realm if there's no channel that supports mutually authn TLS. However, with the new proxied PKI authn scheme, this is no longer true; it is possible to authn via the proxied PKI scheme even if there is no mutually authn TLS channel configured.
This commit relaxes the bootstrap check to only fail if the PKI realm is enabled and does not support delegation.
Relates #34396