10.04.2024, 11:04
(10.04.2024, 07:43)admin Wrote: 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.
This is done. Please find attached screenshot. I tried with both IP and FQDN.
For testing purposes or when you are connecting locally you can use client:tls_insecure_set(true)
It works with client:tls_insecure_set(true). However, in our application it is required to use CA signed certificates (at-least for broker).
When connecting locally you can specify 127.0.0.1 as the broker address.
I tried the same and log is the same as attached screenshot.