Browse Source

HUE-1749 [core] thrift ssl support

Better descriptions for configs
Abraham Elmahrek 12 năm trước cách đây
mục cha
commit
fcf7bbebd9

+ 3 - 3
apps/beeswax/src/beeswax/conf.py

@@ -81,21 +81,21 @@ SSL = ConfigSection(
       key="cacerts",
       help=_t("Path to Certificate Authority certificates."),
       type=str,
-      default=""
+      default="/etc/hue/cacerts.pem"
     ),
 
     KEY = Config(
       key="key",
       help=_t("Path to the private key file."),
       type=str,
-      default=""
+      default="/etc/hue/key.pem"
     ),
 
     CERT = Config(
       key="cert",
       help=_t("Path to the public certificate file."),
       type=str,
-      default=""
+      default="/etc/hue/cert.pem"
     ),
 
     VALIDATE = Config(

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

@@ -449,16 +449,16 @@
     ## enabled=false
 
     # Path to Certificate Authority certificates.
-    ## cacerts=
+    ## cacerts=/etc/hue/cacerts.pem
 
     # Path to the private key file.
-    ## key=
+    ## key=/etc/hue/key.pem
 
     # Path to the public certificate file.
-    ## cert=
+    ## cert=/etc/hue/cert.pem
 
     # Choose whether Hue should validate certificates received from the server.
-    ## validate=
+    ## validate=true
 
 
 ###########################################################################

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

@@ -490,16 +490,16 @@
     ## enabled=false
 
     # Path to Certificate Authority certificates.
-    ## cacerts=
+    ## cacerts=/etc/hue/cacerts.pem
 
     # Path to the private key file.
-    ## key=
+    ## key=/etc/hue/key.pem
 
     # Path to the public certificate file.
-    ## cert=
+    ## cert=/etc/hue/cert.pem
 
     # Choose whether Hue should validate certificates received from the server.
-    ## validate=
+    ## validate=true
 
 
 ###########################################################################