summaryrefslogtreecommitdiff
path: root/interface-definitions/https.xml
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-08-14 12:04:49 -0500
committerJohn Estabrook <jestabro@sentrium.io>2019-08-14 12:52:21 -0500
commite304e91a781f79c1e12bb2a7f806a0015bf039e3 (patch)
tree9954f9f8d20032a26d6ae0d5601693c80fd01771 /interface-definitions/https.xml
parentae7501bd0aeef87b708eb033907aab470ea764b7 (diff)
downloadvyos-1x-e304e91a781f79c1e12bb2a7f806a0015bf039e3.tar.gz
vyos-1x-e304e91a781f79c1e12bb2a7f806a0015bf039e3.zip
[service https] T1443: add self-signed TLS certificate
Diffstat (limited to 'interface-definitions/https.xml')
-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>