mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 15:22:38 -04:00
Now successfully parsing the larger policy set
This commit is contained in:
parent
3712a45399
commit
34cba3accf
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class Config:
|
|||
self.tls_policies[domain] = {} # being here enforces TLS at all
|
||||
for policy, value in policies.items():
|
||||
if policy == "min-tls-version":
|
||||
reasonable = ["TLS", "TLSv1.1", "TLSv1.2", "TLSv1.3"]
|
||||
reasonable = ["TLS", "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3"]
|
||||
if not value in reasonable:
|
||||
raise ValueError, "Not a valid TLS version string: " + `value`
|
||||
self.tls_policies[domain]["min-tls-version"] = str(value)
|
||||
|
|
|
|||
Loading…
Reference in a new issue