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

VAULT-15668: fix windows issues with -dev-tls flag #20257

Merged
merged 5 commits into from
Apr 21, 2023

Conversation

miagilepner
Copy link
Contributor

@miagilepner miagilepner commented Apr 19, 2023

The -dev-tls command wasn't working on windows, because the filepaths in the hcl config had unescaped backslashes. This PR adds escaping.

I also tested the changes on a windows VM, and confirmed that they resolved the problem.

Closes #20038

@miagilepner miagilepner added this to the 1.14 milestone Apr 19, 2023
@miagilepner miagilepner force-pushed the miagilepner/VAULT-15668-devtls-windows branch from 577aee6 to fe2455c Compare April 20, 2023 08:47
@miagilepner miagilepner changed the title VAULT-15668: use filepath.Join for -dev-tls flag VAULT-15668: fix windows issues with -dev-tls flag Apr 20, 2023
@miagilepner miagilepner requested review from jasonodonnell and a team April 20, 2023 16:12
@miagilepner miagilepner marked this pull request as ready for review April 20, 2023 16:12
Copy link
Contributor

@akshya96 akshya96 left a comment

Choose a reason for hiding this comment

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

LGTM!!

@miagilepner miagilepner merged commit b0289d4 into main Apr 21, 2023
miagilepner added a commit that referenced this pull request Apr 21, 2023
* fix -dev-tls flag on windows

* changelog

* fix only hcl config

* fix import

* fmt
miagilepner added a commit that referenced this pull request Apr 21, 2023
* fix -dev-tls flag on windows

* changelog

* fix only hcl config

* fix import

* fmt

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
@miagilepner miagilepner deleted the miagilepner/VAULT-15668-devtls-windows branch April 25, 2023 09:29
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.

Development mode with TLS enabled not work
3 participants