Secure element ATECC508C-TCSM for HTTPS and MQTTS in ESP-IDF
Posted: Thu Feb 05, 2026 2:45 pm
ESP_IDF v5.5.2
ESP32-S3
I enabled the menuconfig option and enabled httpd_ssl_config.use_secure_element.
Then I need to pass the signed cert to httpd_ssl_config.servercert, but my cert is partially stored in the SE and the other portion is defined as a constant, in order to assemble it I need to extract the portion stored in the SE and to do that I need to init the device, but httpd_ssl_start also inits the device.
Is it because the implementation of SE in ESP-IDF doesn't take in consideration the ability to store signed certificate internally and only focus on private key interactions or am I doing something wrong?
ESP32-S3
I enabled the menuconfig option and enabled httpd_ssl_config.use_secure_element.
Then I need to pass the signed cert to httpd_ssl_config.servercert, but my cert is partially stored in the SE and the other portion is defined as a constant, in order to assemble it I need to extract the portion stored in the SE and to do that I need to init the device, but httpd_ssl_start also inits the device.
Is it because the implementation of SE in ESP-IDF doesn't take in consideration the ability to store signed certificate internally and only focus on private key interactions or am I doing something wrong?