Switch to intermediate Mozilla cert profile (#15957)
* Allow choosing intermediate SSL profile * Fix tests
This commit is contained in:
parent
69b694ff26
commit
6540d2e073
4 changed files with 130 additions and 6 deletions
|
@ -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) == [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue