Hi
I had a working solution based on MKR 1010 that sent telemetry data to Azure IOT HUB that worked with Baltimore root certificate.
Now Microsoft decides to automatically migrate from Baltimore CyberTrust Root to **DigiCert Global G2 Root before October 2023 or you can do it yourself before to avoid last minute problems.
So I decided to migrate IOT HUB to DigiCert first by myself (to migrate there is a wizard on Azure console)
I have referred your query in the forum.
I am using an MKR GSM 1400 to send some telemetry data.
So, migrating of certificate from Baltimore to digiCert is also done.
But when code is uploaded from Arduino 2.1.1 . I am too unable to connect to MQTT and error of Error: -2 is shown.
Can you please expand the steps you have taken to solve the problem.