[nikohomecontrol] Switch off hostname validation. (#10652)

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
This commit is contained in:
Mark Herwege 2021-05-10 17:14:32 +02:00 committed by GitHub
parent e3973698ab
commit 703b1d288d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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);