Skip to content
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

Backport of Preserve CARoots when updating Vault CA configuration into release/1.15.x #16626

Conversation

hc-github-team-consul-core
Copy link
Contributor

Backport

This PR is auto-generated from #16592 to be assessed for backporting due to the inclusion of the label backport/1.15.

The below text is copied from the body of the original PR.


Description

If a CA config update did not cause a root change, the codepath would return early and skip some steps which preserve its intermediate certificates and signing key ID. This commit re-orders some code and prevents updates from unnecessarily generating new intermediate certificates if one exists.

Testing & Reproduction steps

  • Added new testcase which should fail without this PR
  • Existing integration tests are passing

Links

Fixes #16580
Fixes #14564

PR Checklist

  • updated test coverage
  • external facing docs updated
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/kisunji/NET-3212-vault-ca-config-update-fix/miserably-unified-stork branch from 5298ff9 to 71cdffd Compare March 13, 2023 21:33
Copy link

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@hc-github-team-consul-core hc-github-team-consul-core merged commit 04d882f into release/1.15.x Mar 13, 2023
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/kisunji/NET-3212-vault-ca-config-update-fix/miserably-unified-stork branch March 13, 2023 21:54
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