Hi I am using eclipse with esp32. I want to store aws certs on spiffs, kindly tell me the procedure how to do it?
I am following thing shadow example in esp-idf but instead of using embedded certs as in the example, I want to use spiffs.
Your suggestions will be appreciated.
Storing aws certs to spiffs
Re: Storing aws certs to spiffs
Not done with spiffs, but have with nvs. Using a blob instead of a string avoids a length limit you might hit with some certificates and keys.
However you obtain them, you can pass a pointer to their location the same, unless there is some shortcut using spiffs.
However you obtain them, you can pass a pointer to their location the same, unless there is some shortcut using spiffs.
Re: Storing aws certs to spiffs
Hello,pksher wrote: ↑Fri Jul 12, 2019 5:26 amHi I am using eclipse with esp32. I want to store aws certs on spiffs, kindly tell me the procedure how to do it?
I am following thing shadow example in esp-idf but instead of using embedded certs as in the example, I want to use spiffs.
Your suggestions will be appreciated.
Di you need any directory level support to store certificates using SPIFFS components? Do you want to change certificate contents runtime or just want to read it?
If So, Then I suggest to create SPIFFS partition from your partition.csv file and create SPIFFS image with certificates to store into flash memory.
So that you can easily read those certificates and can use as per your requirements.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Storing aws certs to spiffs
Hi Ritesh
I am not changing certs at runtime, just want to read those certs.
I am not changing certs at runtime, just want to read those certs.
Re: Storing aws certs to spiffs
If So, Then I suggest to create SPIFFS partition from your partition.csv file and create SPIFFS image with certificates to store into flash memory.
So that you can easily read those certificates and can use as per your requirements.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: No registered users and 126 guests