how to use ssl/tls in paho mqtt using python i got certificate verify failed
hi I am working on IOT internet of things I am using paho MQTT I need to use SSL I wrote publish code using python I got an error in "certificate verify failed" please help me thank in advance MY PUBLISHING CODE import time import paho.mqtt.client as paho import ssl import certifi #define callback def on_message(client, userdata, message): time.sleep(1) print("received message =",str(message.payload.decode("utf-8"))) client= paho.Client("client-001") client.on_message=on_message print("connecting to broker ",) client.tls_set("C:/Windows/system32/config/systemprofile/Desktop/attachments/server