From 537b055e1716170ab5b97df69aba6269a285cce2 Mon Sep 17 00:00:00 2001 From: ale Date: Sat, 27 Sep 2014 09:32:33 +0100 Subject: [PATCH] use the specified digest for the CSR --- cam/ca.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cam/ca.py b/cam/ca.py index f870389..3344c43 100644 --- a/cam/ca.py +++ b/cam/ca.py @@ -187,6 +187,7 @@ class CA(object): openssl_wrap.run_with_config( self.basedir, conf_file, 'req', '-new', '-keyout', cert.private_key_file, + '-' + self.config['signature_algorithm'], '-nodes', '-out', csr_file) os.chmod(cert.private_key_file, 0600) openssl_wrap.run_with_config( -- 2.20.1