[solved] Aria2 : ssl/handshake failure : unable to get local issuer certificate with https links

It's moving forward this morning, install :

opkg install ca-certificates

cd /etc/ssl/

And run :

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt

Add in luci-app-aria2 options :

rpc-certificate=/etc/ssl/server.crt
rpc-private-key=/etc/ssl/server.key
rpc-secure=true
ca-certificate=/etc/ssl/certs/ca-certificates.crt

I went to this link with firefox to sign the certificate and add an exception:

https://192.168.1.1:6800/jsonrpc

And the miracle, AriaNg connects it in https :slight_smile:

I was on the wrong track :wink:

Thanks guys for helping out.

Ps : I change the title so as not to mislead future readers.

Ps1 : Edition 13 July 2019, simplified handling.

4 Likes