From 00ddbf7b7cb158141fd5e641782ef7c2e59d5997 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Mon, 24 Aug 2015 00:39:44 +0200 Subject: Use paths/public_cacertfile config variable for public https cert --- tools/storagegc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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"] -- cgit v1.1