Open
Description
uploading root certificate of www.google.com:443
on an Arduino MKR Wifi 1010 and connecting afterwards to it with the example WifiSSLClient
works perfectly.
But all my trials to connect via port 8883 TLS encrypted with a ca_certificate failed. I tried a local MQTTS-Broker and also the test.mosquitto.org broker. Uploading certificates onto the board for the domains
- test.mosquitto.org:443
- test.mosquitt.org:8883
- mosquitto.org (which defaults to mosquitto.org:443)
finished with no errors, but the connection fails. It shows a -2
error code when asking with MqttClient.connectError()
for it. The MqttClient
object is derived from BearSSLClient
.
I also posted this issue in the arduino.cc forum:
https://forum.arduino.cc/t/mqtts-with-arduino-mkr-wifi-1010/1094414