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', {}])