1.1.1 -> 1.1.2 第51次更新

This commit is contained in:
Space Time 2024-10-07 13:59:00 +08:00
parent 56cbb7ec09
commit 74f4494f45

View File

@ -23,7 +23,13 @@ internal class NginxProc : Proc
foreach (X509Certificate2 storedCert in certStore.Certificates) foreach (X509Certificate2 storedCert in certStore.Certificates)
if (storedCert.Subject == MainConst.NginxRootCertSubjectName) if (storedCert.Subject == MainConst.NginxRootCertSubjectName)
certStore.Remove(storedCert); while (true)
try
{
certStore.Remove(storedCert);
break;
}
catch { }
certStore.Close(); certStore.Close();
} }