Page 1 of 1

Get PEM from mbedtls

Posted: Thu Jan 04, 2024 10:56 am
by maurizio.scian
Hi,
I'm using esp-idf v5.0. I already get file via HTTPS like in "https_mbedtls" example, without embed a PEM file. It works well, but for other connections (for example, for the OTA procedure) the library needs the PEM file. I wouldn't like use embedded PEM, is there a method to get the PEM file from the chain verification procedure, so that use the getted file in the OTA procedure?