10.04.2024, 07:43
If your certificate is bound to a domain name then you need to specify it instead of specifying an IP as the broker address.
You can add client.ON_LOG = log before client:login_set(...) for more verbose logging.
For testing purposes or when you are connecting locally you can use client:tls_insecure_set(true) instead of client:tls_set(...)
When connecting locally you can specify 127.0.0.1 as the broker address.
You can add client.ON_LOG = log before client:login_set(...) for more verbose logging.
For testing purposes or when you are connecting locally you can use client:tls_insecure_set(true) instead of client:tls_set(...)
When connecting locally you can specify 127.0.0.1 as the broker address.