Skip to content

Commit

Permalink
Merge main into gg/redact
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 24, 2023
2 parents 940281b + 18d6898 commit 2c9501b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/certs/certificateAuthority.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 2c9501b

Please sign in to comment.