Add subjectAltName = to the bottom of section.I only see Organization Name within the storage, so I just change that to my liking and leave the rest as default.įor this step, create a copy of the openssl config file: They are not really important, fill them as you wish them to appear in the root certificate storage. Note: openssl will ask you some information for certificate details. Introduce the resulting ca.crt to your OS as a trusted root certificate. Openssl req -new -x509 -days 3650 -key ca.key -out ca.crt Start by creating a new directory and moving into it. Since we don't care about the rest of the world, what we can also do is to introduce our OS our own signature, and it will gladly accept any piece of paper signed with it. When you pay for an SSL certificate from GoDaddy, you're basically handing them a piece of paper for them to sign it, so that you can show it to other OSs and get recognized. Their root certificates are present on pretty much all OSs. OSs come pre-installed with well established root certificates. The list of signatures that the OS recognizes is called the root certificate storage. When the OS gets handed a piece of signed paper, it checks if the said paper is signed by someone it deems an authority. When you want to prove a 3rd party that a piece of paper is valid, you need to get it signed by an authority. If you press F12 on the index page and keep seeing net::ERR_INSECURE_RESPONSE on the console, then there's definitely something wrong with your certificates. Most probably, there's something wrong with your certificate setup. It took me a while to solve, so I'm going to share my experience and understanding of the matter. I know this issue is a bit old but it has a good Pagerank on Google and I kept landing here. I start aria2 with the following command line: /usr/bin/aria2c -enable-rpc (using systemd for curious people) # The magic happens with all the following lines # Not sure if these lines are important ProxyRequests Off # allow only users from the webui-aria2 group Require group webui-aria2 SSLCertificateKeyFile /etc/ssl/apache2/private/private.keyĪuthName "webui-aria2 " AuthUserFile th SSLCertificateFile /etc/ssl/apache2/certs/public.crt factory ( '$rpc', [ '$syscall', '$globalTimeout', '$alerts', '$utils', '$rootScope', '$location', '$authconf', function ( syscall, time, alerts, utils, rootScope, uri, authconf ) ĬustomLog /var/logs/apache/webui-aria2-access.log combinedĮrrorLog /var/logs/apache/webui-aria2-errors.log combined But I also have a NAS and want to run aria2c rpc server on there in the future, that's the reason I'm trying to make HTTPS connection to localhost.Angular. I don't know if using HTTPS in that case makes sense, because aria2c.exe it's running on my Desktop PC (localhost). Also, when using HTTPS instead of just HTTP.ĭesktop (please complete the following information): Also, the download capture feature does not work.Īfter passes the -rpc-secret= option to aria2c.exe when launching the RPC server and add the correspondent secret token to AriaNg, is expected to work normally and with security enforced. It will connect, but the same error message will be displayed. Then go to AriaNg and replaces HTTP for HTTPS, then restart it. rpc-certificate=$/.aria2//certs/ariarpc.p12.The steps to reproduce the related to HTTPS connection error are the same, just add to nf file: But displays the error message, the download capture feature does not work properly and downloads must be manually added and the red letter 'E' is displayed on the extension icon.It will connect, and even can download files….Start aria2c.exe with the parameter -rpc-secret='security-token' or add it to nf file.Reason:Unauthorized' is displayed on the extension icon, which also displays a red letter 'E' meaning "Error". After enable the option -rpc-secret and fill up the correspondent "Aria2 RPC Secret Token" field and/or enable HTTPS using the options -rpc-certificate -rpc-private-key -rpc-secure the AriaNg connects and even can download files, but the 'Download Capture' feature does not work, so it's needed to manually add the download links and the error message 'Failed to connect with Aria2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |