Trouble with AriaNg

I simplified the installation if you want aria2/ariang in https: [solved] Aria2 : ssl/handshake failure : unable to get local issuer certificate with https links

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 (or any other) to sign the certificate and add an exception:

https://192.168.1.1:6800/jsonrpc

have a good day.

3 Likes