Hello!
I’m trying to bridge my HiveMQ broker to a proprietary broker from Omron.
The problematic thing is that the Omron broker uses TLS encryption without certificate validation and a simple password and username. When I connect to it using MQTT explorer it works fine without certificate, however when I try to bridge the two I get the following error:
WARN - Bridge Extension: Connect to bridge ‘testbridge’ failed for the 1 time, reason: Server closed connection without DISCONNECT.
My config.xml for the bridge is:
<hivemq-bridge-extension xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="config.xsd">
<bridges>
<bridge>
<enabled>true</enabled>
<name>testbridge</name>
<remote-broker>
<mqtt>
<version>5</version>
</mqtt>
<connection>
<static>
<host>IP-addr</host>
<port>8883</port> <!-- TLS port -->
</static>
</connection>
<authentication>
<mqtt-simple-authentication>
<client-identifier>omron_client</client-identifier>
<username>usrname</username>
<password>pwdl</password>
</mqtt-simple-authentication>
</authentication>
</remote-broker>
<tls>
<enabled>true</enabled>
<protocols>
<protocol>TLSv1.2</protocol>
</protocols>
</tls>
<topics>
<topic>
<filter>#</filter>
<mode>PUB</mode>
</topic>
<topic>
<filter>#</filter>
<mode>SUB</mode>
</topic>
</topics>
</bridge>
</bridges>
</hivemq-bridge-extension>
I have tried enabling and disabling the TLS part without any luck. Do anyone have an idea what might be wrong?