github-1: support for hashing functions other than sha1
[certmaster.git] / tests / certmaster.conf.tst
1 # This is the test /etc/certmaster.conf file used with the certmaster bats tests
2
3 [main]
4 listen_addr =
5 listen_port = 51235
6 cert_extension = cert
7 sync_certs = False
8 log_level = debug
9
10 # Use thse settings if no --ca flag provided
11 autosign = no
12 cadir = /etc/pki/certmaster/ca
13 cert_dir = /etc/pki/certmaster
14 certroot = /var/lib/certmaster/certmaster/certs
15 csrroot = /var/lib/certmaster/certmaster/csrs
16
17 # use these directories if '--ca=test' is provided in the certmaster-ca commands
18 [ca:test]
19 autosign = yes
20 cadir = /etc/pki/certmaster/test-ca
21 cert_dir = /etc/pki/certmaster/test
22 certroot = /var/lib/certmaster/test/certs
23 csrroot = /var/lib/certmaster/test/csrs
24
25 [ca:md5]
26 autosign = yes
27 cadir = /etc/pki/certmaster/md5-ca
28 cert_dir = /etc/pki/certmaster/md5
29 certroot = /var/lib/certmaster/md5/certs
30 csrroot = /var/lib/certmaster/md5/csrs
31 hash_function = md5
32
33 [ca:sha1]
34 autosign = yes
35 cadir = /etc/pki/certmaster/sha1-ca
36 cert_dir = /etc/pki/certmaster/sha1
37 certroot = /var/lib/certmaster/sha1/certs
38 csrroot = /var/lib/certmaster/sha1/csrs
39 hash_function = sha1
40
41 [ca:sha224]
42 autosign = yes
43 cadir = /etc/pki/certmaster/sha224-ca
44 cert_dir = /etc/pki/certmaster/sha224
45 certroot = /var/lib/certmaster/sha224/certs
46 csrroot = /var/lib/certmaster/sha224/csrs
47 hash_function = sha224
48