summaryrefslogtreecommitdiff
path: root/test/config/storage-1.config
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-02-26 16:54:26 +0100
committerMagnus Ahltorp <map@kth.se>2015-02-27 14:24:21 +0100
commit103e0ee850404a5c8dc69bbbf79b2508a9c55d7a (patch)
tree1d05d9cb84e2c88931742ee442a5001d6a2e9e62 /test/config/storage-1.config
parent6aefb4c34f49ee44ed65b961e941fea705344458 (diff)
Added authentication between frontend and storage nodes
Diffstat (limited to 'test/config/storage-1.config')
-rw-r--r--test/config/storage-1.config10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/config/storage-1.config b/test/config/storage-1.config
index b176e1f..8770f88 100644
--- a/test/config/storage-1.config
+++ b/test/config/storage-1.config
@@ -28,4 +28,12 @@
{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/"}]}].
+ {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}
+ ]}
+]}].