kuksa-val: Add root CA certificate to agl-driver nssdb 97/28597/2
authorRoger Zanoni <rzanoni@igalia.com>
Mon, 13 Feb 2023 20:29:09 +0000 (21:29 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 23 Mar 2023 19:15:36 +0000 (19:15 +0000)
commitf70316dabe33296a615c6c592f3a3cafa71df2b2
treea48c4ce522bac78a3abe8dd4b8bfd2c39cd63cf7
parenta73ea6f7e513e73586b49741699664140b47c9e2
kuksa-val: Add root CA certificate to agl-driver nssdb

This change is needed by chromium to fix the ERR_CERT_AUTHORITY_INVALID
issued when trying to connect to kuksa.val server using a secure
connection.

chromium is shipped with a read-only database containing trusted
CA certs and also uses a local nss database (stored on the user home
directory) that can be managed by the nss command line tools.

This change adds the kuksa root CA to agl-driver's nssdb
that can be loaded by chromium and used to perform validation.

v2 (jsmoeller): Use separate package for pki db in agl-driver home.

Bug-AGL: SPEC-4599
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I074d48fedfadaddd9a894b478839e16fa4757b5e
(cherry picked from commit 99356a43e5ee3ae662af83e4ae6e0e11ef1aa39e)
recipes-connectivity/kuksa-val/kuksa-val_git.bb