Skip to content

Commit 4eab6e8

Browse files
authored
[3.13] gh-118658: Modify cert generation script to extract cert3.pem (GH-124598) (GH-124972)
(cherry picked from commit 480354d)
1 parent 6439136 commit 4eab6e8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Lib/test/certdata/cert3.pem

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Lib/test/certdata/make_ssl_certs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ def print_cert(path):
254254
f.write(key)
255255
f.write(cert)
256256

257+
check_call(['openssl', 'x509', '-outform', 'pem', '-in', 'keycert3.pem', '-out', 'cert3.pem'])
258+
257259
cert, key = make_cert_key('fakehostname', sign=True)
258260
with open('keycert4.pem', 'w') as f:
259261
f.write(key)

0 commit comments

Comments
 (0)