소스 검색

[core] Do not set a default path for SSL ca_certs

Jenny Kim 10 년 전
부모
커밋
c377043603
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      apps/beeswax/src/beeswax/tests.py
  2. 1 1
      apps/impala/src/impala/tests.py
  3. 1 1
      desktop/core/src/desktop/conf.py

+ 1 - 1
apps/beeswax/src/beeswax/tests.py

@@ -3172,7 +3172,7 @@ def hive_site_xml(is_local=False, use_sasl=False, thrift_uris='thrift://darkside
 
 def test_ssl_cacerts():
   for desktop_kwargs, conf_kwargs, expected in [
-      ({'present': False}, {'present': False}, '/etc/hue/cacerts.pem'),
+      ({'present': False}, {'present': False}, ''),
       ({'present': False}, {'data': 'local-cacerts.pem'}, 'local-cacerts.pem'),
 
       ({'data': 'global-cacerts.pem'}, {'present': False}, 'global-cacerts.pem'),

+ 1 - 1
apps/impala/src/impala/tests.py

@@ -375,7 +375,7 @@ def create_saved_query(app_name, owner):
 
 def test_ssl_cacerts():
   for desktop_kwargs, conf_kwargs, expected in [
-      ({'present': False}, {'present': False}, '/etc/hue/cacerts.pem'),
+      ({'present': False}, {'present': False}, ''),
       ({'present': False}, {'data': 'local-cacerts.pem'}, 'local-cacerts.pem'),
 
       ({'data': 'global-cacerts.pem'}, {'present': False}, 'global-cacerts.pem'),

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -146,7 +146,7 @@ SSL_CACERTS = Config(
   key="ssl_cacerts",
   help=_('Path to default Certificate Authority certificates.'),
   type=str,
-  default='/etc/hue/cacerts.pem')
+  default='')
 
 SSL_VALIDATE = Config(
   key="ssl_validate",