mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Common plugin: export key to PKCS8, not OpenSSL.
This commit is contained in:
parent
61e19c9882
commit
7a79915f0c
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class Dvsni(object):
|
|||
# Write out challenge key
|
||||
key_pem = achall.key.key.private_bytes(
|
||||
encoding=serialization.Encoding.PEM,
|
||||
format=serialization.PrivateFormat.TraditionalOpenSSL,
|
||||
format=serialization.PrivateFormat.PKCS8,
|
||||
encryption_algorithm=serialization.NoEncryption())
|
||||
with le_util.safe_open(key_path, 'wb', chmod=0o400) as key_file:
|
||||
key_file.write(key_pem)
|
||||
|
|
|
|||
Loading…
Reference in a new issue