sirpdboy / openwrt

openwrt
1.91k stars 229 forks source link

20240301 精简版的openssl运行出错,导致无法生成crt和key #505

Closed flyhigao closed 1 month ago

flyhigao commented 4 months ago

uhttp无法用443端口访问, 提示缺少 /etc/uhttpd.key和/etc/uhttpd.crt, 我用下列生成, openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/uhttpd.key -out /etc/uhttpd.crt 可是出错 FATAL: Startup failure (dev note: apps_startup()) for openssl 48DB5CD4807F0000:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:118:filename(/usr/lib/engines-3/devcrypto.so): Error loading shared library /usr/lib/engines-3/devcrypto.so: No such file or directory 48DB5CD4807F0000:error:12800067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:152: 48DB5CD4807F0000:error:13000084:engine routines:dynamic_load:dso not found:crypto/engine/eng_dyn.c:442: 48DB5CD4807F0000:error:13000074:engine routines:ENGINE_by_id:no such engine:crypto/engine/eng_list.c:433:id=devcrypto 48DB5CD4807F0000:error:13000066:engine routines:int_engine_configure:engine configuration error:crypto/engine/eng_cnf.c:139:section=devcrypto_sect, name=default_algorithms, value=ALL 48DB5CD4807F0000:error:0700006D:configuration file routines:module_run:module initialization error:crypto/conf/conf_mod.c:276:module=engines, value=engines_sect retcode=-1

flyhigao commented 1 month ago

解决了 https://github.com/coolsnowwolf/lede/issues/11813