Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check the device certificate chain
Currently all the device certificates are trusted as long as the certificate chain is correct but it's not possible to decide which root CA certifcates are trusted or not. This patch loads the manufacturer trusted CA certs when specified in `trusted_manufacturer_keys` configuration variable and verifies that the device certificate chain is signed by a trusted CA failing otherwise. If no `trusted_manufacturer_keys` is configured the previous behavior is maintained. Signed-off-by: Miguel Martín <[email protected]>
- Loading branch information