In my /etc/config I had a adblock.apk I was too lazy to diff so I thought I just move away /etc/config/adblock , remove adblock and luci-adblock package (and after that install them again so I had a clean adblock config). I either just happened to notice or I messed something up because after that I keep getting SSL errors:
root@router:~# apk update
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/targets/ath79/generic/packages/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/base/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/targets/ath79/generic/kmods/6.12.87-1-bcaa08c25321cf83e5aa78ef3f965153/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/luci/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/packages/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/routing/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/telephony/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/video/packages.adb: unexpected end of file
8 unavailable, 0 stale; 214 distinct packages available
Searching the forum for other users solutions I was not able to solve it.
I tried an unattended sysupgrade with keeping config which went through but issue still persist. Ideally I'd like to solve it without a clean flash, but that would be the last resort.
I am not seeing any issues with using devices in my network, only apk-command on router giving those SSL-errors.
I can't search either:
root@router:~# apk search ssl
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/targets/ath79/generic/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/base/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/targets/ath79/generic/kmods/6.12.87-1-bcaa08c25321cf83e5aa78ef3f965153/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/luci/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/routing/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/telephony/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/video/packages.adb: No such file or directory
root@router:~#
don't have access to any device atm, so I'm shooting from the hip; edit /etc/apk/repositories.d/distfeeds.list, try replacing HTTPS in the package repo URLs with HTTP.
root@router:~# apk update; apk search ssl
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/targets/ath79/generic/packages/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/base/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/targets/ath79/generic/kmods/6.12.87-1-bcaa08c25321cf83e5aa78ef3f965153/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/luci/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/packages/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/routing/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/telephony/packages.adb: unexpected end of file
wgetSSL verify error: certificate is self-signed or not signed by a trusted CA
ERROR: wget: exited with error 5
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/video/packages.adb: unexpected end of file
8 unavailable, 0 stale; 214 distinct packages available
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/targets/ath79/generic/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/base/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/targets/ath79/generic/kmods/6.12.87-1-bcaa08c25321cf83e5aa78ef3f965153/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/luci/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/packages/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/routing/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/telephony/packages.adb: No such file or directory
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12.4/packages/mips_24kc/video/packages.adb: No such file or directory
Thanks, I could see this being potential, but it feels a little scary running without encryption. I will consider it but right now I don't want to try that, I'd rather reflash and start from scratch.
I still don't know why it happened. My theory is when I tried removeing adblock earlier it either pulled ca-bundle as a dependency or I added some other package by mistake that also included the ca-bundle? I've done a few unattanded sysupgrades in a row, but I don't think that would relate to this.
Either way, thank you everybody for so fast replies. Very appreciated!