forked from espressif/esp-idf
For ESP certificate bundle case, the certificate failure error from underlying TLS stack was not being tracked. Added the fix and also updated example code showcasing how to retrieve it. Closes https://github.com/espressif/esp-idf/issues/12034