1m Kodi cacert.pem

Created Tuesday 07 November 2023


cacert.pem is in: https://github.com/xbmc/xbmc/blob/master/system/certs/cacert.pem


If found seems I have to extract .crt files from .pem first.
$openssl crl2pkcs7 -nocrl -certfile cacert.pem | openssl pkcs7 -print_certs -out cacert.crt
Then after that I do a:
# cp cacert.crt /etc/ca-certificates/trust-source/anchors/update-ca-trust
# cd /etc/ca-certificates/trust-source/anchors/
# update-ca-trust extract
Certificates should appear at the top of /etc/ssl/certs/ca-certificates.crt.