From 7a79915f0c789c465b41d2e6819d3aa160afed1c Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Sat, 18 Jul 2015 12:59:32 +0000 Subject: [PATCH] Common plugin: export key to PKCS8, not OpenSSL. --- letsencrypt/plugins/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt/plugins/common.py b/letsencrypt/plugins/common.py index 104e8d9c4..90daa685f 100644 --- a/letsencrypt/plugins/common.py +++ b/letsencrypt/plugins/common.py @@ -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)