github-1: support for hashing functions other than sha1
[certmaster.git] / tests / certmaster.conf.tst
index e4c294b..e95f400 100644 (file)
@@ -5,6 +5,7 @@ listen_addr =
 listen_port = 51235
 cert_extension = cert
 sync_certs = False
+log_level = debug
 
 # Use thse settings if no --ca flag provided
 autosign = no
@@ -21,13 +22,21 @@ cert_dir = /etc/pki/certmaster/test
 certroot = /var/lib/certmaster/test/certs
 csrroot = /var/lib/certmaster/test/csrs
 
+[ca:md5]
+autosign = yes
+cadir = /etc/pki/certmaster/md5-ca
+cert_dir = /etc/pki/certmaster/md5
+certroot = /var/lib/certmaster/md5/certs
+csrroot = /var/lib/certmaster/md5/csrs
+hash_function = md5
+
 [ca:sha1]
 autosign = yes
 cadir = /etc/pki/certmaster/sha1-ca
 cert_dir = /etc/pki/certmaster/sha1
 certroot = /var/lib/certmaster/sha1/certs
 csrroot = /var/lib/certmaster/sha1/csrs
-hash_function = sha224
+hash_function = sha1
 
 [ca:sha224]
 autosign = yes