Hi all, let's start from the begin. Sorry in advance for I cannot publish links since I've a low karma score. Entire https links will be replaced with [https] only.
In a boring afternoon I was trying to centralize my music collection using Google Music. My intention was to run a daemon that will upload to the service the song I've downloaded (legally of course). gmusicapi-scripts seemed a viable solution to use in my router.
In my TomatoUsb box (Asus RT-N16) I've configured my ipkg packet manager, so I start to comply to the script requirement: Python 2.7 or later, pip and avconv (that might represent another problem).
After a successful installation of Python I proceed to get pip. Here my ordeal begin. With wget I cannot even download get-pip.py: the script that will manage the installation. Why? It seems to be a problem with https: I cannot download anything behind a SSL with wget. In some way I manage to get my hands on get-pip.py but on runtime it gives my an error:
Downloading/unpacking pip Cannot fetch index base URL [https] Could not find any downloads that satisfy the requirement pip Cleaning up... No distributions at all found for pip Storing debug log for failure in /root/.pip/pip.log
So I try to pull a workaround: install pip from a tarball. Unfortunately some python error stops me (I needed setup tools). And even cloning the pip git repository gives me an error :
Cloning into 'pip'... fatal: unable to access '[https]': error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm
Now I see the problem: I cannot access anything that is behind a SSL even not using wget!!! Why? Even if I run wget-ssl package every site certificate is not verified. What am I doing wrong? Is something I am missing that keeps me from getting an SSL certificate validation? I suspect I've to install CA root certificates, but I've no idea how. Any suggestion?