summaryrefslogtreecommitdiff
path: root/test/config/signing-1.config
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-03-23 16:04:10 +0100
committerLinus Nordberg <linus@nordberg.se>2015-03-23 16:04:10 +0100
commit0fd4141586310d7735a376bdbf4541b0d8e88169 (patch)
tree73886c42f951dbffefd52dea94af3365951c2e2b /test/config/signing-1.config
parent056b69cc4891c5ef1ba8da7e0a9369cb069a03e0 (diff)
parent3f9f38468dd9f43a7a71768dbe84dd40723c30c5 (diff)
Merge branch 'precert2'
Conflicts: Makefile
Diffstat (limited to 'test/config/signing-1.config')
-rw-r--r--test/config/signing-1.config35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/config/signing-1.config b/test/config/signing-1.config
new file mode 100644
index 0000000..a11bdeb
--- /dev/null
+++ b/test/config/signing-1.config
@@ -0,0 +1,35 @@
+%% catlfish configuration file (-*- erlang -*-)
+
+[{sasl,
+ [{sasl_error_logger, false},
+ {errlog_type, error},
+ {error_logger_mf_dir, "log"},
+ {error_logger_mf_maxbytes, 10485760}, % 10 MB
+ {error_logger_mf_maxfiles, 10}]},
+ {catlfish,
+ [{known_roots_path, "known_roots"},
+ {https_servers,
+ [{signing_https_api, "127.0.0.1", 8088, signing}
+ ]},
+ {https_certfile, "catlfish/webroot/certs/webcert.pem"},
+ {https_keyfile, "catlfish/webroot/keys/webkey.pem"},
+ {https_cacertfile, "catlfish/webroot/certs/webcert.pem"}
+ ]},
+ {lager,
+ [{handlers,
+ [{lager_console_backend, info},
+ {lager_file_backend, [{file, "signing-1-error.log"}, {level, error}]},
+ {lager_file_backend, [{file, "signing-1-debug.log"}, {level, debug}]},
+ {lager_file_backend, [{file, "signing-1-console.log"}, {level, info}]}
+ ]}
+ ]},
+ {plop,
+ [{publickey_path, "publickeys"},
+ {services, [sign]},
+ {log_private_key, "test/eckey.pem"},
+ {log_public_key, "test/eckey-public.pem"},
+ {own_key, {"signing-1", "privatekeys/signing-1-private.pem"}},
+ {allowed_clients, [{"/ct/signing/sct", ["frontend-1"]},
+ {"/ct/signing/sth", ["merge-1"]}
+ ]}
+ ]}].