Commit de74ecfb authored by ale's avatar ale

re-added the '-selfsign' option so that at least the 'newca' command works with openssl 0.9.8

parent 171e524a
...@@ -48,13 +48,13 @@ def newca(): ...@@ -48,13 +48,13 @@ def newca():
'-config', conf_file, '-batch', '-config', conf_file, '-batch',
'-keyfile', ca_key_file, '-keyfile', ca_key_file,
'-extensions', 'v3_ca', '-extensions', 'v3_ca',
'-out', ca_file, '-out', ca_file, '-selfsign',
'-infiles', ca_csr_file) '-infiles', ca_csr_file)
openssl('ca', openssl('ca',
'-config', conf_file, '-batch', '-config', conf_file, '-batch',
'-keyfile', ca_dsa_key_file, '-keyfile', ca_dsa_key_file,
'-extensions', 'v3_ca', '-extensions', 'v3_ca',
'-out', ca_dsa_file, '-out', ca_dsa_file, '-selfsign',
'-infiles', ca_dsa_csr_file) '-infiles', ca_dsa_csr_file)
open(ca_file, 'a').write(open(ca_dsa_file, 'r').read()) open(ca_file, 'a').write(open(ca_dsa_file, 'r').read())
os.remove(ca_dsa_file) os.remove(ca_dsa_file)
......
Markdown is supported
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