diff --git a/redash/query_runner/pg.py b/redash/query_runner/pg.py index 7289b8355c..e00e879984 100644 --- a/redash/query_runner/pg.py +++ b/redash/query_runner/pg.py @@ -186,7 +186,7 @@ def _get_connection(self): host=self.configuration.get('host'), port=self.configuration.get('port'), dbname=self.configuration.get('dbname'), - sslmode='require', + sslmode='prefer', sslrootcert=sslrootcert_path, async=True)