mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
gnutls: Use ca-certificates as default trust store file
Since version 2.58 the glib-networking TLS database relies on GnuTLS's system trust store, so not enabling it leads to TLS errors in applications depending on glib-networking. The raised runtime warning is: process:500): GLib-Net-WARNING **: 09:14:09.321: Failed to load TLS database: Failed to load system trust store: GnuTLS was not configured with a system trust (app:490): ... TLS Error: TLS certificate has unknown CA. (From OE-Core rev: 1d147be584d2f016853edbe9751247d7daa0b5d0) (From OE-Core rev: 712c78984c891e6357e1b1dc414431fb6c226c49) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
08dcc9965b
commit
09dea32f47
@@ -44,6 +44,7 @@ EXTRA_OECONF = " \
|
||||
--enable-local-libopts \
|
||||
--enable-openssl-compatibility \
|
||||
--with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \
|
||||
--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt \
|
||||
"
|
||||
|
||||
LDFLAGS_append_libc-musl = " -largp"
|
||||
|
||||
Reference in New Issue
Block a user