SSL (HTTPS) server using AT firmware - accept fail

pawcuq
Posts: 6
Joined: Mon Dec 03, 2018 5:03 pm

SSL (HTTPS) server using AT firmware - accept fail

Postby pawcuq » Mon Dec 03, 2018 5:34 pm

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!

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

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

Postby Helen L » Tue Dec 04, 2018 9:00 am

Does your client have the CA certificate? If not, maybe you can try AT+CIPSERVER=1,443,"SSL",0 first.

pawcuq
Posts: 6
Joined: Mon Dec 03, 2018 5:03 pm

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

Postby pawcuq » Fri Dec 21, 2018 10:15 am

Tried with

Code: Select all

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

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

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

Postby Helen L » Mon Apr 29, 2019 9:14 am

Maybe try SNTP to get the real time firstly, then start the SSL connection.

Who is online

Users browsing this forum: No registered users and 19 guests