MQTTS on MKR 1500


I am using a MKR NB 1500 and the mqtt library ArduinoMqttClient. It works great with my broker ( 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


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

NBClient client;


NBSSLClient client;

and this line:

int port = 1883;


int port = 8883;