blob: f4bcf532d2274086184bcfcbea40e6dc58a38fe3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/python
from func import certmaster
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)
|