You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
tbobek
changed the title
Root certificates work for port 443, but not for port 888 (MQTTS)
Root certificates work for port 443, but not for port 8883 (MQTTS)
Mar 4, 2023
uploading root certificate of
www.google.com:443
on an Arduino MKR Wifi 1010 and connecting afterwards to it with the exampleWifiSSLClient
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
finished with no errors, but the connection fails. It shows a
-2
error code when asking withMqttClient.connectError()
for it. TheMqttClient
object is derived fromBearSSLClient
.I also posted this issue in the arduino.cc forum:
https://forum.arduino.cc/t/mqtts-with-arduino-mkr-wifi-1010/1094414
The text was updated successfully, but these errors were encountered: