Unable to Connect to HiveMQ from Windows 10 LTSC Client

Unable to Connect to HiveMQ from Windows 10 LTSC Client

 Problem

A client application running on Windows 10 LTSC fails to connect to HiveMQ, despite the socket connection being successfully established. No connection attempt appears in the HiveMQ server logs.

Environment

  • Client OS: Windows 10 LTSC

  • MQTT Client: Using WithAllowInvalidBrokerCertificates(true) setting

  • HiveMQ: Any version

  • Connection: TLS with self-signed or internal CA certificate

 Solution

To resolve the issue:

  1. Add the broker's certificate to the Windows Trusted Root Certificate Store:

    • Have your IT administrator import the self-signed or internal CA certificate into the Local Machine > Trusted Root Certification Authorities store.

    • This ensures that Windows recognizes the broker certificate as trusted.

  2. Verify the connection:

    • After importing the certificate, the client should be able to connect successfully.

    • The connection works regardless of whether WithAllowInvalidBrokerCertificates(true) or false is used.

 

 

 Related articles