Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D709EF99D0 for ; Fri, 13 Feb 2026 19:39:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 5CDC6813E9; Fri, 13 Feb 2026 19:39:31 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id RfIJ4B9uyr0y; Fri, 13 Feb 2026 19:39:30 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 7FF2E813ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1771011570; bh=asRadHjHU1xK5uJEx0NXOw0fuYofcy3aSNujJV26UzA=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Cg5ikO6ahl1ufYv6u8aXIqjtMgH+fD7C36RnK8yChRZZPnDytEk/qoTfc+RIcnbQN 8ec2KE75ZT9FVpTBAo/QtDgutuSlVsh60a+pnI7/ef//lUJ3ctN4utfQ+EnmUqp4Ke ffOZrZFbN9lvorF4QQkYTPNGiheLCNql1iVvKJmkzFmhcrWiwHM7ww25MCx1ZX6mun 0d6qP2o2DBnm6AblYcTyL+VgpKl4P4Svit5oLaBOPGZug31I5RmmltPqWBad99bBLd pv3onsFaFDH9cVPO+5+JVdkIg/PZeCowfaMIv4kC39FWlurPYjgFC4Ws80B7OApeq1 7osuMlBHUB3TQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 7FF2E813ED; Fri, 13 Feb 2026 19:39:30 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 226D7283 for ; Fri, 13 Feb 2026 19:38:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8D21D412CB for ; Fri, 13 Feb 2026 19:37:11 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NCqpORpOX3_1 for ; Fri, 13 Feb 2026 19:37:10 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.167.122; helo=busybox.osuosl.org; envelope-from=buildroot-git-push@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org E9EAB413D9 Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp2.osuosl.org (Postfix) with ESMTP id E9EAB413D9 for ; Fri, 13 Feb 2026 19:37:04 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4053) id DF237825CC; Fri, 13 Feb 2026 19:37:04 +0000 (UTC) To: buildroot@buildroot.org Date: Fri, 13 Feb 2026 20:33:14 +0100 X-Git-Refname: refs/heads/2025.11.x X-Git-Oldrev: 581091f89ebcf36bf482467e82fb358c8ecc61f7 X-Git-Newrev: 66dcc3e2a96cb418350cc9af578219530b1b4140 X-Patchwork-Hint: ignore Message-Id: <20260213193704.DF237825CC@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/2025.11.x] package/libcurl: also specify the CA bundle location X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Perale via buildroot Reply-To: Thomas Perale MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://gitlab.com/buildroot.org/buildroot/-/commit/66dcc3e2a96cb418350cc9af578219530b1b4140 branch: https://gitlab.com/buildroot.org/buildroot/-/tree/2025.11.x When given a certificate directory with --with-ca-path, curl doesn't list the files in that directory. Instead, it uses the certificate hash to directly open the requested CA certificate. Therefore, putting a bundle in that directory and removing all the individual certificates is not possible. In order to support use of the bundle, a separate configuration option --with-ca-bundle is needed. With this option, it is possible to remove the individual certificates and include just the bundle, which reduces the size of the root filesystem a bit. Note that the bundle is generated by the ca-certificates package, which also installs the individual certificates and the hash symlinks. It keeps both individual certificates and the bundle in the target. Signed-off-by: Lance Fredrickson Signed-off-by: Arnout Vandecappelle (cherry picked from commit 5a63ee3c09e95bfd7afd7822a1a9254e361b940f) Signed-off-by: Thomas Perale --- package/libcurl/libcurl.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index e1e5a7facb..d9a712bcb6 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -58,7 +58,8 @@ endif ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y) LIBCURL_DEPENDENCIES += openssl LIBCURL_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr \ - --with-ca-path=/etc/ssl/certs + --with-ca-path=/etc/ssl/certs \ + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt else LIBCURL_CONF_OPTS += --without-openssl endif _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot