This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

LM MQTT Broker configuration with encryption
#8
(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.

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: LM MQTT Broker configuration with encryption - by j4jayesh - 10.04.2024, 11:04

Forum Jump: