Commit 537b055e authored by ale's avatar ale
Browse files

use the specified digest for the CSR

parent 9a09fbbb
......@@ -187,6 +187,7 @@ class CA(object):
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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment