Page 1 of 1

ESP32 SSL Communication

Posted: Mon May 06, 2019 12:56 pm
by mohit_devtech
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.

Re: ESP32 SSL Communication

Posted: Tue May 07, 2019 1:43 am
by ESP_Angus
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.