Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

642
Visualizações
How to connect to MQTT broker in TLS in brower (React, Vue)

I want to set a mqtt TLS connection in frontend (react)

If i cannot access file system in browser, how can i read ca files in react app?

Or is it required to set up a server for mqtt tls communication and request to it from the frontend?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

In the browser you have to use the browser's built in certificate store.

If you want to use a custom CA then it will need to be imported and trusted before you visit the page manually by the user (or possibly by an it administrator in a enterprise managed environment). You can not do this from within the app/web page.

The other option is to make sure that the certificate you use for the broker is issued by one of the trusted public CAs already included in the browser

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda