Make location of cacert.pem configurable

  • For different scenarios the possibility to add additional root certificate would be extremely helpful.

    In my case I'm using a self-signed certificate for my web server from which I would like to download a RSS-feed XML-file. I assume there are a lot of other cases where extending the cacert.pem makes sense.

    Currently only the cacert.pem under /usr/share/kodi/system/certs/ is used. As this is a read-only location no additional ca cert can be added.

    I see basically two possibilities to enable this. Either make the location of cacert.pem configurable or use cacert.pem under $HOME/.kodi/system/certs/ in case it is present.