Skip to content

Commit

Permalink
user version 1_2 of TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Apr 9, 2021
1 parent 55b4971 commit daddeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sda_orchestrator/utils/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(
self.max_retries = max_retries
self.connection = None
self.ssl = bool(strtobool(environ.get("BROKER_SSL", "True")))
context = ssl.SSLContext(protocol=ssl.PROTOCOL_TLSv1_1)
context = ssl.SSLContext(protocol=ssl.PROTOCOL_TLSv1_2)
context.check_hostname = False
cacertfile = Path(environ.get("SSL_CACERT", "/tls/certs/ca.crt"))
certfile = Path(environ.get("SSL_CLIENTCERT", "/tls/certs/orch.crt"))
Expand Down

0 comments on commit daddeaf

Please sign in to comment.