X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=tests%2Fcertmaster.conf.tst;fp=tests%2Fcertmaster.conf.tst;h=e380d0689e657e7d1c61487e787a16a909306fdc;hp=0000000000000000000000000000000000000000;hb=af9d4112024b33b207ad562f3cadb199155b9575;hpb=8513efd091ed3e2beca32436b94132cf1451b119 diff --git a/tests/certmaster.conf.tst b/tests/certmaster.conf.tst new file mode 100644 index 0000000..e380d06 --- /dev/null +++ b/tests/certmaster.conf.tst @@ -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 +