Bläddra i källkod

[hadoop] Turn on SSL certificate verification by default

Romain Rigaux 10 år sedan
förälder
incheckning
505be54e74

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -691,7 +691,7 @@
 
       # In secure mode (HTTPS), if SSL certificates from from YARN Rest APIs
       # have to be verified against certificate authority
-      ## ssl_cert_ca_verify=False
+      ## ssl_cert_ca_verify=True
 
     # HA support by specifying multiple clusters
     # e.g.

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -697,7 +697,7 @@
 
       # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
       # have to be verified against certificate authority
-      ## ssl_cert_ca_verify=False
+      ## ssl_cert_ca_verify=True
 
     # HA support by specifying multiple clusters
     # e.g.

+ 1 - 1
desktop/libs/hadoop/src/hadoop/conf.py

@@ -149,7 +149,7 @@ YARN_CLUSTERS = UnspecifiedConfigSection(
                   help="URL of the HistoryServer API"),
       SSL_CERT_CA_VERIFY=Config("ssl_cert_ca_verify",
                   help="In secure mode (HTTPS), if SSL certificates from YARN Rest APIs have to be verified against certificate authority",
-                  default=False,
+                  default=True,
                   type=coerce_bool)
     )
   )