'-config', conf_file, '-batch',
'-keyfile', ca_key_file,
'-extensions', 'v3_ca',
- '-out', ca_file,
+ '-out', ca_file, '-selfsign',
'-infiles', ca_csr_file)
openssl('ca',
'-config', conf_file, '-batch',
'-keyfile', ca_dsa_key_file,
'-extensions', 'v3_ca',
- '-out', ca_dsa_file,
+ '-out', ca_dsa_file, '-selfsign',
'-infiles', ca_dsa_csr_file)
open(ca_file, 'a').write(open(ca_dsa_file, 'r').read())
os.remove(ca_dsa_file)