Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ssl errors
Browse files Browse the repository at this point in the history
noursaidi committed Dec 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3f0447c commit c77bc18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misc/discoverynode/src/udmi/publishers/mqtt.py
Original file line number Diff line number Diff line change
@@ -239,7 +239,8 @@ def make_client(self):
client.tls_set(self.ca_file, tls_version=ssl.PROTOCOL_TLSv1_2)
elif self.autentication_mechanism == "udmi_local":
client.tls_set(
self.ca_file,
# See comment below
#self.ca_file,
tls_version=ssl.PROTOCOL_TLSv1_2,
keyfile=self.private_key_file,
certfile=self.cert_file,

0 comments on commit c77bc18

Please sign in to comment.