# TLS Libraries

**URL:** <https://discourse.julialang.org/t/tls-libraries/47268>\
**Category:** General Usage\
**Tags:** networking, tcp, tls\
**Created:** [September 25, 2020, 2:59pm UTC](https://discourse.julialang.org/t/tls-libraries/47268 "2020-09-25T14:59:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cshenton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cshenton/32/9326_2.png) [@cshenton](https://discourse.julialang.org/u/cshenton)\
**Post date:** [September 25, 2020, 2:59pm UTC](https://discourse.julialang.org/t/tls-libraries/47268/1 "2020-09-25T14:59:18Z")

</div>

Are there any widely used TLS libraries in Julia, even non pure ones?

The sockets API in stdlib is great but my use case isn’t over LAN so I need proper crypto and google searches don’t turn up an obvious choice for TLS.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [September 25, 2020, 3:15pm UTC](https://discourse.julialang.org/t/tls-libraries/47268/2 "2020-09-25T15:15:36Z")

</div>

Julia ships with MbedTLS. You can use the [Downloads](https://GitHub.com/JuliaLang/Downloads.jl) package on 1.3-1.5 to download things over HTTPS.

---

<div class="post-metadata">

**Author:** ![cshenton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cshenton/32/9326_2.png) [@cshenton](https://discourse.julialang.org/u/cshenton)\
**Post date:** [September 27, 2020, 3:48pm UTC](https://discourse.julialang.org/t/tls-libraries/47268/3 "2020-09-27T15:48:40Z")

</div>

Ah that’s good to know. My use case is encrypting TCP traffic, so using the builtin MbedTLS looks like the way to go. The example code at [https://github.com/JuliaLang/MbedTLS.jl](https://github.com/JuliaLang/MbedTLS.jl) looks like exactly what I was looking for. Fantastic!

Thanks Stefan!
