Aria2: Unable to get local issuer certificate

Created on 19 Apr 2017  路  4Comments  路  Source: aria2/aria2

I use aria2 on my Router with Software(PandoraBox) and i have met the problem <[SocketCore.cc:1015] errorCode=1 SSL/TLS handshake failure: unable to get local issuer certificate>But My system donot have the file CA. I searched Issues that tells me i should add this<--check-certificate=false> into the system. But i donot know in which file i should write down the code.
Any one could help me?

question

Most helpful comment

You can try to install packages with names of ca-bundle/ca-certificates. These two are for lede. I think a solution for OpenWRT is similar.

All 4 comments

I don't recommend to use --check-certificate=false because it breaks TLS server authentication, and you are subject to MITM attack.
I don't know how to install CA certificates to your system. Ubuntu has /etc/ssl/certs/ca-certificates.crt which aria2c can read. You can install Ubuntu somewhere, and pull that file, and put it on your system.
And use --ca-certificate option to point to it.

My router is based on Openwrt and donot have the etc/ssl/certs/ this kind of folder. So i donot know how to solve it now...

You can try to install packages with names of ca-bundle/ca-certificates. These two are for lede. I think a solution for OpenWRT is similar.

@imgk
after run command opkg install ca-certificates, aria2 works for https, thanks

Was this page helpful?
0 / 5 - 0 ratings