https://github.com/python/cpython/commit/4eab6e8d2963b52c0c3d00895d6711924214ce38
commit: 4eab6e8d2963b52c0c3d00895d6711924214ce38
branch: 3.13
author: Felix Fontein <[email protected]>
committer: encukou <[email protected]>
date: 2024-10-08T13:37:30+02:00
summary:
[3.13] gh-118658: Modify cert generation script to extract cert3.pem
(GH-124598) (GH-124972)
(cherry picked from commit 480354dc236af9ae9d47b2520aa85fb7293c7b68)
files:
M Lib/test/certdata/cert3.pem
M Lib/test/certdata/make_ssl_certs.py
diff --git a/Lib/test/certdata/cert3.pem b/Lib/test/certdata/cert3.pem
index 034bc43ff1974e..4ab0f5ff133e3f 100644
--- a/Lib/test/certdata/cert3.pem
+++ b/Lib/test/certdata/cert3.pem
@@ -31,4 +31,4 @@
zqmtEM65ceSP8lo8Zbrcy+AEkCulFaZ92tyjtbe8oN4wTmTLFw06oFLSZzuiOgDV
OaphdVKf/pvA6KBpr6izox0KQFIE5z3AAJZfKzMGDDD20xhy7jjQZNMAhjfsT+k4
SeYB/6KafNxq08uoulj7w4Z4R/EGpkXnU96ZHYHmvGN0RnxwI1cpYHCazG8AjsK/
anN9brBi5twTGrn+D8LRBqF5Yn+2MKkD0EdXJdtIENHP+32sPQ==
------END CERTIFICATE-----
\ No newline at end of file
+-----END CERTIFICATE-----
diff --git a/Lib/test/certdata/make_ssl_certs.py
b/Lib/test/certdata/make_ssl_certs.py
index 6626b93976a585..ed2037c1fdff04 100644
--- a/Lib/test/certdata/make_ssl_certs.py
+++ b/Lib/test/certdata/make_ssl_certs.py
@@ -254,6 +254,8 @@ def print_cert(path):
f.write(key)
f.write(cert)
+ check_call(['openssl', 'x509', '-outform', 'pem', '-in', 'keycert3.pem',
'-out', 'cert3.pem'])
+
cert, key = make_cert_key('fakehostname', sign=True)
with open('keycert4.pem', 'w') as f:
f.write(key)
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]