Update README

This commit is contained in:
Alexandre CATTEAU 2023-04-08 18:04:09 +02:00
parent e0f2c0950e
commit de5c50d07b

View File

@ -4,7 +4,7 @@ This repository contains a small setup to automate the delivery of our root cert
### Files ### Files
* `kto.crt` is our current only root certificate * `kto.crt` is our current only root certificate
* `advancedsettings.xml` is a Kodi user configuration file (see [Kodi Android](#kodi-android)) * `advancedsettings.xml` is a Kodi user configuration file
#### Installation #### Installation
* `install.sh` copies the certificates to the right location and then reloads the system's certificates (Linux only) * `install.sh` copies the certificates to the right location and then reloads the system's certificates (Linux only)
@ -16,7 +16,10 @@ sudo dpkg-divert --divert /usr/lib/firefox/libnssckbi.so.orig --rename --local /
sudo ln -s /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so /usr/lib/firefox/libnssckbi.so sudo ln -s /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so /usr/lib/firefox/libnssckbi.so
``` ```
### Kodi Android ### Manually import in Kodi
Since Android does not allow to import our root certificate, we have to import directly in Kodi: In systems where we cannot import our certificate (LibreELEC, Android (TV)), we need to copy `advancedsettings.xml` and
`kto.crt` (renamed to `cacert.pem`) to `$HOME_OF_KODI_USER/.kodi/userdata/`.
#### Android (TV)
1. find Kodi app user data directory (usually `/sdcard/Android/data/org.xbmc.kodi`) 1. find Kodi app user data directory (usually `/sdcard/Android/data/org.xbmc.kodi`)
2. copy `advancedsettings.xml` and `kto.crt` (renamed to `cacert.pem`) to `$KODI/files/.kodi/userdata/` 2. copy `advancedsettings.xml` and `kto.crt` (renamed to `cacert.pem`) to `$KODI/files/.kodi/userdata/`