# Connecting MQTT Engine Module to Mosquitto broker with TLS enabled and certificate based authentication

**URL:** <https://forum.inductiveautomation.com/t/connecting-mqtt-engine-module-to-mosquitto-broker-with-tls-enabled-and-certificate-based-authentication/77155>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [July 31, 2023, 4:53pm UTC](https://forum.inductiveautomation.com/t/connecting-mqtt-engine-module-to-mosquitto-broker-with-tls-enabled-and-certificate-based-authentication/77155 "2023-07-31T16:53:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarrid\_Fraley](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@Jarrid\_Fraley](https://forum.inductiveautomation.com/u/Jarrid_Fraley)\
**Post date:** [July 31, 2023, 4:53pm UTC](https://forum.inductiveautomation.com/t/connecting-mqtt-engine-module-to-mosquitto-broker-with-tls-enabled-and-certificate-based-authentication/77155/1 "2023-07-31T16:53:04Z")

</div>

I am having issues making a connection to mqtt broker with TLS enabled and certificate based authentication. I have ssl enabled on the web server but the private certificate is a different certificate then the one that is being used for the mqtt broker. Could this cause an issue?

---

<div class="post-metadata">

**Author:** ![Roneil\_Sembrano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/roneil_sembrano/32/47691_2.png) [@Roneil\_Sembrano](https://forum.inductiveautomation.com/u/Roneil_Sembrano)\
**Post date:** [August 8, 2023, 9:37pm UTC](https://forum.inductiveautomation.com/t/connecting-mqtt-engine-module-to-mosquitto-broker-with-tls-enabled-and-certificate-based-authentication/77155/2 "2023-08-08T21:37:36Z")

</div>

Do you see any log error messages indicating that the certificate is invalid? If so, please post them here.
