Nano 33 IOT MQTT to AWS


Does anyone know where I can find an official document on how to connect to AWS via MQTT on the Nano 33 IOT board? I do not believe the TLS certificate syntax is correct in the AWS_IOT_Wifi sketch in the examples folder, because I get "-2" responses from AWS. Even if I add all three certificates with "/n" at the end of each line. Nothing seems to work on this board with regards to MQTT. I have tried two known good boards and get the same results on both.

Update: I just tried the Azure MQTT sketch as well and I get the same. Is this board meant to work with Azure IOT Hub and AWS IOT?