diff options
author | Philippe Normand <philn@igalia.com> | 2019-05-31 09:44:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-31 22:13:31 +0100 |
commit | 4babb468b856f495ef828ee21cefb266ed58bd28 (patch) | |
tree | b868c938989ba620aa645e34abe0e68a5894890c /meta | |
parent | 67edffa0aeb0830a8c4a88b3643c9654396dfab3 (diff) | |
download | poky-4babb468b856f495ef828ee21cefb266ed58bd28.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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/gnutls/gnutls_3.6.7.bb | 1 |
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 | ||
49 | LDFLAGS_append_libc-musl = " -largp" | 50 | LDFLAGS_append_libc-musl = " -largp" |