Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,740 members, 7,817,040 topics. Date: Saturday, 04 May 2024 at 12:22 AM

Mqtt And Wss - Computers - Nairaland

Nairaland Forum / Science/Technology / Computers / Mqtt And Wss (237 Views)

(2) (3) (4)

(1) (Reply)

Mqtt And Wss by molleculiari: 9:39am On Oct 19, 2022
Hi, everybody,
I want to use mqtt.js via WSS in the browser. I don't want to use self-signed certificates. I have a flask application and a mosquitto mqtt broker on the same computer behind the cloudflare network - cloudflare offers a service to create free client certificates that encrypt data between the client and cloudflare, but not between cloudflare and the server. I'm not sure how much this will complicate the setup. My goal is to use end-to-end TLS protocol in my system between client devices and a broker.

If mqtt with cloudflare is too confusing, I don't need to have a broker behind cloudflare.
My main question is how to generate certificates for multiple IoT devices and a broker with a certificate authority recognized by the browser.
My secondary question is, how do I safely use the credentials in the browser to establish a WSS connection with the broker.
If my question needs clarification, please feel free to let me know.

(1) (Reply)

Used UK/USA Standard Gaming Laptops With Nvidia Geforce GTX Dedicated Graphic / UX/UI Design / How Atiku Brought GSM And ATM Machine To Nigeria, Dino Melaye On A Video

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.