-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Revert "Support PKCS#12 encoded certificates (#17261)" #17801
Conversation
This reverts commit de91bd0.
src/server/config/schema.test.js
Outdated
const { error } = validate(config); | ||
expect(error).toBe(null); | ||
expect(error).to.be.an(Object); |
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.
This revert might fail - I think this file was converted to use jest's expect
outside of this PR, so calls like .to.be.an(...)
may break.
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.
Great catch
💚 Build Succeeded |
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!
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, tested smoke tested with certs and checked the diff.
…c#17801) * Revert "Support PKCS#12 encoded certificates (elastic#17261)" This reverts commit de91bd0. * Fixing tests
💚 Build Succeeded |
This reverts commit de91bd0.
The PKCS#12 certificate includes the equivalent of the cert/key and cas in a single file, which made it rather difficult to only use the certificate authorities for connections that we proxy through the kibana server for end-user request (callWithRequest, elasticsearch plugin proxy)
We still want support for PKCS#12, but we need to think through how to reliably extract only the certification authorities when that's necessary.