From 4726559322879aceac0165f76f31da0e21ccea0a Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 16 Jul 2015 00:49:07 +0300 Subject: [PATCH] The database SSL name needs to be in its own list FIxes #243 --- util/config/validator.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/util/config/validator.py b/util/config/validator.py index f1b05d551..9aba129fb 100644 --- a/util/config/validator.py +++ b/util/config/validator.py @@ -20,9 +20,12 @@ from app import app, CONFIG_PROVIDER, get_app_url, OVERRIDE_CONFIG_DIRECTORY logger = logging.getLogger(__name__) -SSL_FILENAMES = ['ssl.cert', 'ssl.key', 'database.pem'] +# Note: Only add files required for HTTPS to the SSL_FILESNAMES list. +SSL_FILENAMES = ['ssl.cert', 'ssl.key'] +DB_SSL_FILENAMES = ['database.pem'] JWT_FILENAMES = ['jwt-authn.cert'] -CONFIG_FILENAMES = SSL_FILENAMES + JWT_FILENAMES + +CONFIG_FILENAMES = SSL_FILENAMES + DB_SSL_FILENAMES + JWT_FILENAMES def get_storage_provider(config): parameters = config.get('DISTRIBUTED_STORAGE_CONFIG', {}).get('local', ['LocalStorage', {}])