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

Add CA constraint to test CA #6897

Merged
merged 2 commits into from
Feb 17, 2025
Merged

Conversation

cjwatson
Copy link
Contributor

Otherwise recent versions of OpenSSL reject it as an invalid CA certificate.

Fixes: #6896

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

Fixes: psf#6896
Created using the following command with OpenSSL 3.4.0:

    for cert in expired mtls valid/server; do
        make -C tests/certs/$cert clean all
    done
@cjwatson
Copy link
Contributor Author

Let me know if you'd rather I dropped the "Regenerate test certificates" commit - but I thought it would be less confusing if the test certificates were consistent with the code that generates them.

@cjwatson
Copy link
Contributor Author

The pypy-3.9 Windows failure seems unrelated to this change.

@sigmavirus24 sigmavirus24 merged commit 8ba805f into psf:main Feb 17, 2025
29 of 30 checks passed
@cjwatson cjwatson deleted the fix-test-certificates branch March 2, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regenerating tests/certs/ with OpenSSL >= 3.2.0 causes test failures
2 participants