Have you installed python-openssl with opkg (or python3-openssl, depending)?