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

any way to skip tls certificate verify? #7

Open
pracplayopen opened this issue Feb 21, 2021 · 1 comment
Open

any way to skip tls certificate verify? #7

pracplayopen opened this issue Feb 21, 2021 · 1 comment

Comments

@pracplayopen
Copy link

was able to get server configured and starting but it's refusing connection at my addr value.

since i'm taking this value straight from vault config (and can connect with it via clients), i'm guessing that it's because i'm using a private cert that tls doesn't like.

in the vault client or curl, you can disable tls certificate verification (-tls-skip-verify in vault cli).

I don't see an option in the config file to do something similiar. Is there an undocumented way to acheive same? Or can I somehow modify this in go with an environment variable?

appreciate any guidance and thanks for all your hard work.

@mooneye14
Copy link

Is the snapshot_agent running on the same server as Vault services? You can make a listener in Vault config HCL to allow localhost connections with no TLS then set "addr::http://127.0.0.1:8200"
listener "tcp" { address = "127.0.0.1:8200" tls_disable = 1 }

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

No branches or pull requests

2 participants