ESP32-AT Loading CA to authenticate server failed

katebo
Posts: 3
Joined: Fri Oct 18, 2019 9:07 am

ESP32-AT Loading CA to authenticate server failed

Postby katebo » Fri Oct 18, 2019 9:37 am

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.

Helen L
Posts: 71
Joined: Thu Aug 16, 2018 9:07 am

Re: ESP32-AT Loading CA to authenticate server failed

Postby Helen L » Fri Oct 18, 2019 11:55 am

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.

katebo
Posts: 3
Joined: Fri Oct 18, 2019 9:07 am

Re: ESP32-AT Loading CA to authenticate server failed

Postby katebo » Fri Oct 18, 2019 2:47 pm

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?

Stephan
Posts: 12
Joined: Tue Aug 27, 2019 2:42 am

Re: ESP32-AT Loading CA to authenticate server failed

Postby Stephan » Tue Jan 26, 2021 5:36 am

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

Who is online

Users browsing this forum: kaxx1975, Majestic-12 [Bot] and 166 guests