зеркало из https://github.com/microsoft/moc.git
Merge main into gg/redact
This commit is contained in:
Коммит
2c9501bdee
|
@ -137,12 +137,12 @@ func (ca *CertificateAuthority) VerifyClientCertificate(rawCerts [][]byte) error
|
|||
_, err := leaf.Verify(verifyOptions)
|
||||
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "unable to verify client certificate")
|
||||
return errors.Wrapf(err, "unable to verify client certificate %s", leaf.Subject.CommonName)
|
||||
}
|
||||
|
||||
if ca.revocation != nil {
|
||||
if err = ca.revocation.IsRevoked(leaf); err != nil {
|
||||
return errors.Wrapf(err, "certificate is revoked")
|
||||
return errors.Wrapf(err, "certificate is revoked %s", leaf.Subject.CommonName)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче