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

fix(vault): Set the Vault TLS client options if specified #3973

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

mgaffney
Copy link
Member

@mgaffney mgaffney commented Nov 1, 2023

Two Vault client settings were not being properly used when constructing a Vault client.

The TLS Skip Verify setting was only being set if a CA Cert was also configured. This fix sets the TLS Skip Verify when configured regardless of other settings. Closes #3961.

The TLS Server Name setting was never being set. Bad programmers. This fix now sets it on the Vault client if the Vault Credential Store has been configured to use a value for this setting. Closes #3962.

@mgaffney mgaffney added this to the 0.14.x milestone Nov 1, 2023
@github-actions github-actions bot added the core label Nov 1, 2023
@mgaffney mgaffney force-pushed the mgaffney-vault-tls-skip-verify-bug branch from fbe3427 to d1215c3 Compare November 1, 2023 21:23
@mgaffney mgaffney force-pushed the mgaffney-vault-tls-skip-verify-bug branch from d1215c3 to 0b26141 Compare November 2, 2023 13:30
Two Vault client settings were not being properly used when constructing
a Vault client.

The `TLS Skip Verify` setting was only being set if a `CA Cert` was also
configured. This fix sets the `TLS Skip Verify` when configured
regardless of other settings. Closes #3961.

The `TLS Server Name` setting was never being set. Bad programmers. This
fix now sets it on the Vault client if the Vault Credential Store has
been configured to use a value for this setting. Closes #3962.
@mgaffney mgaffney force-pushed the mgaffney-vault-tls-skip-verify-bug branch from 0b26141 to d638378 Compare November 2, 2023 20:14
@mgaffney mgaffney merged commit d638378 into main Nov 2, 2023
41 of 45 checks passed
@mgaffney mgaffney deleted the mgaffney-vault-tls-skip-verify-bug branch November 2, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants