Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCSPClient.VerifyLeafCertificate() returns incorrect error messages #27126

Closed
anthonyralston opened this issue May 20, 2024 · 1 comment · Fixed by #27696
Closed

OCSPClient.VerifyLeafCertificate() returns incorrect error messages #27126

anthonyralston opened this issue May 20, 2024 · 1 comment · Fixed by #27696
Labels
bug Used to indicate a potential bug reproduced This issue has been reproduced by a Vault engineer sdk

Comments

@anthonyralston
Copy link

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.

@stevendpclark
Copy link
Contributor

Thanks for reporting the issue @anthonyralston!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug reproduced This issue has been reproduced by a Vault engineer sdk
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants