# Pi Pico W SSL/TLS limitations

**URL:** <https://forums.pimoroni.com/t/pi-pico-w-ssl-tls-limitations/19897>\
**Category:** Support\
**Created:** [July 23, 2022, 12:28pm UTC](https://forums.pimoroni.com/t/pi-pico-w-ssl-tls-limitations/19897 "2022-07-23T12:28:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forums.pimoroni.com/u/kjw)\
**Post date:** [July 23, 2022, 12:28pm UTC](https://forums.pimoroni.com/t/pi-pico-w-ssl-tls-limitations/19897/1 "2022-07-23T12:28:12Z")

</div>

Two of the MicroPython examples on [pimoroni-pico/micropython/examples/inky\_frame at main · pimoroni/pimoroni-pico · GitHub](https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/inky_frame#random-joke) refer to TLS 1.3:

- Random Joke: “JokeAPI.dev needs TLS1.3 which Pico W does not support!”
- XKCD Daily: “The webcomic is rendered “offline” by our feed2image service since [xkcd.com](http://xkcd.com) requires TLS1.3!”

The Qualys SSL Labs produces nice reports on TLS and for [v2.jokeapi.dev](https://www.ssllabs.com/ssltest/analyze.html?d=v2.jokeapi.dev) it lists protocol support as

| _Protocol_ | _Support_ |
| --- | --- |
| TLS 1.3 | Yes |
| TLS 1.2 | Yes |
| TLS 1.1 | No |
| TLS 1.0 | No |
| SSL 3 | No |
| SSL 2 | No |

That doesn’t quite match the explanation on Pimoroni’s example page. What’s the exact nature of the incompatibility here? Where is the TLS code and is the issue the same with C++ applications?

How do these issues show up in MicroPython? I’m getting this from MicroPython on an Inky Frame at the moment…

```auto
Traceback (most recent call last):
  File "<stdin>", line 60, in <module>
  File "urllib/urequest.py", line 30, in urlopen
OSError: 16

```

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forums.pimoroni.com/u/kjw)\
**Post date:** [July 23, 2022, 3:26pm UTC](https://forums.pimoroni.com/t/pi-pico-w-ssl-tls-limitations/19897/2 "2022-07-23T15:26:37Z")

</div>

I think my `OSError: 16` is due to a `422` error from the service I’m connecting but I’m still interested in the TLS story.

---

<div class="post-metadata">

**Author:** ![ahnlak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/ahnlak/32/5610_2.png) [@ahnlak](https://forums.pimoroni.com/u/ahnlak)\
**Post date:** [July 24, 2022, 8:47am UTC](https://forums.pimoroni.com/t/pi-pico-w-ssl-tls-limitations/19897/3 "2022-07-24T08:47:15Z")

</div>

I _think_ the TLS version is down to the underlying Micropython stuff; it’s nothing hardware-related so C++ apps would be free to implement it.
