summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-08-24 00:39:44 +0200
committerMagnus Ahltorp <map@kth.se>2015-08-24 00:39:44 +0200
commit00ddbf7b7cb158141fd5e641782ef7c2e59d5997 (patch)
tree46a08b72d6db5a1221d50c730e63def2f32d8abe /tools
parent7893d7dcc660194b66fad9220ebb54f592ccb420 (diff)
Use paths/public_cacertfile config variable for public https cert
Diffstat (limited to 'tools')
-rwxr-xr-xtools/storagegc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/storagegc.py b/tools/storagegc.py
index e5d6d9d..2ec0720 100755
--- a/tools/storagegc.py
+++ b/tools/storagegc.py
@@ -22,7 +22,7 @@ localconfig = yaml.load(open(args.localconfig))
paths = localconfig["paths"]
db_path = paths["db"]
-create_ssl_context(cafile=paths["https_cacertfile"])
+create_ssl_context(cafile=paths.get("public_cacertfile", None))
baseurl = config["baseurl"]