0

I have simple secure (I guess) Mosquitto server described in my previous question.

Client machine has no any keys or certificate installed except single ca.crt certificate file generated and taken from Mosquitto server.

Is it possible that request performed by simple MQTT client below is encrypted and secure?

mosquitto_sub -h 192.168.1.8 -t sensor --cafile ca.crt -p 8883 -d 

This client uses only single certificate file and no keys. Is it somehow possible encrypt traffic by having only certificate and no keys?

3
  • Maybe this question is be better asked on security.stackechange.com? Commented Dec 18, 2019 at 12:52
  • 1
    When you're browsing to a typical https site (eg unix.stackexchange.com ), does your browser (firefox, chromium...) require a key, or only CAs to get encrypted traffic? Commented Dec 18, 2019 at 19:59
  • If you've correctly configured the mosquitto server with certificates then the connection will be secure. It's no different to configuring a web-server with certificates and connecting to it with your browser - the connection should be secure. Commented Dec 18, 2019 at 22:13

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.