CSR flows for IoT Hub #401
Open
maximsemenov80 wants to merge 2 commits intoAzure-Samples:feature/dps-csr-previewfrom
Open
CSR flows for IoT Hub #401maximsemenov80 wants to merge 2 commits intoAzure-Samples:feature/dps-csr-previewfrom
maximsemenov80 wants to merge 2 commits intoAzure-Samples:feature/dps-csr-previewfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ificate chain retrieval
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for Certificate Signing Request (CSR) flows during both Device Provisioning Service (DPS) provisioning and after connecting to IoT Hub in the Linux demo configuration. It also updates related documentation, configuration options, and enables an additional elliptic curve in mbedTLS. The CMake presets are updated to add a Linux build configuration.
CSR Feature Enhancements:
demo_config.hto enable CSR during DPS provisioning (democonfigENABLE_DPS_CSR) and/or after IoT Hub connection (democonfigENABLE_IOT_HUB_CSR). Shared macros for CSR data and private key are now used by both flows, and a unique request ID is supported for IoT Hub CSR.README.mdto describe the new CSR flows, required parameters, and example macro definitions for both DPS and IoT Hub CSR scenarios. [1] [2] [3]democonfigCERTIFICATE_SIGNING_REQUESTmacro in favor ofdemoconfigCERTIFICATE_SIGNING_REQUEST_DATAfor clarity and consistency. [1] [2] [3]Build System Improvements:
CMakePresets.jsonfor easier configuration and building on PC/Linux platforms. [1] [2]Security/Compatibility Updates:
mbedtls_config.hto support a wider range of X.509 certificates.Other:
demo_config.hfor device symmetric key.