https communication does not work with esp32-s3-devkitc-1 board

yupingzhang2005
Posts: 10
Joined: Sat Feb 18, 2023 6:22 pm

https communication does not work with esp32-s3-devkitc-1 board

Postby yupingzhang2005 » Fri Mar 17, 2023 2:05 am

Hi,
I'm using self-signed certificates/keys for https server on esp32-s3 board and client on my phone, it fails in handshake phase, see below errors:

I (19095) esp_https_server: performing session handshake
E (19115) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7280
E (19115) esp_https_server: esp_tls_create_server_session failed
E (19125) httpd: httpd_accept_conn: session creation failed
W (19125) httpd: httpd_server: error accepting new connection

FYI, the key length is 2048 bits, http works fine. Does anybody know what this error code means? any suggestions? thanks.

yupingzhang2005
Posts: 10
Joined: Sat Feb 18, 2023 6:22 pm

Re: https communication does not work with esp32-s3-devkitc-1 board

Postby yupingzhang2005 » Fri Mar 17, 2023 4:50 am

how can I detect the esp32-s3 board hostname? I used ping -a 10.0.0.15, and it didn't work. Thanks.

User avatar
corz.org
Posts: 80
Joined: Fri Feb 03, 2023 10:44 pm
Location: Aberdeen
Contact:

Re: https communication does not work with esp32-s3-devkitc-1 board

Postby corz.org » Mon Mar 20, 2023 10:55 am

The server didn't like something about the client's handshake. Ensure they are using the same cypher suites.

Why not spit out the current IP over the serial terminal?

yupingzhang2005
Posts: 10
Joined: Sat Feb 18, 2023 6:22 pm

Re: https communication does not work with esp32-s3-devkitc-1 board

Postby yupingzhang2005 » Mon Mar 20, 2023 4:00 pm

Thanks, I have figured out and made it works. Please can someone help me close this tickets? thanks!

Who is online

Users browsing this forum: Bing [Bot] and 95 guests