Skip to content

稀奇古怪的知识

Menu

Search

Posts with the openwrt tag

OpenWrt

OpenWrt Aria2开启SSL

Written by Sea on 16 3 月, 202329 3 月, 2023.

在Aria2设置中将 配置文件目录改为 :/opt/aria2

上传证书文件至/opt/aria2

编辑/etc/init.d/aria2 查找append_setting “xxxxxxxxxxxxxxxxx” 在后面一行添加

append_setting "rpc-secure=true"
append_setting "rpc-certificate=$config_dir/uhttpd.crt"
append_setting "rpc-private-key=$config_dir/uhttpd.key"

重启Aria2即可

Read the article OpenWrt Aria2开启SSL
未分类

HomeAssistant开启ssl

Written by Sea on 13 3 月, 20236 12 月, 2023.

编辑配置文件目录中的 configuration.yaml 尾部添加:

http:
ssl_certificate: uhttpd.crt
ssl_key: uhttpd.key

上传 crt 和key文件至该目录后重启

Read the article HomeAssistant开启ssl
OpenWrt

ttyd 开启SSL

Written by Sea on 13 3 月, 202313 3 月, 2023.

编辑 /etc/config/ttyd

config ttyd
option interface ‘@lan’
option command ‘/bin/login’


option ssl ‘1’
option ssl_key ‘/etc/uhttpd.key’
option ssl_cert ‘/etc/uhttpd.crt’

Read the article ttyd 开启SSL
Proudly powered by WordPress | Theme: Simone by Carolina