VaultSharp icon indicating copy to clipboard operation
VaultSharp copied to clipboard

Error: The request was aborted: Could not create SSL/TLS secure channel

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

Describe the bug A one liner of what the bug is. Error: The request was aborted: Could not create SSL/TLS secure channel 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

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

Hi @konidev20 This is working via curl command, via curl command using proxy i am able to login/read/write secrets. Still you think this can be an issue ?

tanishagarg-sf avatar Jul 14 '23 04:07 tanishagarg-sf

Have you tested your proxy configuration for the HTTPClient handler?

konidev20 avatar Jul 14 '23 04:07 konidev20

How can i test it ? Same configuration is used by us to talk with other services we use for which we can connection using proxy only.

tanishagarg-sf avatar Jul 14 '23 04:07 tanishagarg-sf