This is a slightly modified version of the BearSSL sample server for the ESP8266 Arduino framework using PlatformIO
first copy and edit the lib/private/PrivateConfig.hpp.sample
file to lib/private/PrivateConfig.hpp
The code crashes if you run it on 80MHz CPU frequency, you have to switch to 160MHz to stabilize the program.
board_build.f_cpu = 160000000L
in platformio.ini
find it here.