As you may have noticed (see viewtopic.php?f=2&t=13716) I am working on certificate stuff.
Why do the esp32 APIs work with a certificate in PEM format instead of the (e.g.) mbedtls_x509_crt * ?
If you use more than one module that requires this, then the all the conversions will happen multiple times. Looks unnecessary. An example is esp_https_ota(). Shouldn't functions like that have a
Code: Select all
const mbedtls_x509_crt *certificate
Code: Select all
const char *cert_pem
Code: Select all
components/esp_https_ota/include/esp_https_ota.h
components/mqtt/esp-mqtt/include/mqtt_client.h
components/esp_http_client/include/esp_http_client.h
components/esp_https_server/include/esp_https_server.h
components/esp-tls/esp_tls.h
Danny