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
#4
(09.04.2024, 11:43)j4jayesh Wrote:
(09.04.2024, 11:25)admin Wrote: 1. MQTT server uses the same certificates as the web server. By default self-signed certificate is used. You can upload your own private key and certificate in System config > Services > HTTP SSL certificate.

2. We do not provide instructions on how to obtain SSH access. We do not provide support if any changes have been made to the system via SSH.

3. See this:
https://kb.logicmachine.net/integration/mqtt-server/
https://kb.logicmachine.net/integration/mqtt-client/

Thanks for your prompt response. I understand & respect policy on SSH.

(09.04.2024, 11:25)admin Wrote: 1. MQTT server uses the same certificates as the web server. By default self-signed certificate is used. You can upload your own private key and certificate in System config > Services > HTTP SSL certificate.

2. We do not provide instructions on how to obtain SSH access. We do not provide support if any changes have been made to the system via SSH.

3. See this:
https://kb.logicmachine.net/integration/mqtt-server/
https://kb.logicmachine.net/integration/mqtt-client/

I use SSL Certificate app from LM app store and it works fine for Web server. How do I access those certificates to paste in System config > Services > HTTP SSL certificate, please?

I have uploaded my own certificates and it is working fine for Web server. 

However I face following issues for mqtt

1) I received ca_bundle.crt and certificate.crt files, private.key from CA. I converted .crt to .pem with command "openssl x509 -in ca_bundle.crt -out ca.pem -outform PEM"
2) Uploaded ca.pem via FTP to /data/ftp (screenshot attached)
3) made appropriate changes in mqtt client script (screenshot attached). 
4) When script runs, it gives following error "invalid argument provided at line 90 (screenshot attached)
     
Kindly guide

Attached Files Thumbnail(s)
           
Reply


Messages In This Thread
RE: LM MQTT Broker configuration with encryption - by j4jayesh - 09.04.2024, 13:19

Forum Jump: