Question about MQTT Fc9 - certificat SSL

For general Flowcode discussion that does not belong in the other sections.
Post Reply
vvvhydr
Posts: 7
http://meble-kuchenne.info.pl
Joined: Wed Dec 01, 2021 7:22 am
Has thanked: 1 time

Flowcode v9 Question about MQTT Fc9 - certificat SSL

Post by vvvhydr »

How to add the function of sending an MQTT SSL certificate to a broker in the MQTT Client component?

vvvhydr
Posts: 7
Joined: Wed Dec 01, 2021 7:22 am
Has thanked: 1 time

Re: Question about MQTT Fc9 - certificat SSL

Post by vvvhydr »

Perhaps I need to decompile the MQTT client component, parse the contents, and perform combined C code injections? Or will the specialists from the matrix help?

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Question about MQTT Fc9 - certificat SSL

Post by Steve-Matrix »

You will need to provide more details about the MQTT broker/server you are using. They should provide details on how the certificate exchange mechanism takes place as this can vary between hosts. Also what type of certificate are you using (e.g. DV or EV). And give more details on your client application (e.g. target device).

vvvhydr
Posts: 7
Joined: Wed Dec 01, 2021 7:22 am
Has thanked: 1 time

Re: Question about MQTT Fc9 - certificat SSL

Post by vvvhydr »

I use the broker hivemq.com. The attached links provide information about the certificate, as well as an example of implementation for other platforms.
https://docs.hivemq.com/hivemq/latest/u ... y.html#tls
https://community.hivemq.com/t/esp8266- ... -mqtt/2573
I use EasyMQTT as a client application, which I downloaded from an iPhone app store.
I am attaching a certificate file that I found on the hivemq.com forum. With this certificate, I can send and receive data from the iPhone application to the web client on the website hivemq.com.
I would like to ask you to add the ability to work with certificates to the component and load the certificate directly into the component itself in the form of the contents of a certificate file.
I changed the extension of the file with the certificate - it did not want to be loaded. Original file name isrgrootx1 2.p12
Attachments
isrgrootx1 2.txt
(1.89 KiB) Downloaded 85 times

vvvhydr
Posts: 7
Joined: Wed Dec 01, 2021 7:22 am
Has thanked: 1 time

Re: Question about MQTT Fc9 - certificat SSL

Post by vvvhydr »

If possible, please improve the IoT Made Easy and MQTT Client components

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Question about MQTT Fc9 - certificat SSL

Post by Steve-Matrix »

Thank you for the info. I will discuss here and see what we can do to support this.

Post Reply