Topic: wolfSSL with MicroPython

I've got an idea and I would like to implement this idea, but I need the first push!
My idea is about adding wolfSSL to the MicroPython library in order to be able to build a TLS1.3 connection. MicroPython supports already some TLS libraries (mbedTLS, axTLS). However, these libraries do NOT support the latest version of TLS (TLS1.3).
So, it would be great if anyone can give me keywords from where I should start and what the best way to do that!
P.S. I'm totally new in both libraries.


Re: wolfSSL with MicroPython

Hi m0ot,

Thanks for reaching out to wolfSSL via the forums. Have you found the wolfSSL Python wrapper yet? If you use the documentation here it will help get you started with testing:

Next you could remove the default wolfssl that comes from pip with a local copy configured for TLS1.3 support:

# Download from and extract it
cd wolfssl-4.0.0
./configure --enable-all
<sudo> make install

Then use the api wolfSSLv23_[ client | server ]_method which is already wrapped in the python wrapper and it will use TLS1.3 by default with the option to downgrade (v23 methods support downgrading) if the peer you connect with doesn't have TLS 1.3 support.

We have not yet extended the python wrapper to include the TLS 1.3 only API's but as noted above you can access TLS 1.3 support through the downgrade option which is wrapped.

Please let us know if you have any other questions as you get started and if you need better response times please do not hesitate to reach out to us through or via the zendesk portal at

Thanks for considering wolfSSL for use in your project. Can you tell us a bit more about what it is you are working on?

Warm Regards,