ESP32 SSL Communication

mohit_devtech
Posts: 1
Joined: Mon May 06, 2019 12:49 pm

ESP32 SSL Communication

Postby mohit_devtech » Mon May 06, 2019 12:56 pm

hi,
I have been trying to implement SSL client communication with AWS. But how can i add SSL certificate in the ESP. I am trying to use AT commands for some reason. can somebody help me with this problem.. i have SSL certificate and private key of the server.

Thank you.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: ESP32 SSL Communication

Postby ESP_Angus » Tue May 07, 2019 1:43 am

Hi Mohit,

If you're using the ESP32-AT firmware, you can find some tips about creating a certificate binary to use with AT firmware here:
https://github.com/espressif/esp32-at/issues/75
https://github.com/espressif/esp32-at/b ... #2-pki-bin

If you're using ESP-IDF, you can use the mbedTLS APIs for this - ESP-IDF includes some code example files for making TLS connections (under examples/protocols). But it sounds like you are using AT, so this doesn't apply.

Who is online

Users browsing this forum: Bing [Bot] and 119 guests