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

Open
anthonyralston opened this issue May 20, 2024 · 0 comments
Open
Labels
bug Used to indicate a potential bug 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.

@hsimon-hashicorp hsimon-hashicorp added sdk bug Used to indicate a potential bug labels May 22, 2024
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 sdk
Projects
None yet
Development

No branches or pull requests

2 participants