pyopenssl
pyopenssl copied to clipboard
X509StoreContextError - path length constraint exceeded
I'm trying to verify a certificate chain with pathlen:0 on one of the intermediate certificates, and I'm getting this exception.
It is working when I'm using openssl:
openssl verify -verbose -CAfile root_ca.pem cert.pem
cert.pem: OK
How can I make it work like in openssl?