How to set the certificate final location when Provisioning-EflowVm (DPS)?

Kenia Sanchez 20 Reputation points
2023-10-05T21:09:38.81+00:00

Hi,

When I run the command Provision-EflowVm (as the example), I set the corresponding scopeId and the paths for the certificates in my local machine. (C:)

  Provision-EflowVm -provisioningType DpsX509 -scopeId 0ne00000000 -registrationId myeflowdevice -identityCertPath "C:\certs\iot-edge-device-identity-myeflowdevice.cert.pem" -identityPrivKeyPath "C:\private\iot-edge-device-identity-myeflowdevice.key.pem"

After that, the config.toml is filled with the provisioning and provisioning.attestation information.

[provisioning]

source = "dps"

global_endpoint = "https://global.azure-devices-provisioning.net"

id_scope = "0ne00000000"

[provisioning.attestation]

method = "x509"

*# registration_id = "

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.
550 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 13,871 Reputation points
    2024-01-08T21:43:48.33+00:00

    Hi @Kenia Sanchez Greetings! Apologies for the delayed feedback on this. I would like to inform you that with the current implementation of the product, the config.toml file does not automatically include the details of the certs.

    Our product team is currently working fixing this issue in a future release which is targeted to release at the end of January/beginning of February. I will update the thread again once the fix is released.

    Hope this helps! I understand that this situation may have caused some inconvenience, and I want to express my gratitude for your efforts and patience in handling it.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    0 comments No comments