Return-Path: Received: from fanzine.igalia.com (fanzine.igalia.com [91.117.99.155]) by mail.openembedded.org (Postfix) with ESMTP id 722417D3A6 for ; Mon, 3 Jun 2019 08:21:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=GykMrma1RMbGmLmX2PZzKNQlv1tDzf5tLe0Sj0rBzuk=; b=mXw9nBM3XTJSTbz2lpYADKEavfmLnbrri9sXp8Tcb0PJOQxX2LD+zqUQEi80EcBa5EpTRzxDDEDbnijSMxL0F+z7Ros2IVonh1p63gntPGumto8qesiqKIOI/ycMiRn1Jkeu1CexOVVZmYOSgjDq7CZub9TLGuFs0p3vZXEGnGRQpTGBvEXpwYmOG612k7NCs/kcBHACZT1zk5CrTL/4K88qqzxIH0SuqhdAYu4B2mkRoHf1piX1QDSyLZA786294TRuonO2QOLWSZxB/8JGca/klfWzS7VwDt737MGjzv8TcxWv9rPIb9ZTFRF5Eux/bsXQToibfLQ9DFoWb2lgqg==; Received: from 216.red-88-16-195.dynamicip.rima-tde.net ([88.16.195.216] helo=localhost.localdomain) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim) id 1hXiDX-0006aT-Tp; Mon, 03 Jun 2019 10:21:20 +0200 From: Philippe Normand To: openembedded-core@lists.openembedded.org Date: Mon, 3 Jun 2019 09:20:31 +0100 Message-Id: <20190603082031.22959-1-philn@igalia.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [warrior][PATCH] gnutls: Use ca-certificates as default trust store file X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2019 08:21:20 -0000 Content-Transfer-Encoding: 8bit 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 --- meta/recipes-support/gnutls/gnutls_3.6.7.bb | 1 + 1 file changed, 1 insertion(+) 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" -- 2.20.1