Closed giuspen closed 10 months ago
Hey @giuspen, thanks for submitting this update to the demo! These seem like useful changes for this demo! I'm reaching out to a team-member who's worked with this to see if they can provide a review
Thanks @Skptak note for completeness that I would also like in future to optionally allow to save the private key to disk when generated in this demo, but that is blocked from the issue https://github.com/aws/aws-iot-device-sdk-embedded-C/issues/1878
I see @paulbartell thanks for your review
Issue #, if available:
Description of changes:
I added support in the fleet provisioning with csr demo for using an already existing private key instead of generating a new one (if defining EXISTING_PRIVATE_KEY_PATH) and to write the downloaded certificate to disk (if defining DOWNLOADED_CERT_WRITE_PATH)
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.