Uhttpd-mod-tls alternative?

Just noticed uhttpd-mod-tls has been dropped. Does anyone know of a lightweight alternative (that doesn't require me building it myself)? Something that does what stunnel does, but not using openssl?

If not, is there any chance we can get a version of libcurl built against openssl, so I don't need to keep libmbedtls installed?

There is no need to replace uhttpd-mod-tls with anything.

uhttpd-mod-tls was an empty package, a leftover from ancient times. It had no functionality and offered no features. It just added a dependency for libustream-... package.
https://git.lede-project.org/?p=source.git;a=commit;h=47cf2387798d04dab7f3386c4665a00428c61bf1

All the functionality has actually been in the basic uhttpd since year 2013.
https://git.lede-project.org/?p=source.git;a=commit;h=a4c7a953e5fb58a075c7cdedf8b2f8c86a771f22

You simply need one libustream- variant in your build, (just as you did with uhttpd-mod-tls).

You can compile that by yourself already now. Curl has a build config option where you can select which SSL library it uses. But it has not been packages as a "variant", so it is not built automatically by the buildbot.

(I am currently building an OpenSSL-only build myself, as I have also replaced px5g with openssl-util, as LEDE's uhttpd knows how to generate SSL keys with openssl cmd tools. So there is only libopenssl in my build.)

1 Like

Oh, right. It's just my misunderstanding then? Awesome.

Thank you.