eclipse / paho.mqtt.testing

An Eclipse Paho project - a Python broker for testing
https://eclipse.org/paho
Other
108 stars 73 forks source link

TLS layer enablement #43

Closed hmchaitra closed 6 years ago

hmchaitra commented 6 years ago

Hi, in paho 3.1.1 how to enable a tls layer at broker side?..is their a provision for tls layer??

icraggs commented 6 years ago

This broker does not currently have TLS support, but it is actually quite easy in Python, so I may well add it. Conversely, if you want to submit a PR to add it, then I'll be happy to look at it :-)

hmchaitra commented 6 years ago

i went through ssl module of python, i will give a try,and if i fail i will let you know.

Thank you

icraggs commented 6 years ago

FYI, I've now added TLS support to the V311 broker. I will add the ability to configure through a config file at some point.

hmchaitra commented 6 years ago

Thank you soo much sir.

susheelat commented 6 years ago

README file for tls security is not updated. Can you please help me out to run MQTT3.1 with tls support?.

icraggs commented 6 years ago

I've updated the README, and there is a config file for client testing: client_testing.conf which shows how to do this.

icraggs commented 6 years ago

Done.