Use Https in OpenWrt Distribution feeds

routeropen-wrtlinux

OpenWrt official feeds has support https, but the latest stable releases (Chaos Calmer 15.05.1) did not contain necessary packages to use it.

If you just change http to https in /etc/opkg/distfeeds.conf, you will get a wget: can't execute 'openssl': No such file or directory error. Because the default wget in OpenWRT is provided by Busybox, which does not support SSL.

To use https feeds, following:

opkg update && opkg install wget ca-certificates

Then replace http url to https:

vi /etc/opkg/distfeeds.conf
:%s/http/https/g
© 2020 Branhill