# How to set uhttpd cipher list

**URL:** <https://forum.openwrt.org/t/how-to-set-uhttpd-cipher-list/215579>\
**Category:** Installing and Using OpenWrt\
**Created:** [November 14, 2024, 6:52am UTC](https://forum.openwrt.org/t/how-to-set-uhttpd-cipher-list/215579 "2024-11-14T06:52:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunar\_rover](https://forum.openwrt.org/user_avatar/forum.openwrt.org/lunar_rover/32/94542_2.png) [@lunar\_rover](https://forum.openwrt.org/u/lunar_rover)\
**Post date:** [November 14, 2024, 6:52am UTC](https://forum.openwrt.org/t/how-to-set-uhttpd-cipher-list/215579/1 "2024-11-14T06:52:38Z")

</div>

I'm using `luci-ssl-openssl`, which uses `uhttpd` and `libustream-openssl`.  
It uses ChaCha20-Poly1305 by default, but my CPU supports AES instructions.

How to set the cipher list used by `uhttpd`?

---

<div class="post-metadata">

**Author:** ![lunar\_rover](https://forum.openwrt.org/user_avatar/forum.openwrt.org/lunar_rover/32/94542_2.png) [@lunar\_rover](https://forum.openwrt.org/u/lunar_rover)\
**Post date:** [November 17, 2024, 2:55am UTC](https://forum.openwrt.org/t/how-to-set-uhttpd-cipher-list/215579/2 "2024-11-17T02:55:04Z")

</div>

Answering myself: It's [hard coded in libustream](https://github.com/openwrt/ustream-ssl/blob/99bd3d2b167ccdffb6de072d02c380cb37b23e33/ustream-openssl.c#L45) and requires patching.

---

<div class="post-metadata">

**Author:** ![system](https://forum.openwrt.org/uploads/default/original/3X/7/4/740520c71f00039bbf001045c682f0ecb25e905a.png) [@system](https://forum.openwrt.org/u/system)\
**Post date:** [November 27, 2024, 2:55am UTC](https://forum.openwrt.org/t/how-to-set-uhttpd-cipher-list/215579/3 "2024-11-27T02:55:07Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
