Skip to content
Myr

Add CA constraint to test CA

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Otherwise recent versions of OpenSSL reject it as an invalid CA certificate (at least once the test certificates are regenerated).

authored by Colin Watson · committed by Colin Watson · parent 1b7c37e · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Fixes: #6896

Diff stats

1 file+4 added−0 removed

  • tests:+4 added−0 removed

1 file+4 added−0 removed

modified:tests/certs/expired/ca/ca.cnf+4 added
2 unmodified lines
3prompt = no4default_md = sha2565encrypt_key = no6distinguished_name = dn7x509_extensions = v3_ca89[dn]10C = US # country code11O = Python Software Foundation # organization12OU = python-requests # organization unit/department13CN = Self-Signed Root CA # common name / your cert name1415[v3_ca]16basicConstraints = critical, CA:true