- I (18265) example: https_request using cacert_buf
- E (18925) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700
- I (18925) esp-tls-mbedtls: Failed to verify peer certificate!I (18925) esp-tls-mbedtls: verification info: ! The certificate is not correctly signed by the trusted CA
- E (18935) esp-tls: Failed to open new connection
- E (18945) example: Connection failed...
- ------
- I (29955) example: https_request using global ca_store
- W (30205) wifi:<ba-add>idx:2 (ifx:0, 94:53:30:e2:c1:b0), tid:3, ssn:0, winSize:64
- E (30495) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700
- I (30495) esp-tls-mbedtls: Failed to verify peer certificate!I (30505) esp-tls-mbedtls: verification info: ! The certificate is not correctly signed by the trusted CA
- E (30515) esp-tls: Failed to open new connection
- E (30515) example: Connection failed...
Now, the first of the 3 requests works but the last two fail with the following errors:
- -----BEGIN CERTIFICATE-----
- MIIEjjCCA3agAwIBAgISA5cSeCYmxRnm7L/MLS+5Sma7MA0GCSqGSIb3DQEBCwUA
- MDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD
- EwJSMzAeFw0yMjA2MTQwMzAyMTJaFw0yMjA5MTIwMzAyMTFaMBwxGjAYBgNVBAMT
- EXd3dy5ob3dzbXlzc2wuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELNaZ
- bNkFgjEDFBDeP4hxKlLNg8mPQJyR/U0xhw/ZPDLM8cy1tYt/qr1eV2763fn8PnnL
- /VdZ4hqEF7lncpLgIKOCAn0wggJ5MA4GA1UdDwEB/wQEAwIHgDAdBgNVHSUEFjAU
- BggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUlI7e
- Qv+gBHoSQ/rwxWB9HXV+BeYwHwYDVR0jBBgwFoAUFC6zF7dYVsuuUAlA5h+vnYsU
- wsYwVQYIKwYBBQUHAQEESTBHMCEGCCsGAQUFBzABhhVodHRwOi8vcjMuby5sZW5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