Closed SachinMaharana closed 2 years ago
Hi, @SachinMaharana. Thank you for your engagement! Our use of GitHub issues is meant to enable the Vault community the to submit feature requests and bug reports. The Vault Discuss forum is the best venue to seek feedback on general usage issues. It appears that you have submitted a similar issue there already. As such, I'm going to close this issue.
Can we open this back up or submit this to support? The question here isn't answered: similar issue
The problem reported here relates in part to the issue #15070 that I opened.
Specifically, Vault plugins connect back to the api_addr
of the Vault that started them, as part of their initialization.
This is an obscure detail that I haven't found documented anywhere, and needed to learn from the source code.
Therefore what is going wrong here, is that the user is attempting to run a Vault configured with an SSL certificate that is not valid for the hostname/IP address in its configured api_addr
.
My issue #15070 goes into further detail about why I think plugins should not use api_addr
as part of their initialization.
Describe the bug I am having issues relating to setup plugin for vault. While vault works fine and i could get the secrets as injector with tls enabled, but setting up plugins is hitting a roadblock. While writing the config file for plugin, i get the error.
To Reproduce
Not sure why the API_ADDR is the pod ip, which is not present in the SAN of the csr as seen below
My CSR config is
Any hint would be of great help. Thanks
Steps to reproduce the behavior:
vault write ...
vault login....
Expected behavior Expected the plugin to work
Environment:
vault status
):Vault v1.9.3 (7dbdd57243a0d8d9d9e07cd01eb657369f8e1b8a)
Additional context Add any other context about the problem here.