summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-02-12 05:21:06 +0300
committerDevaev Maxim <[email protected]>2021-02-12 05:23:07 +0300
commit4760a0bddaa0361dd699cca33df5c727885fae02 (patch)
tree48b2fd01db3dd413fe6b9ebd7eb9292f9475d3b8 /kvmd/apps/__init__.py
parenta71f5269ae6a7fdab90f035937812ef2d5f43b1f (diff)
refactoring of x509
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 708c50f9..d126a949 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -586,6 +586,10 @@ def _get_config_scheme() -> Dict:
"tls": {
"ciphers": Option("ALL:@SECLEVEL=0", type=_make_ifarg(valid_ssl_ciphers, "")),
"timeout": Option(5.0, type=valid_float_f01),
+ "x509": {
+ "cert": Option("", type=_make_ifarg(valid_abs_file, "")),
+ "key": Option("", type=_make_ifarg(valid_abs_file, "")),
+ },
},
},