1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
%% 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,
[{https_servers,
[{storage_https_api, "127.0.0.1", 8081, storage}
]},
{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, "storage-1-error.log"}, {level, error}]},
{lager_file_backend, [{file, "storage-1-debug.log"}, {level, debug}]},
{lager_file_backend, [{file, "storage-1-console.log"}, {level, info}]}
]}
]},
{plop,
[{entry_root_path, "tests/machine/machine-1/db/certentries/"},
{index_path, "tests/machine/machine-1/db/index"},
{newentries_path, "tests/machine/machine-1/db/newentries"},
{entryhash_root_path, "tests/machine/machine-1/db/entryhash/"},
{treesize_path, "tests/machine/machine-1/db/treesize"},
{indexforhash_root_path, "tests/machine/machine-1/db/certindex/"},
{publickey_path, "publickeys"},
{own_key, {"storage-1", "privatekeys/storage-1-private.pem"}},
{allowed_clients, [{"/ct/storage/sendentry", ["frontend-1"]},
{"/ct/storage/entrycommitted", ["frontend-1"]},
{"/ct/storage/fetchnewentries", noauth},
{"/ct/storage/getentry", noauth}
]}
]}].
|