fixed previous commit: one -selfsign option was left
[stack/cam.git] / lib / newca.py
index f036552..75e1cd6 100644 (file)
@@ -47,13 +47,13 @@ def newca():
        openssl('ca', 
                '-config', conf_file, '-batch',
                '-keyfile', ca_key_file,
-               '-extensions', 'v3_ca', '-selfsign',
+               '-extensions', 'v3_ca', 
                '-out', ca_file,
                '-infiles', ca_csr_file)
        openssl('ca', 
                '-config', conf_file, '-batch',
                '-keyfile', ca_dsa_key_file,
-               '-extensions', 'v3_ca', '-selfsign',
+               '-extensions', 'v3_ca',
                '-out', ca_dsa_file,
                '-infiles', ca_dsa_csr_file)
        open(ca_file, 'a').write(open(ca_dsa_file, 'r').read())