AsyncTCP icon indicating copy to clipboard operation
AsyncTCP copied to clipboard

mbed TLS client & server support (WIP)

Open Bmooij opened this issue 4 years ago • 3 comments

I started implementing the server side TLS support. I used the implementation provided by @tve https://github.com/me-no-dev/AsyncTCP/pull/48 It is not finished yet!

Currently the first request can successfully be made with HTTPS and processed. The next HTTPS request could not be processed, and fails.

I'm looking for feedback on the implementation, and help with the last issue. Any help is appreciated.

For quick testing I made a sample project that could be used with PlatformIO. https://github.com/Bmooij/AsyncTCP-https-server-example

Thanks!

Bmooij avatar Apr 16 '20 19:04 Bmooij

Any news on this?

zekageri avatar Jul 31 '20 14:07 zekageri

Would this also enable TLS/SSL for Server side Web Sockets ?? Looked long and hard for that.... :-)

frippe75 avatar Aug 05 '20 09:08 frippe75

Hey, is there any code sample to try the client part? I've tried to make https requests, but I'm missing libraries to build the AsyncTCP with this branch, any help would be much appreciated :)

Compilation errors:

libraries/asyncHTTPrequest/asyncHTTPrequest.cpp.o:(.literal._ZN16asyncHTTPrequest8_connectEv+0x28): undefined reference to `AsyncClient::AsyncClient(tcp_pcb*, tcp_pcb*)'
Multiple libraries were found for "FS.h"
libraries/asyncHTTPrequest/asyncHTTPrequest.cpp.o:(.literal._ZN16asyncHTTPrequest8_connectEv+0x2c): undefined reference to `AsyncClient::connect(char const*, unsigned short, bool)'

RomeHein avatar Nov 13 '20 16:11 RomeHein