Set up a webserver via MbedTLS

have anyone a example for a webserver using the MbedTLS libs?
Can I base on the SSL Server example (mbedtls/programs/ssl at development · Mbed-TLS/mbedtls · GitHub)?

Thanks for help!

Since you’ve tagged ESP-IDF I’m assuming that’s your platform.

As you can see in the official ESP-IDF repository, in version 4.1 since that is what PIO uses now, there is:

See docs for how to configure ESP-IDF in PIO.

Further questions on the example code itself should be directed towards the ESP-IDF repository.

Yes, that’s right I use the ESP-IDF.
Thanks for your reply and help!