Skip to content

Conversation

@hc-github-team-consul-core
Copy link
Collaborator

Backport

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

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


Description

If you are 1) using Vault as a Consul Connect CA, 2) using Vault-managed policies (i.e. you are bringing external existing Vault mounts to use as CA instead of giving Consul privileges to make mounts itself), and 3) have an empty intermediate PKI mount, Consul will fail to startup the CA Manager.

People have gotten around this issue by adding a dummy cert in the intermediate PKI mount but this PR aims to fix the root cause.

Testing & Reproduction steps

  • Added test that fails without the code changes

Links

Vault as CA reference: https://developer.hashicorp.com/consul/docs/connect/ca/vault#vault-acl-policies

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/vault-managed-inter-pki/neatly-romantic-foxhound branch 2 times, most recently from 53f0070 to 2eab893 Compare November 28, 2022 21:18
Copy link
Collaborator

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

@github-actions github-actions bot added the theme/connect Anything related to Consul Connect, Service Mesh, Side Car Proxies label Nov 28, 2022
@kisunji kisunji merged commit a2eb18c into release/1.13.x Nov 28, 2022
@kisunji kisunji deleted the backport/kisunji/vault-managed-inter-pki/neatly-romantic-foxhound branch November 28, 2022 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme/connect Anything related to Consul Connect, Service Mesh, Side Car Proxies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants