Search found 3 matches

by samuelclay
Thu Jul 25, 2024 6:51 pm
Forum: ESP-IDF
Topic: SSL Handshake Failure After Server Certificate Renewal
Replies: 2
Views: 591

Re: SSL Handshake Failure After Server Certificate Renewal

Here's `esp32_https_test.c`, my minimal test case: #include "esp_crt_bundle.h" #include "esp_event.h" #include "esp_http_client.h" #include "esp_log.h" #include "esp_netif.h" #include "esp_system.h" #include "esp_tls.h" #include "esp_wifi.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" ...
by samuelclay
Thu Jul 25, 2024 6:31 pm
Forum: ESP-IDF
Topic: SSL Handshake Failure After Server Certificate Renewal
Replies: 2
Views: 591

Re: SSL Handshake Failure After Server Certificate Renewal

Solved the problem. I'd like to pay it forward here to anybody else who may come across this issue in the future. Here's what I did. I built a minimal test case that (included below): 1. Connected to wifi 2. Fetched an https endpoint and return the status code 3. Scanning for wifi networks if wifi f...
by samuelclay
Wed Jul 24, 2024 1:34 am
Forum: ESP-IDF
Topic: SSL Handshake Failure After Server Certificate Renewal
Replies: 2
Views: 591

SSL Handshake Failure After Server Certificate Renewal

I'm encountering an SSL handshake failure with my ESP32 devices (using ESP-IDF v5.1 with mbedTLS 3.3.0) when connecting to my server. This issue started occurring after the server's Let's Encrypt SSL certificate was renewed. When I upgrade to ESP-IDF v5.1.4, which uses mbedTLS 3.5.2, everything work...