Hi together!
In my current project I would like to send some sensor data to an Azure IoT Hub, by using a nRF52840.
In the first step and for evaluation I used a nRF9151-DK together with the Azure IoT Hub sample and the setup from the Azure IoT Hub library, which worked fine. For certificate generation and provisioning, I used the "nRF91: Modem generated private key" option together with the nrfcredstore tool.
In the second step, I used a nRF52840 and a W5500 ethernet controller and the "nRF70: Script generated private key" option to run the slightly modified sample code, which also worked. But now, the generated certificates (using a <device_id>) will be compiled into the application code, which requires an individual firmware for every device. Because I intend to use many devices, this is no option to me.
I have the following questions:
- What would be the best way to generate the certificates for many devices, when using an ethernet controller, without having an individual firmware per device?
- Is there a way to use the
nrfcredstoretool on the nRF52840 to generate the private key, when using an external flash to store the certificates?
On the long run, I would like to replace the W5500 by the nRF9151 with the serial modem firmware, achieving LTE connectivity, would that change anything?
Best regards
Bernhard