Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
swetharavichandrancisco committed Apr 4, 2022
1 parent 44519a4 commit 4aa1c62
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ public static HttpClientHandler Create(string certificateFile)
{
try
{
var clientHandler = new HttpClientHandler()
{
ClientCertificateOptions = ClientCertificateOption.Manual,
};
clientHandler.ClientCertificates.Add(new X509Certificate2(certificateFile));
var clientHandler = new HttpClientHandler();

ServerCertificateValidationProvider serverCertificateValidationProvider =
ServerCertificateValidationProvider.FromCertificateFile(certificateFile);
Expand Down

0 comments on commit 4aa1c62

Please sign in to comment.