Skip to content

[lighttpd] -mod-openssl fails #14121

@ghost

Description

lighttpd: 1.4.56-2
lighttpd-mod-openssl: 1.4.56-2
Maintainer: @flyn-org

libopenssl: 1.1.1h-1
Maintainer: @cotequeiroz

Environment: mvebu (Turris Omnia / armv7l / Cortex-A9)

Description:

# lighttpd -tt -f /etc/lighttpd/lighttpd.conf

(../src/plugin.c.195) dlopen() failed for: /usr/lib/lighttpd/mod_openssl.so Error relocating /usr/lib/lighttpd/mod_openssl.so: EC_KEY_new_by_curve_name: symbol not found
(../src/server.c.1225) loading plugins finally failed

given the output and a public search I suspect this being caused by libopenssl being compiled https://github.com/openwrt/openwrt/blob/master/package/libs/openssl/Makefile#L206

OPENSSL_OPTIONS += no-ec2m

Subsequent TLS connectivity with lighttpd is not possible (least not with openssl backend)

# opkg files lighttpd-mod-openssl

Package lighttpd-mod-openssl (1.4.56-2) is installed on root and has the following files:
/etc/lighttpd/conf.d/30-openssl.conf
/usr/lib/lighttpd/mod_openssl.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions