diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-08-15 01:03:06 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-15 01:03:06 +0700 |
commit | 58c5a7e668d0131de50e6f9711f029f9ff4a02ab (patch) | |
tree | 9954f9f8d20032a26d6ae0d5601693c80fd01771 /python/vyos | |
parent | 8d1e768a6f3285ed717f588f356db9340871b043 (diff) | |
parent | e304e91a781f79c1e12bb2a7f806a0015bf039e3 (diff) | |
download | vyos-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 'python/vyos')
-rw-r--r-- | python/vyos/defaults.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py index 524b80424..3e4c02562 100644 --- a/python/vyos/defaults.py +++ b/python/vyos/defaults.py @@ -27,3 +27,22 @@ cfg_group = 'vyattacfg' cfg_vintage = 'vyatta' commit_lock = '/opt/vyatta/config/.lock' + +https_data = { + 'listen_address' : [ '127.0.0.1' ] +} + +api_data = { + 'listen_address' : '127.0.0.1', + 'port' : '8080', + 'strict' : 'false', + '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", +} |