eclipse / paho.mqtt.python

paho.mqtt.python
Other
2.19k stars 723 forks source link

TLS without cert file #723

Closed jim-king-2000 closed 1 year ago

jim-king-2000 commented 1 year ago

We used MQTT of node.js from here. If we need tls, it is very simple:

const client  = mqtt.connect('mqtts://test.mosquitto.org')

TLS is enabled by mqtts://...

Now paho.mqtt.python forces us to provide cert file(s) when enabling TLS. Is it possible to enable TLS without cert file as the one in node.js?