From 4aea82a1aef53c28110cc45c734b835efdc361b3 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 14 Apr 2015 10:38:43 +0200 Subject: beinc_config_sample.json beinc_config_sample.json.readme and beinc_server_xmlrpc.py almost complete --- beinc_config_sample.json.readme | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'beinc_config_sample.json.readme') diff --git a/beinc_config_sample.json.readme b/beinc_config_sample.json.readme index 12a1b2d..3ac85a9 100644 --- a/beinc_config_sample.json.readme +++ b/beinc_config_sample.json.readme @@ -16,17 +16,27 @@ documentation to better illustrate the comments. # It is only used by beinc_server.py and ignored by all other # components - "general": { # Applies to the whole server (cherrypy) For more info: - # http://docs.cherrypy.org/en/latest/refman/_cpserver.html - - # The name of a registered SSL adaptation module - "ssl_module": "pyopenssl", + "general": { # Applies to the whole server # The filename of the private key to use with SSL. "ssl_private_key": "/home/user/keys/key.pem", # default: None # The filename of the SSL certificate to use - "ssl_certificate": "/home/user/certs/cert.crt" # default: None + "ssl_certificate": "/home/user/certs/cert.crt", # default: None + + # A list of allowed ciphers in the format of 'openssl ciphers' + # "auto" - use the Twisted / OpenSSL defaults + "ssl_acceptable_ciphers": "auto", # default: "auto" + + # Encryption method for the BEINC server + # Possible values: + # "auto" - Let Twisted decide (use the newest possible method) + # "SSLv3" - SSLv3 (weak) + # "TLSv1" - TLSv1.0 + # "TLSv1_1" - TLSv1.1 + # "TLSv1_2" - TLSv1.2 (most secure, but requires OpenSSL >= 1.0.1e) + "ssl_method": "auto", # default: "auto" + }, # A list of instances. Check README for general information about them! @@ -185,10 +195,10 @@ documentation to better illustrate the comments. ] }, # The version of this config file - # Default: 1 (you should really never leave it undefined) + # Default: 2 (you should really never leave it undefined) # Used by beinc_server and beinc_weechat to check whether # the config (.json) file is outdated. # Every future version of BEINC will be shipped with # beinc_config_sample.json and beinc_config_sample.json.readme - "config_version": 1 + "config_version": 2 } -- cgit v1.3