"Self-signed certificate" error while using TLS certificates in MQTT connection

Some background:ย I am testing Cedalo MQTT broker connection using self-signed certificates on MQTT Explorer. I have generated SSL certificates using openssl on my Ubuntu machine and added them in both Mosquitto Certificate Store & MQTT Explorer as shown below.

Certificates in ctrlX CORE "Mosquitto Certificate Store"


Certificates in "MQTT Explorer"


Issue:ย The client connection request shows "self signed certificate" error when I try to connect with broker using the above approach. I have tested the connection with python as well on my computer and it shows the same error.


Questions

  • Is the above approach correct to connect the clients?
  • Is there something I am missing?
  • Will the communication work when I use certificates from a trusted source?
  • Is there any example of connecting the broker in ctrlX CORE via self-signed certificates?

ย 

Any help would be appreciated.
Thanks

Best reply by CodeShepherd

Is this still an issue or can this topic be closed?

View original
5 replies