Page 1 of 1

ESP32-AT Loading CA to authenticate server failed

Posted: Fri Oct 18, 2019 9:37 am
by katebo
Hi,
I'm trying to create SSL connection using ESP32-AT commands on ESP32_DevKitc_V4 board with ESP32-Solo-1 chip. I have release/v1.2.0.0 AT firmware version.
I want to authenticate server only, so i flashed certificate to 0x24000 and CA certificate to 0x28000 with ESP32 Download Tool. I converted certificates to bin format with AtPKI.py and checked if certificates are on the flash with at+sysflash=2...
My steps are:
AT+CWMODE=1
AT+CWJAP="<SSID>","<password>"
AT+CIPSNTPCFG=1,1,"1.us.pool.ntp"
AT+CIPSSLCCONF=2,0,0
AT+CIPSTART="SSL","www.google.com",443
For the last command i'm getting ERROR without any error message.
Am i missing some step?
I'd be very grateful for any kind of help.

Re: ESP32-AT Loading CA to authenticate server failed

Posted: Fri Oct 18, 2019 11:55 am
by Helen L
Maybe you can try to set in the menuconfig to enlarge the SSL buffer. Some SSL connection may fail due to that there is not enough buffer to keep SSL data.

Re: ESP32-AT Loading CA to authenticate server failed

Posted: Fri Oct 18, 2019 2:47 pm
by katebo
I'm not sure how to do that on ESP32. Could you please tell which option should i change in menuconfing in order to enlarge SSL buffer size, or where can i read more about this?

Re: ESP32-AT Loading CA to authenticate server failed

Posted: Tue Jan 26, 2021 5:36 am
by Stephan
HI katebo

Did you ever manage to solve this authentication issue? If yes, how? If no, you might want to give this a try:
viewtopic.php?t=9374

I have to SSL as well; just starting.

Cheers,
Stephan