Replace deprecated SSLContext constant PROTOCOL_TLS in mqtt (#88214)
Replace deprecated SSLContext constants
This commit is contained in:
parent
c79157208b
commit
57738fbb8c
4 changed files with 6 additions and 6 deletions
|
@ -329,7 +329,7 @@ class MqttClientSetup:
|
|||
certificate,
|
||||
certfile=client_cert,
|
||||
keyfile=client_key,
|
||||
tls_version=ssl.PROTOCOL_TLS,
|
||||
tls_version=ssl.PROTOCOL_TLS_CLIENT,
|
||||
)
|
||||
|
||||
if tls_insecure is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue