From 9494edf8884f3517e8ca377be8bf50dd8beb2fff Mon Sep 17 00:00:00 2001 From: Arash Date: Tue, 1 Jun 2021 14:50:51 -0400 Subject: [PATCH 1/3] starting --- superset/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/config.py b/superset/config.py index 2bbb249a8751d..b626780527830 100644 --- a/superset/config.py +++ b/superset/config.py @@ -383,6 +383,7 @@ def _try_json_readsha( # pylint: disable=unused-argument # for report with type 'report' still send with email and slack message with # screenshot and link "ALERTS_ATTACH_REPORTS": True, + "FORCE_SSL": False, } # Feature flags may also be set via 'SUPERSET_FEATURE_' prefixed environment vars. From 42ccdc78cd1fce425dae51a57e10056c6434c920 Mon Sep 17 00:00:00 2001 From: Arash Date: Wed, 2 Jun 2021 10:40:30 -0400 Subject: [PATCH 2/3] added explanation --- superset/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/superset/config.py b/superset/config.py index b626780527830..ff68d08bf5122 100644 --- a/superset/config.py +++ b/superset/config.py @@ -383,7 +383,9 @@ def _try_json_readsha( # pylint: disable=unused-argument # for report with type 'report' still send with email and slack message with # screenshot and link "ALERTS_ATTACH_REPORTS": True, - "FORCE_SSL": False, + # Enabling FORCE_SSL forces all database connections to be encrypted before + # being saved into superset metastore. + "FORCE_DATABASE_CONNECTIONS_SSL": False, } # Feature flags may also be set via 'SUPERSET_FEATURE_' prefixed environment vars. From 6f17e95d015ca53bbeeab2b68c477c29472c1577 Mon Sep 17 00:00:00 2001 From: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Date: Wed, 2 Jun 2021 12:44:56 -0400 Subject: [PATCH 3/3] Update superset/config.py Co-authored-by: Hugh A. Miles II --- superset/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/config.py b/superset/config.py index ff68d08bf5122..a6427b528d775 100644 --- a/superset/config.py +++ b/superset/config.py @@ -383,8 +383,8 @@ def _try_json_readsha( # pylint: disable=unused-argument # for report with type 'report' still send with email and slack message with # screenshot and link "ALERTS_ATTACH_REPORTS": True, - # Enabling FORCE_SSL forces all database connections to be encrypted before - # being saved into superset metastore. + # Enabling FORCE_DATABASE_CONNECTIONS_SSL forces all database connections to be + # encrypted before being saved into superset metastore. "FORCE_DATABASE_CONNECTIONS_SSL": False, }