Another alternative maybe to install ca-certificates from Entware-ng.
I think that will have certificates properly validated without using that CLI option.
I just realized I added --no-check-certificate everywhere to ublockr for debug since last friday. I still need them to run since there are numerous wget to https://gitlab.com for list retrieval and they got certificate error.
I guess the opkg install ca-certificates is only for Entware-ng site certificate?
wget https://gitlab.com/spitfire-project/ublockr/raw/master/ublockr -O /opt/bin/ublockr --no-check-certificate
wget https://gitlab.com/spitfire-project/ublockr/raw/master/ublockr.cfg -O /opt/etc/ublockr.cfg --no-check-certificate
chmod +x /opt/bin/ublockr
echo "cru a ublockr "0 0 * * * /opt/bin/ublockr" >> /jffs/scripts/services-start
/opt/home/admin # sh test
--2016-04-27 14:53:45-- https://gitlab.com/spitfire-project/ublockr/raw/master/ublockr
Resolving gitlab.com... 104.210.2.228
Connecting to gitlab.com|104.210.2.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4827 (4.7K) [text/plain]
Saving to: '/opt/bin/ublockr'
/opt/bin/ublockr 100%[========================================================================>] 4.71K --.-KB/s in 0s
2016-04-27 14:53:46 (40.7 MB/s) - '/opt/bin/ublockr' saved [4827/4827]
--2016-04-27 14:53:46-- https://gitlab.com/spitfire-project/ublockr/raw/master/ublockr.cfg
Resolving gitlab.com... 104.210.2.228
Connecting to gitlab.com|104.210.2.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 502 [text/plain]
Saving to: '/opt/etc/ublockr.cfg'
/opt/etc/ublockr.cfg 100%[========================================================================>] 502 --.-KB/s in 0s
2016-04-27 14:53:48 (7.29 MB/s) - '/opt/etc/ublockr.cfg' saved [502/502]
you can add that domain to the whitelist filter will also add it to the default list in future installations.
Cool, and do I need to put all the subdomains?run ublockr from shell once and it will remove all spotify from its hosts
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!