Where is the best place to store certificates?
Posted: Wed Apr 05, 2017 2:45 pm
I'm working with AWS IoT and it have 3 TLS certificates to store in the ESP32 board, with the following size (in PEM format):
Certificate: 1224 bytes
Private key: 1675 bytes
CA: 1758 bytes
Actually they are hardcoded in the script.
For OTA updates it will be a problem because every board have different certificates and generate a firmware for each board don't look a good idea.
So, where is the best place to store these certificates? in NVS? Sd card? other? it can corrupt with a power failure?
Certificate: 1224 bytes
Private key: 1675 bytes
CA: 1758 bytes
Actually they are hardcoded in the script.
For OTA updates it will be a problem because every board have different certificates and generate a firmware for each board don't look a good idea.
So, where is the best place to store these certificates? in NVS? Sd card? other? it can corrupt with a power failure?