Azure IoT Edge: Could not load cert with ID "aziot-edged-trust-bundle"

Taylor 21 Reputation points
2021-06-14T14:21:29.437+00:00

I've been trying to get IoT Edge (v1.2.1) which includes installing aziot-identity-service (v1.2.0) up and running on my CentOS 7 installation, but I keep running into this problem.
I have followed all the instructions for installing the MS repo/GPG key, the aziot-identity-service, and the aziot-edge packages as per [how-to-install-iot-edge][1] and grabbing the correct rpm packages from the release page for 1.2.1.

I am attempting to use symmetric key authentication and have tried two different methods for setting up the config.toml file:

  1. Copying /etc/aziot/config.toml.edge.template to /etc/aziot/config.toml, and then configuring only the values for symmetric key authentication using the connection string obtained from the device registered in IoT Hub.
  2. Creating a new file by running 'sudo iotedge config mp -c "
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.
580 questions
{count} vote

1 answer

Sort by: Most helpful
  1. QuantumCache 20,271 Reputation points
    2021-06-15T20:37:21.62+00:00

    Hello @Taylor
    In most cases, this is caused by a file permission error. Make sure that the iotedge user has read permissions on the directory and certificates inside.

    Could you please point out the documentation(s) you have used or referred to for this scenario?

    Resolution posted by @ Tylor

    the problem is somehow caused by some other package I have installed on the system. I'm not sure exactly what the package is doing to cause this problem, but having removed that package, I was able to get everything working as expected - I do need that other package so I'll have to figure out what's going on there, but thankfully this is not a problem with the IoT Edge software.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.