Page 1 of 1

SSL (HTTPS) server using AT firmware - accept fail

Posted: Mon Dec 03, 2018 5:34 pm
by pawcuq
Hello,

I would like to set up SSL server on ESP32_DevKitc_V4 using AT commands. I've already flashed it with currently newest firmware (1.1.2.0) as in picture below:

Image

I've connected FTDI USB->UART converter to DevKit so that I could send AT commands and connected ESP to my WiFi router. I've created SSL server as shown in AT instruction set:

Code: Select all

AT+CIPMUX=1
AT+CIPSERVER=1,443,"SSL",1
But when I try to connect to it using Chrome I get
accept fail
.

Image

TCP version

Code: Select all

AT+CIPSERVER=1,80
works just fine. What am I doing wrong with SSL?

Thanks!

Re: SSL (HTTPS) server using AT firmware - accept fail

Posted: Tue Dec 04, 2018 9:00 am
by Helen L
Does your client have the CA certificate? If not, maybe you can try AT+CIPSERVER=1,443,"SSL",0 first.

Re: SSL (HTTPS) server using AT firmware - accept fail

Posted: Fri Dec 21, 2018 10:15 am
by pawcuq
Tried with

Code: Select all

AT+CIPSERVER=1,443,"SSL",0
and same problem occured -
accept fail

Re: SSL (HTTPS) server using AT firmware - accept fail

Posted: Mon Apr 29, 2019 9:14 am
by Helen L
Maybe try SNTP to get the real time firstly, then start the SSL connection.