summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2020-03-31 22:53:32 +0000
committerGitHub <noreply@github.com>2020-03-31 22:53:32 +0000
commita12d4e56d7db6bcb0f84a26b930ab745ffdd427a (patch)
tree2fcd6b9b61e7709cfc73edfb836174ced6918beb /daemon
parent905a2dd54edacbddf31e633193920b0ba8f8aff4 (diff)
Extend TLS Support (#8505)
* tls13: This commit brings TLS 1.3 to Netdata * tls13: Update variables on slave side * tls13: Fix compilation error for old libraries * tls13: Fix compilation error for old libraries 2 * tls13 remove ciphers * tls13: TLS versions This commit brings the missing tls versions accpeted for Netdata and it also brings documentation update related to these versions * tls13: Remove dupplication This commit removes wrong dupplication of code * tls13: Documentation This commit brings fix for the documentation * tls13: Remove magic number This commit removes the magic number to allow the code to be readable * tls13: TLS version Small adjust with TLS version * tls13: Security Init This commit removes array from the function and overwrite the magic number with a string * tls13: Remove new variable name from stream * tls13: OpenSSL versions and old key name This commit removes the new key names and also update the names used to define openssl version
Diffstat (limited to 'daemon')
-rw-r--r--daemon/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c
index 38c831f1e7..20ca7d883e 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -406,6 +406,9 @@ static void security_init(){
snprintfz(filename, FILENAME_MAX, "%s/ssl/cert.pem",netdata_configured_user_config_dir);
security_cert = config_get(CONFIG_SECTION_WEB, "ssl certificate", filename);
+ tls_version = config_get(CONFIG_SECTION_WEB, "tls version", "1.3");
+ tls_ciphers = config_get(CONFIG_SECTION_WEB, "tls ciphers", "none");
+
security_openssl_library();
}
#endif