summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-08-15 01:03:06 +0700
committerGitHub <noreply@github.com>2019-08-15 01:03:06 +0700
commit58c5a7e668d0131de50e6f9711f029f9ff4a02ab (patch)
tree9954f9f8d20032a26d6ae0d5601693c80fd01771 /interface-definitions
parent8d1e768a6f3285ed717f588f356db9340871b043 (diff)
parente304e91a781f79c1e12bb2a7f806a0015bf039e3 (diff)
downloadvyos-1x-58c5a7e668d0131de50e6f9711f029f9ff4a02ab.tar.gz
vyos-1x-58c5a7e668d0131de50e6f9711f029f9ff4a02ab.zip
Merge pull request #103 from jestabro/service-https
[service https] T1443: add self-signed TLS certificate
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/https.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/https.xml b/interface-definitions/https.xml
index 828de449c..13d5c43ea 100644
--- a/interface-definitions/https.xml
+++ b/interface-definitions/https.xml
@@ -27,6 +27,30 @@
</constraint>
</properties>
</leafNode>
+ <node name="certificates">
+ <properties>
+ <help>TLS certificates</help>
+ </properties>
+ <children>
+ <node name="system-generated-certificate" owner="${vyos_conf_scripts_dir}/vyos_cert.py">
+ <properties>
+ <help>Use an automatically generated self-signed certificate</help>
+ <valueless/>
+ </properties>
+ <children>
+ <leafNode name="lifetime">
+ <properties>
+ <help>Lifetime in days; default is 365</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Number of days</description>
+ </valueHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
<node name="api" owner="${vyos_conf_scripts_dir}/http-api.py">
<properties>
<help>VyOS HTTP API configuration</help>