Important: Please read the Qt Code of Conduct -

QMqttClient connects to a MQTT broker that needs certificate and private key?

  • How can I use QMqttClient to connect to a MQTT broker that use certificate and private key instead of username and password?


    but how to connect by using certificate and private key?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What broker is that ?
    Can you give more details about your current setup ?

Log in to reply