MQTTS on MKR 1500

Hello,

I am using a MKR NB 1500 and the mqtt library ArduinoMqttClient. It works great with my broker (liveobjects.orange-business.com). I would like to make it work in secured mode (tls or ssl on port 8883).
I don't find any tuto/documentation to do that.

Can you help?

many thanks

Franck

I can't test it out, but I think you should be able to do it by just changing this line:

NBClient client;

to:

NBSSLClient client;

and this line:

int port = 1883;

to:

int port = 8883;