From: Philippe Normand Date: Fri, 31 May 2019 08:44:40 +0000 (+0100) Subject: gnutls: Use ca-certificates as default trust store file X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~14323 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d147be584d2f016853edbe9751247d7daa0b5d0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/gnutls/gnutls_3.6.7.bb b/meta/recipes-support/gnutls/gnutls_3.6.7.bb index e05dc2b57d7..01dd23c9619 100644 --- a/meta/recipes-support/gnutls/gnutls_3.6.7.bb +++ b/meta/recipes-support/gnutls/gnutls_3.6.7.bb @@ -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"