summaryrefslogtreecommitdiff
path: root/python/vyos
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 /python/vyos
parentae7501bd0aeef87b708eb033907aab470ea764b7 (diff)
downloadvyos-1x-e304e91a781f79c1e12bb2a7f806a0015bf039e3.tar.gz
vyos-1x-e304e91a781f79c1e12bb2a7f806a0015bf039e3.zip
[service https] T1443: add self-signed TLS certificate
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/defaults.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py
index ee307cf15..3e4c02562 100644
--- a/python/vyos/defaults.py
+++ b/python/vyos/defaults.py
@@ -39,3 +39,10 @@ api_data = {
'debug' : 'false',
'api_keys' : [ {"id": "testapp", "key": "qwerty"} ]
}
+
+vyos_cert_data = {
+ "conf": "/etc/nginx/snippets/vyos-cert.conf",
+ "crt": "/etc/ssl/certs/vyos-selfsigned.crt",
+ "key": "/etc/ssl/private/vyos-selfsign",
+ "lifetime": "365",
+}