rajanadar / VaultSharp

A comprehensive cross-platform .NET Library for HashiCorp's Vault, a secret management tool

Home Page:http://rajanadar.github.io/VaultSharp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

tanishagarg-sf opened this issue · 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

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.