]> git.basschouten.com Git - openhab-addons.git/commitdiff
[nikohomecontrol] Switch off hostname validation. (#10652)
authorMark Herwege <mherwege@users.noreply.github.com>
Mon, 10 May 2021 15:14:32 +0000 (17:14 +0200)
committerGitHub <noreply@github.com>
Mon, 10 May 2021 15:14:32 +0000 (17:14 +0200)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
bundles/org.openhab.binding.nikohomecontrol/src/main/java/org/openhab/binding/nikohomecontrol/internal/protocol/nhc2/NhcMqttConnection2.java

index 6ad1a686db3c133f2eb2b867a4b3115762db6d8e..a98d627b21d5b17c0625105c4f93468bc00c1552 100644 (file)
@@ -158,7 +158,7 @@ public class NhcMqttConnection2 implements MqttActionCallback {
     }
 
     private MqttBrokerConnection createMqttConnection() throws MqttException {
-        MqttBrokerConnection connection = new MqttBrokerConnection(cocoAddress, port, true, clientId);
+        MqttBrokerConnection connection = new MqttBrokerConnection(cocoAddress, port, true, false, clientId);
         connection.setTrustManagers(trustManagers);
         connection.setCredentials(profile, token);
         connection.setQos(1);