Azure-Samples / Azure-Samples/iotedge_config_cli

Name of provided root certificate is not applied to the install.sh script

Open
#18 2 comments 0 reactions 1 assignee Claimed by @jlian View on GitHub
Dominant language
Rust
Stars
8
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I followed [this ](https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-nested-iot-edge?view=iotedge-2020-11) guide to install a nested edge hierarchy.

At step 3 of the chapter ["Create a hierarchy of IoT Edge devices"](https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-nested-iot-edge?view=iotedge-2020-11#create-a-hierarchy-of-iot-edge-devices) is described that I can provide a custom root certificate by editing the `iotedge_config.yaml`. I adjusted the paths of the `root_ca_cert_path` and `root_ca_cert_key_path` accordingly. After executing `./iotedge_config --config --output -f` the generated `install.sh` file contains the (hardcoded [here ](https://github.com/Azure-Samples/iotedge_config_cli/blob/main/src/scripts/install_ca_certs.sh#L2)and [here](https://github.com/Azure-Samples/iotedge_config_cli/blob/main/src/scripts/install_ca_certs.sh#L9)) root CA name `iotedge_config_cli_root.pem` instead of my configured root CA name.

Let me know if you need further information. Thanks in advance for you efforts.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.