cpython/Lib/test/certdata
Alexander Kanavin 1ff1b899ce
gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 (GH-119401)
* Lib/test/certdata: do not hardcode reference cert data into tests

The script was simply printing the reference data and asking
users to update it by hand into the test suites. This can
be easily improved by writing the data into files and
having the test cases load the files.

* make_ssl_certs: make it possible to pass in expiration dates from command line

Note that in this commit, the defaults are same as they were,
so if nothing is specified the script works as before.

---------

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
2024-09-25 21:23:47 +00:00
..
capath
allsans.pem
badcert.pem
badkey.pem
cert3.pem
ffdh3072.pem
idnsans.pem
keycert.passwd.pem
keycert.pem
keycert.pem.reference gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 (GH-119401) 2024-09-25 21:23:47 +00:00
keycert2.pem
keycert3.pem
keycert3.pem.reference gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 (GH-119401) 2024-09-25 21:23:47 +00:00
keycert4.pem
keycertecc.pem
leaf-missing-aki.ca.pem
leaf-missing-aki.keycert.pem
make_ssl_certs.py gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 (GH-119401) 2024-09-25 21:23:47 +00:00
nokia.pem
nosan.pem
nullbytecert.pem
nullcert.pem
pycacert.pem
pycakey.pem
revocation.crl
secp384r1.pem
selfsigned_pythontestdotnet.pem
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
talos-2019-0758.pem