diff options
author | Seth Vidal <skvidal@fedoraproject.org> | 2007-09-25 14:38:38 -0400 |
---|---|---|
committer | Seth Vidal <skvidal@fedoraproject.org> | 2007-09-25 14:38:38 -0400 |
commit | 3675cf7df32d59000a45c2b2932ec8a19a0d1c9d (patch) | |
tree | 1908a1aaed3d7497510a776882fa99d3b0146da7 /scripts | |
parent | 91908a6228316dadf22de4eca88354bd59807fc3 (diff) | |
download | third_party-func-3675cf7df32d59000a45c2b2932ec8a19a0d1c9d.tar.gz third_party-func-3675cf7df32d59000a45c2b2932ec8a19a0d1c9d.tar.xz third_party-func-3675cf7df32d59000a45c2b2932ec8a19a0d1c9d.zip |
clean up configs in certmaster.py
make certmaster script work
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/certmaster | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/certmaster b/scripts/certmaster index 3b212b4..1be4c58 100755 --- a/scripts/certmaster +++ b/scripts/certmaster @@ -7,6 +7,15 @@ sys.path.append("%s/func" % distutils.sysconfig.get_python_lib()) import certmaster -cm = certmaster.CertMaster('/etc/func/certmaster.conf') -server = certmaster.serve(cm) +defaults = { 'listen_addr': 'localhost', + 'listen_port': '51235', + 'cadir': '/etc/pki/func/ca', + 'certroot': '/var/lib/func/certmaster/certs', + 'csrroot': '/var/lib/func/certmaster/csrs', + 'autosign': 'false' + } + +cm = certmaster.CertMaster('/etc/func/certmaster.conf', defaults) +certmaster.serve(cm) + |