Skip to content

No mbedTLS server support #4670

Closed
Closed
@sherrellbc

Description

@sherrellbc

Description

  • Type: Enhancement | Question
  • Priority: Major

Enhancement

It does not appear to be possible to host an mbedTLS SSL server on mbed-os. I found this example on the mbedTLS Github page, but the code was written assuming a UNIX platform.
Similarly, there are no server examples over at mbed-os-example-tls.

After searching around a bit I have found the following:

All pointing to there not being any server support for mbedTLS on mbed-os.

A majority of the functionality necessary for implementing a server seems to be available in net_sockets.c. Specifically, of course, bind and accept. However, due to the MBEDTLS_NET_C macro being undefined, essentially the entire file is excluded at compile-time. However, according to the documentation for this macro, it seems server support can be had with a little support from the platform.

Am I overlooking mbedTLS server support or is it currently unimplemented. If unimplemented, is it planned?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions