Troubles using set_tls_insecure(True) #148
Trying to get this working in a development environment where we know the certificates aren't going to match up and understand the risk associated with disabling verify (e.g. in requests library we are setting
Have tried with both paho-mqtt 1.1 and 1.2, hitting the same issue (on python 2.7.13).
your code snippet is incomplete, it does not show the tls_set() option that is the important part in your problem. I assume that you use something like tls_set(ca_certs="/etc/ssl/certs/ca-certificate").
To fix your issue, you have 2 possibilities: