summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-25 15:16:09 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-25 15:16:09 -0400
commit01cd1bdf7f1c7eb1de47cdbbe90b6c7f9b4f26eb (patch)
treebe3903037050b0c357fb544a7cad461d787f0b9c /scripts
parent1e23539193f30deae630ba09ba72692a90605bb0 (diff)
parenta785dfc7cb5e8bdf5859237ce0c15bf52b21e42a (diff)
downloadthird_party-func-01cd1bdf7f1c7eb1de47cdbbe90b6c7f9b4f26eb.tar.gz
third_party-func-01cd1bdf7f1c7eb1de47cdbbe90b6c7f9b4f26eb.tar.xz
third_party-func-01cd1bdf7f1c7eb1de47cdbbe90b6c7f9b4f26eb.zip
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/certmaster13
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)
+