Workaround: Dont remove client certificates

This commit is contained in:
Gary Sharp
2018-04-19 17:03:21 +10:00
parent 78dd494304
commit 0755b6fc8a
@@ -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()