diff --git a/sda_orchestrator/utils/consumer.py b/sda_orchestrator/utils/consumer.py index fa24750..47b77a7 100644 --- a/sda_orchestrator/utils/consumer.py +++ b/sda_orchestrator/utils/consumer.py @@ -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"))