Switch to intermediate Mozilla cert profile (#15957)

* Allow choosing intermediate SSL profile

* Fix tests
This commit is contained in:
Paulus Schoutsen 2018-08-14 08:20:17 +02:00 committed by GitHub
parent 69b694ff26
commit 6540d2e073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 130 additions and 6 deletions

View file

@ -159,7 +159,9 @@ class TestCheckConfig(unittest.TestCase):
'login_attempts_threshold': -1,
'server_host': '0.0.0.0',
'server_port': 8123,
'trusted_networks': []}
'trusted_networks': [],
'ssl_profile': 'modern',
}
assert res['secret_cache'] == {secrets_path: {'http_pw': 'abc123'}}
assert res['secrets'] == {'http_pw': 'abc123'}
assert normalize_yaml_files(res) == [