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

HVAC Authentication error #617

Open
yogiyam12 opened this issue Jul 28, 2020 · 3 comments
Open

HVAC Authentication error #617

yogiyam12 opened this issue Jul 28, 2020 · 3 comments

Comments

@yogiyam12
Copy link

Using ca certificate and the key provided for the certificate, trying to authenticate hashicorp vault.
In all the formats of certificates is_authentication() is getting failed.

@jeffwecan
Copy link
Member

Howdy @yogiyam12, do you have any examples of the code you're using when encountering this issue? Sharing such examples, and also any error messages / tracebacks, you're seeing would help here.

@goldstar611
Copy link

Are you calling client.auth_tls() as seen in https://github.com/hvac/hvac/blob/main/docs/usage/auth_methods/index.rst ?

Authenticate to different auth backends
...
# TLS
client = Client(cert=('path/to/cert.pem', 'path/to/key.pem'))
client.auth_tls()

@Tylerlhess
Copy link
Contributor

This is likely fixed with #691

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

4 participants