summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2019-06-03 09:20:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-18 11:28:58 +0100
commit09dea32f477a3e8855bd35af1c042004a823de8f (patch)
tree6e0150f3d356886317c2b8d69eb12ad497661e6f /meta/recipes-support
parent08dcc9965ba8979e46ae53334417bc198e6e9705 (diff)
downloadpoky-09dea32f477a3e8855bd35af1c042004a823de8f.tar.gz
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>
Diffstat (limited to 'meta/recipes-support')
-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 = " \
44 --enable-local-libopts \ 44 --enable-local-libopts \
45 --enable-openssl-compatibility \ 45 --enable-openssl-compatibility \
46 --with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \ 46 --with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \
47 --with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt \
47" 48"
48 49
49LDFLAGS_append_libc-musl = " -largp" 50LDFLAGS_append_libc-musl = " -largp"