-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[1.10.x] ca: add support for an external trusted CA #12391
[1.10.x] ca: add support for an external trusted CA #12391
Conversation
…ermediate ca: add a test that uses an intermediate CA as the primary CA
The interface is documented as 'Sign will only return the leaf', and the other providers only return the leaf. It seems like this was added during the initial implementation, so is likely just something we missed. It doesn't break anything , but it does cause confusing cert chains in the API response which could break something in the future.
make TestNewCARoot much more strict compare the full result instead of only a few fields. add a test case with 2 and 3 certificates in the pem
And remove a no longer needed TODO
There's a chance this could flake if the secondary hasn't received the update yet, but running this test many times doesn't show any flakes yet.
🤔 This PR has changes in the |
🍒 If backport labels were added before merging, cherry-picking will start automatically. To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/591457. |
Backport of #11783 and #11910
A few merge conflicts in import blocks, and a few because the method renames from #11338 are not backported.