SSL Web Server support

  • Is any chance for SSL Web Server support for Raspberry Pi 3 and LibreELEC 9.0? According this page Kodi supports this feature.

  • File locations discussed on the Kodi wiki map to:


    /storage/.kodi/userdata/server.key

    /storage/.kodi/userdata/server.pem


    I've no idea if anything else is needed.. but we haven't done anything to disable the feature.

  • According this commit I think that web server have to support MHD_FEATURE_SSL. Maybe libmicrohttpd version is too old. First version of libmicrohttpd which supports MHD_FEATURE_SSL is 0.9.35

    Edited once, last by lbochen ().

  • I found something in package.mk for libmicrohttpd in LibreELEC project:

    Code
    1. ...
    2. PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
    3. --enable-static \
    4. --disable-curl \
    5. --disable-https \
    6. --with-libgcrypt-prefix=$SYSROOT_PREFIX/usr"
    7. ..

    Maybe --disable-https option is a reason

  • aptalca yes a reverse proxy could solve this, but it would be a lot easier if we could use the build in SSL feature of Kodi. That way we don't have to set up a separate reverse proxy server to accomplish this.


    The --disable-https option to configure the libmicrohttpd package in LibreELEC is probably the root cause. Any reason why this is included? Can't it be removed?