ESP32 use encrypted private key for AWS IOT certificate
Posted: Mon Jul 17, 2017 10:16 am
Hello,
I'm trying to understand if it's possible to use ESP32 for a secured Just-in-time registration with AWS IOT without adding extra chip such as ATECC508A (see attached).
ATECC508A can generate random private key, and Microchip (the manufacturer) can use this key to generate provisional AWS device certs signed by own CA, then ship the chips to us. However, ESP32 already has secured boot & flash encryption, it said will generate random private signing key, however, this key is non-readable from the software. So questions are:
- is it possible to use this generated private signing key (in flash encryption) to generate an AWS certificate (signed by our own CA certs)?
- are there ways to generate provisional certificate with a hardware generated private key in ESP32?
- how would you then generate different private keys per device and securely store them?
Many thanks for the help.
I'm trying to understand if it's possible to use ESP32 for a secured Just-in-time registration with AWS IOT without adding extra chip such as ATECC508A (see attached).
ATECC508A can generate random private key, and Microchip (the manufacturer) can use this key to generate provisional AWS device certs signed by own CA, then ship the chips to us. However, ESP32 already has secured boot & flash encryption, it said will generate random private signing key, however, this key is non-readable from the software. So questions are:
- is it possible to use this generated private signing key (in flash encryption) to generate an AWS certificate (signed by our own CA certs)?
- are there ways to generate provisional certificate with a hardware generated private key in ESP32?
- how would you then generate different private keys per device and securely store them?
Many thanks for the help.