OCSPClient.VerifyLeafCertificate() returns incorrect error messages #27126
Labels
bug
Used to indicate a potential bug
reproduced
This issue has been reproduced by a Vault engineer
sdk
Describe the bug
Error messages returned in https://github.com/hashicorp/vault/blob/sdk/v0.12.0/sdk/helper/ocsp/client.go#L695-L714 refer to the issuer's serial number rather than the subject's serial number. It should be the subject's serial number that is returned.
To Reproduce
N/A
Expected behavior
Subject's serial number is returned.
The text was updated successfully, but these errors were encountered: