From 0755b6fc8a82500afdf4c61c87a038b1c01d6dc7 Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Thu, 19 Apr 2018 17:03:21 +1000 Subject: [PATCH] Workaround: Dont remove client certificates --- Disco.ClientBootstrapper/Interop/CertificateInterop.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Disco.ClientBootstrapper/Interop/CertificateInterop.cs b/Disco.ClientBootstrapper/Interop/CertificateInterop.cs index 31807ad2..ce4bcecc 100644 --- a/Disco.ClientBootstrapper/Interop/CertificateInterop.cs +++ b/Disco.ClientBootstrapper/Interop/CertificateInterop.cs @@ -16,8 +16,9 @@ namespace Disco.ClientBootstrapper.Interop if (_tempCerts != null && _tempCerts.Count > 0) { Remove(StoreName.My, StoreLocation.LocalMachine, _tempCerts); - Remove(StoreName.CertificateAuthority, StoreLocation.LocalMachine, _tempCerts); - Remove(StoreName.Root, StoreLocation.LocalMachine, _tempCerts); + // dont remove root/intermediate certs as they may be have installed by client + //Remove(StoreName.CertificateAuthority, StoreLocation.LocalMachine, _tempCerts); + //Remove(StoreName.Root, StoreLocation.LocalMachine, _tempCerts); } } public static void AddTempCerts()