summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2019-05-31 09:44:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-31 22:12:38 +0100
commit1d147be584d2f016853edbe9751247d7daa0b5d0 (patch)
treeb871d51791b465fa192204647d33ac05641af074 /meta/recipes-support/gnutls
parentbe18dabdb28703c889f97faadbaec07e76d5e8bd (diff)
downloadopenembedded-core-1d147be584d2f016853edbe9751247d7daa0b5d0.tar.gz
openembedded-core-1d147be584d2f016853edbe9751247d7daa0b5d0.tar.bz2
openembedded-core-1d147be584d2f016853edbe9751247d7daa0b5d0.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnutls')
-rw-r--r--meta/recipes-support/gnutls/gnutls_3.6.7.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls_3.6.7.bb b/meta/recipes-support/gnutls/gnutls_3.6.7.bb
index e05dc2b57d..01dd23c961 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"