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

X509 negative serial number error #1748

Open
SarathK6 opened this issue Jan 30, 2025 · 0 comments
Open

X509 negative serial number error #1748

SarathK6 opened this issue Jan 30, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@SarathK6
Copy link

we are using Azure secret store CSI driver older version and with nodepool version upgrde(2025-01-12), csi driver got updated and we are no longer able to mount the Certificate to volume.

Error: server.go:60] "failed to process mount request" err="failed to get objectType:secret, objectName:qat-encryption-certificate, objectVersion:: x509: negative serial number"

Upon digging a little bit, this seems coming from : https://cs.opensource.google/go/go/+/master:src/crypto/x509/parser.go;l=926;bpv=1;bpt=0

Is it strict rule now that all Azure CSI driver consumers should be using Positive serial number certificates.

Can this behavior be overwritten by setting x509negativeserial variable 1 to skip this validation

@SarathK6 SarathK6 added the bug Something isn't working label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant