Choose the ssl module or the tls module #18484
-
|
What are the differences between the ssl module and the tls module? Which one should I choose to use? thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
In MicroPython You should use the Of course, you can use Please take a look at https://github.com/shariltumin/ssl-tls-examples-micropython |
Beta Was this translation helpful? Give feedback.
-
|
TLS is the direct successor to SSL, and all versions of SSL are now obsolete. However, it is common for the term SSL to describe a TLS connection. In most cases, the terms SSL and SSL/TLS refer to the TLS protocol and TLS certificates. Just use the |
Beta Was this translation helpful? Give feedback.
In MicroPython
sslis a wrapper fortls. All handshakes are TLS.You should use the
sslmodule in MicroPython because all standard libraries and examples refer to it by that name, even though it implements TLS protocols.Of course, you can use
tlsdirectly if you want and know what you're doing.Please take a look at https://github.com/shariltumin/ssl-tls-examples-micropython