summaryrefslogtreecommitdiffstats
path: root/scripts/certmaster
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/certmaster')
-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)
+