gh-118658: Modify cert generation script to extract cert3.pem (GH-124598)

This commit is contained in:
Felix Fontein 2024-10-04 13:15:08 +02:00 committed by GitHub
parent ddccd546a0
commit 480354dc23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -266,6 +266,8 @@ if __name__ == '__main__':
f.write(key)
f.write(cert)
check_call(['openssl', 'x509', '-outform', 'pem', '-in', 'keycert3.pem', '-out', 'cert3.pem'])
cert, key = make_cert_key(cmdlineargs, 'fakehostname', sign=True)
with open('keycert4.pem', 'w') as f:
f.write(key)