Search code examples
mqttmosquittotpm

How to configure MQTT mosquitto with TPM engine


I have configured MQTT Mosquitto and enabled SSL and i have connected securely using certificates cafile, certfile and keyfile tested using MQTT.FX client.

The problem is , is there any way to enable TPM engine which can store certificates in it and connect to MQTT client.

I have refered this link enter image description here https://mosquitto.org/man/mosquitto-conf-5.html


Solution

  • This is an OpenSSL capability that Mosquitto is just exposing some of the config for.

    Have a look at something like this which is a plugin to add TPM2.0 support