-
Notifications
You must be signed in to change notification settings - Fork 33
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
Certificate validation issue #31
Comments
Certificates in DER and PEM formats. |
Certificates inline, in PEM format. Leaf first, root last, others following chain. -----BEGIN CERTIFICATE----- |
|
Hi, I'm using certvalidator 0.11.1 to validate a certificate with a chain.
The validation fails in method verify_crl, with the following traceback:
File "/usr/local/lib/python3.8/site-packages/certvalidator/init.py", line 193, in validate_usage
self._validate_path()
File "/usr/local/lib/python3.8/site-packages/certvalidator/init.py", line 121, in _validate_path
validate_path(self._context, candidate_path)
File "/usr/local/lib/python3.8/site-packages/certvalidator/validate.py", line 50, in validate_path
return _validate_path(validation_context, path)
File "/usr/local/lib/python3.8/site-packages/certvalidator/validate.py", line 402, in _validate_path
verify_crl(
File "/usr/local/lib/python3.8/site-packages/certvalidator/validate.py", line 1243, in verify_crl
if isinstance(distribution_point['crl_issuer'], x509.GeneralNames):
TypeError: string indices must be integers
Apparently one is trying to index a string with a string ...
Attached goes a series of test certificates with a target certificate (sig.der) and its certification chain. I got the error when checking the validity of sig.der.
sig.zip
The text was updated successfully, but these errors were encountered: