When i pass null http client handler then i got following exception .
Exception :
at Vault.Client.VaultConfiguration..ctor(String basePath, HttpClientHandler httpClientHandler, Nullable`1 timeout, RetryConfiguration retryConfiguration, RateLimitConfiguration rateLimitConfiguration, TLSConfiguration tlsConfiguration)
In the Vault Configuration class, If httpClientHandler is null then you create a HttpClientHandler and set it to this.HttpClientHandler object. And After , you are using httpClientHandler object on following lines.
this.HttpClientHandler = httpClientHandler ?? new HttpClientHandler();
//
httpClientHandler.ClientCertificates.Add((X509Certificate) this.TLSConfiguration.ClientCertificate);
When i pass null http client handler then i got following exception .
Exception :
at Vault.Client.VaultConfiguration..ctor(String basePath, HttpClientHandler httpClientHandler, Nullable`1 timeout, RetryConfiguration retryConfiguration, RateLimitConfiguration rateLimitConfiguration, TLSConfiguration tlsConfiguration)
In the Vault Configuration class, If httpClientHandler is null then you create a HttpClientHandler and set it to this.HttpClientHandler object. And After , you are using httpClientHandler object on following lines.
this.HttpClientHandler = httpClientHandler ?? new HttpClientHandler();
//
httpClientHandler.ClientCertificates.Add((X509Certificate) this.TLSConfiguration.ClientCertificate);