BATS is pretty sweet. Fixes for autoloading / unexpected ca string are on deck
[certmaster.git] / tests / certmaster.conf.tst
diff --git a/tests/certmaster.conf.tst b/tests/certmaster.conf.tst
new file mode 100644 (file)
index 0000000..e380d06
--- /dev/null
@@ -0,0 +1,23 @@
+# This is the test /etc/certmaster.conf file used with the certmaster bats tests
+
+[main]
+listen_addr = 
+listen_port = 51235
+cert_extension = cert
+sync_certs = False
+
+# Use thse settings if no --ca flag provided
+autosign = no
+cadir = /etc/pki/certmaster/ca
+cert_dir = /etc/pki/certmaster
+certroot = /var/lib/certmaster/certmaster/certs
+csrroot = /var/lib/certmaster/certmaster/csrs
+
+# use these directories if '--ca=yourapp' provided in the certmaster-ca commands
+[ca:test]
+autosign = yes
+cadir = /etc/pki/certmaster/test-ca
+cert_dir = /etc/pki/certmaster/test
+certroot = /var/lib/certmaster/test/certs
+csrroot = /var/lib/certmaster/test/csrs
+