What can be done to resolve the error and configure Vault?
You’ve logged into the Vault CLI and attempted to enable an auth method, but received this error message.
What can be done to resolve the error and configure Vault?
Error enabling userpass auth: Post https://127.0.0.1:8200/v1/sys/auth/userpass: http: server gave HTTP response to HTTPS client
A . change ‘userpass’ to ‘username and password’
B . restart the Vault service on this node
C . set the VAULT_ADDR environment variable to HTTP
D . ask an admin to grant you permission to enable the userpass auth method
Answer: C
Explanation:
If you’re running Vault in a non-prod environment, you can configure Vault to disable TLS. In this case, TLS has been disabled but the default value for VAULT_ADDR is https://127.0.0.1:8200, therefore Vault is sending the request over HTTPS but Vault is responding using HTTP since TLS is disabled.
To handle this error, set the VAULT_ADDR environment variable to "http://127.0.0.1:8200".
Latest VA-002-P Dumps Valid Version with 200 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund