can ESP32 establish a HTTPS Access Point connection?

I’m attempting to have my ESP32 generate a HTTPS Access Point connection. Can this be done with an ESP32?

I am using Platformio as my build environment running on a Raspberry Pi 4. I can re-create this with my Arduino IDE from my PC as well.

The source code can be found at the following github link: https://github.com/tsbiberdorf/httpsConnection.git

The code compiles and loads fine, but when I make the connection to my ESP32 from my WiFi device (my phone), the ESP32 resets with the following error message. I’m not sure how to debug into the library code.

Thanks.

========== reboot message ==========
Rebooting…
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5828
entry 0x400806ac
configure WifFi: 1
creating access point SecureConnection
Starting server…
Server ready.
dhcps: send_offer>>udp_sendto result 0

Guru Meditation Error: Core 0 panic’ed (InstrFetchProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x00000000 PS : 0x00060e30 A0 : 0x8012ca0d A1 : 0x3ffb44f0
A2 : 0x3ffcf0c0 A3 : 0x3ffd0990 A4 : 0x3ffced3c A5 : 0x3ffced1c
A6 : 0x650a0a0a A7 : 0x6f0a0a0a A8 : 0x8012c8b0 A9 : 0x3ffb44b0
A10 : 0x3ffcf0d0 A11 : 0x3ffd0990 A12 : 0x3ffb44fc A13 : 0x00000044
A14 : 0x00000001 A15 : 0x00000006 SAR : 0x00000010 EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0x00000000

Backtrace: 0x00000000:0x3ffb44f0 0x4012ca0a:0x3ffb4530 0x40138319:0x3ffb4550 0x4013d321:0x3ffb4590 0x40142446:0x3ffb45b0 0x4012d2c7:0x3ffb45d0 0x40088b9d:0x3ffb4600

PC: 0x00000000
EXCVADDR: 0x00000000

Decoding stack results
0x4012ca0a: handle_dhcp at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/apps/dhcpserver/dhcpserver.c line 1031
0x40138319: udp_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/udp.c line 401
0x4013d321: ip4_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4/ip4.c line 740
0x40142446: ethernet_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/netif/ethernet.c line 184
0x4012d2c7: tcpip_thread at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c line 135
0x40088b9d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

Hi Terry.
Which ESP32 product are you using? Can you provide pictures of your setup?
Thanks.
Curtis Johnson

I’m using a ESP-WROOM-32

My ESP-WROOM-32 is acting as the cloud connection. I want my customer to use their WiFi device to connect to my cloud server (ESP-WROOM-32) but my service should provide only HTTPS connection.