When running sdv-provision, creating device certificates and register a new device in Azure IoT Hub, it prints the following error message when running the cloudconnector container:
2023/06/19 07:46:52.869238 [azure-connector] ERROR Cannot connect to Hub client_id=52-54-00-12-34-56 err="network Error : x509: certificate signed by unknown authority" mqtt_url=tls://<...>.azure-devices.net:8883
It seems the --caCert=iothub.crt argument for cloud connector is the wrong CA cert for Azure.
Documentation or default configuration should be updated.
When running
sdv-provision, creating device certificates and register a new device in Azure IoT Hub, it prints the following error message when running thecloudconnectorcontainer:It seems the
--caCert=iothub.crtargument for cloud connector is the wrong CA cert for Azure.Documentation or default configuration should be updated.