Ensuring that the temporary certificate is created correctly (#400)
This commit is contained in:
parent
f38868a97f
commit
3db669b24d
|
@ -60,7 +60,7 @@ def create_pkcs12(cert, chain, p12_tmp, key, alias, passphrase):
|
|||
# Create PKCS12 keystore from private key and public certificate
|
||||
with mktempfile() as cert_tmp:
|
||||
with open(cert_tmp, 'w') as f:
|
||||
f.writelines([cert, chain])
|
||||
f.writelines([cert.strip() + "\n", chain.strip() + "\n"])
|
||||
|
||||
run_process([
|
||||
"openssl",
|
||||
|
|
Loading…
Reference in New Issue