AzureIotEdge Start-EflowVM Error

SachinVP 0 Reputation points
2023-05-02T08:23:33.42+00:00

When try to start AzureIotEdge VM using Start-EflowVm getting below error.

enter image description here

Few days back "Start-EflowVm" was working properly but due to change in security policy powershell admin rights were invoked. After somedays powershell admin rights granted but now getting error.

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
558 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 30,076 Reputation points
    2023-05-02T10:36:21.4766667+00:00

    @SachinVP Welcome to Microsoft Q&A forum!

    The error message indicates that the handshake between the Azure IoT Edge Eflow module and the IoT Hub failed because the certificate presented by the IoT Hub is not trusted by the Eflow module. You can see these type of errors if the certificate presented by the IoT Hub is not signed by a trusted certificate authority (CA).

    I would suggest you, please check the below and see if that helps to resolve the issue.

    • Make sure the device certificate or the CA certificate associated with the device isn't expired. If the device's certificate has been revoked or expired, you may need to update the device with the new certificate before it can connect to the IoT Hub again.
    • If the certificate presented by the IoT Hub is not signed by a trusted CA, you can replace it with a certificate that is signed by a trusted CA.
    • If you are using a self-signed certificate for the IoT Hub, you can add the root CA certificate to the trusted CA store on the Eflow module.

    Also, please check Common issues and resolutions for Azure IoT Edge for Linux on Windows and let us know if you need further help.

    0 comments No comments