From: ale Date: Fri, 15 Dec 2006 09:33:39 +0000 (+0000) Subject: re-added the '-selfsign' option so that at least the 'newca' command works with opens... X-Git-Url: https://v.licheni.net/stack/cam.git/commitdiff_plain/de74ecfb399e9c18e476104744856fde67ea2e81 re-added the '-selfsign' option so that at least the 'newca' command works with openssl 0.9.8 --- diff --git a/lib/cfg.pyc b/lib/cfg.pyc deleted file mode 100644 index ad590fa..0000000 Binary files a/lib/cfg.pyc and /dev/null differ diff --git a/lib/newca.py b/lib/newca.py index 75e1cd6..63fcea2 100644 --- a/lib/newca.py +++ b/lib/newca.py @@ -48,13 +48,13 @@ def newca(): '-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) diff --git a/lib/utils.pyc b/lib/utils.pyc deleted file mode 100644 index dbfbb24..0000000 Binary files a/lib/utils.pyc and /dev/null differ