To generate the ECDSA root CA and intermediate CA for signing the device manufacturer certificate (IDevId), you have the option to use tools such as OpenSSL or the plgd cert-tool.
To install the cert-tool, execute the following command in your shell:
go install github.com/plgd-dev/hub/v2/tools/cert-tool@latest
Similarly, to install the yq tool for updating YAML files, use the following command:
go install github.com/mikefarah/yq/v4@latest
Finally, ensure that the go bin directory is included in your PATH by executing the following command:
export PATH=$PATH:$(go env GOPATH)/bin
These steps will enable you to generate the necessary certificates and configure your environment appropriately.