MQTTX icon indicating copy to clipboard operation
MQTTX copied to clipboard

[Help] MQTTX Windows trust store support

Open michaelcplusplus opened this issue 1 year ago • 1 comments

Describe the problem you Confuse

Does MQTTX supports the Windows trust store for validating TLS connection.

In Java it is for example possible: Java option -Djavax.net.ssl.trustStoreType=WINDOWS-ROOT allows Java to use the Windows trust store for the computer account.

michaelcplusplus avatar Jan 08 '24 10:01 michaelcplusplus

Hi @michaelcplusplus,

Thank you for bringing up this vital query regarding the support for the Windows trust store in MQTTX for validating TLS connections.

MQTTX, built on JavaScript and Electron Node.js, primarily utilizes the OpenSSL trust store, the default for Node.js environments. Direct integration with the Windows trust store is only sometimes available out of the box in this setup.

However, this is an exciting proposition, and we are looking into potential methods to achieve this functionality. This might include exploring Node.js packages or Electron modules that can facilitate the use of the Windows trust store or finding a way to import the necessary certificates from the Windows trust store into a format compatible with MQTTX.

We understand the significance of this feature for users on Windows platforms and are keen on investigating further. It would also be great to hear any suggestions or insights from the community on this topic. Please share if you or anyone else has experience or ideas regarding this integration.

Thank you for your patience and for contributing to the improvement of MQTTX.

ysfscream avatar Jan 16 '24 09:01 ysfscream