I need to develop secure web application for embedded device. I'm already using lwIP, it's internal HTTPD and mbed TLS in the device and I'm standing before question of rewriting lwIP's httpd.c
for HTTPS support or using different HTTP server which already supports it (I haven't found any yet).
I suppose many people here have already dealt with this before (HTTPS server in embedded device), so I'd like to ask, if anyone could provide examples or description how he did it. I'm planning to rewrite TCP I/O functions in httpd.c
to use mbed TLS functions, I'd like to know if this is good enough path to go, as I have not much experience with HTTPS.
Also if anybody from lwIP team reads this, I'd like to ask, whether you could add compile option, so we can use custom functions instead of tcp_write
, tcp_poll
, etc; so we don't have to change httpd.c
file.