使用https访问openwrt的luci界面 具体配置如下: ##1.安装luci-ssl包: ```shell opkg update opkg install luci-ssl-openssl ``` ##2.生成ssl证书并启用 生成uhttpd.cer及密钥文件uhttpd.key,然后复制到/etc/目录下 ##3.修改/etc/config/uhttpd文件 设置https端口,并开启强制https访问 ```shell config uhttpd 'main' list listen_http '0.0.0.0:80' list listen_http '[::]:80' list listen_https '0.0.0.0:443' list listen_https '[::]:443' option redirect_https '1' ``` ##4.重启uhttpd ```shell /etc/init.d/uhttpd restart ``` Last modification:May 5, 2020 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 0 If you think my article is useful to you, please feel free to appreciate