diff --git a/Plugins/LdapPlugin/Ldap/LdapServer.cs b/Plugins/LdapPlugin/Ldap/LdapServer.cs index c541f6f5..38ca2442 100755 --- a/Plugins/LdapPlugin/Ldap/LdapServer.cs +++ b/Plugins/LdapPlugin/Ldap/LdapServer.cs @@ -268,7 +268,7 @@ private bool VerifyCert(LdapConnection conn, X509Certificate cert) { try { - X509Store certStore = new X509Store(StoreLocation.LocalMachine); + X509Store certStore = new X509Store(StoreName.Root, StoreLocation.LocalMachine); certStore.Open(OpenFlags.ReadOnly); if (certStore.Certificates.Contains(cert)) return true;