Willkommen bei bytebang » The blog about all and nothing » Enable https downloads with wget on OpenWRT

Enable https downloads with wget on OpenWRT

Okt 14 2017

The Problem

I wanted to install a dns based adblocker on my OpenWRT 15.05.1 firewall. As I was trying to download the https://gist.github.com/teffalump/7227752#file-adblock-sh file my firewall denied to do so:

root@firewall:~# wget https://gist.github.com/teffalump/7227752#file-adblock-sh
Connecting to gist.github.com (192.30.253.118:443)
wget: can't execute 'openssl': No such file or directory
wget: error getting response: Connection reset by peer

The Solution

The problem there is, that wget wants to decrypt the https traffic, by utilizing the openssl command - which is simply not available. So the solution is to install the followng package: openssl-util

Installing openssl-util (1.0.2g-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/x86/geode/packages/base/openssl-util_1.0.2g-1_x86.ipk.
Installing libopenssl (1.0.2g-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/x86/geode/packages/base/libopenssl_1.0.2g-1_x86.ipk.
Configuring libopenssl.
Configuring openssl-util.

After the installation the download worked fine:

root@firewall:~# wget https://gist.github.com/teffalump/7227752#file-adblock-sh
Connecting to gist.github.com (192.30.253.118:443)
7227752#file-adblock 100%
|****************************************************************************|   
461k  0:00:00 ETA

Get Social


(c) 2024, by bytebang e.U. - Impressum - Datenschutz / Nutzungsbedingungen
-