-
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
Consul Connect CA: can't change provider #9268
Comments
@jsosulska any thoughts on that? |
If you are knowingly trying to switch between
Disabling connect does not delete the persisted CA roots in the data directory, it just disables the code that interacts with them. There is currently no way to fully reset the stored CA information outside of the Possible solutionIf you left everything to the defaults, that means that both the consul and vault sides are dealing with What we're going to do is reconfigure the Connect CA to use the builtin First you'll need to generate a key directly and only keep the private key part:
If you pass that through a quick
Now use that to generate your CA config snippet:
And use that to reconfigure:
|
Yeah, that's exactly what I wanted to do. Thanks @rboyer, I'll try your solution 👍 |
@rboyer unfortunately I'm still getting cert error:
BTW. I upgraded consul to |
@rboyer Is there a plan to make it happen? Any related issue I could follow? |
I am facing a similar issue. However, I haven't chnaged the provider. It is still consul. All I am doing is rotating the CA cert for the 2nd time and facing the issue as below: |
Same issue @ashwinkupatkar is facing here. Whatever key/key+cert combination I try to upload via set-config, I get the same error message:
I'd so much appreciate endpoints to manage data, like deletion of CA configurations, which might effectively allow to reset everything. |
Hi all,
I'm getting error while trying to change Connect CA provider. Here are steps I've taken:
consul
:I tried to disable connect (remove connect stanza and rolling restart all servers) and enable it (provider set to
consul
) again but no luck,consul connect ca get-config
still shows Vault as CA.The text was updated successfully, but these errors were encountered: