VaultSharp icon indicating copy to clipboard operation
VaultSharp copied to clipboard

vaultsharp.core.vaultapiexception {"errors":["tls connection required"]}

Open tanishagarg-sf opened this issue 2 years ago • 1 comments

Describe the bug A one liner of what the bug is. vaultsharp.core.vaultapiexception {"errors":["tls connection required"]}

VaultSharp Version The version of VaultSharp package being used VaultSharp.1.4.0.1 Vault Version The version of Vault server being used

Does this work with Vault CLI? Yes

Exception Details/Stack Trace/Error Message Error message, stack trace you see System.AggregateException: One or more errors occurred. ---> VaultSharp.Core.VaultApiException: {"errors":["tls connection required"]}

Any additional info

.NET version is 4.6.2

tanishagarg-sf avatar Jul 10 '23 21:07 tanishagarg-sf

Hey @tanishagarg-sf ,

Since your connection is going through a proxy. Have you checked if the connection between the proxy, I reckon the TLS connection is being terminated on the proxy. Ideally, from the proxy there must be another TLS connection to the Vault Server.

It's mainly a configuration issue from your end.

konidev20 avatar Jul 14 '23 04:07 konidev20