From nobody Sat Jun 6 19:31:38 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gXpMg6qqwz6gGMl for ; Sat, 06 Jun 2026 19:31:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gXpMg3Pzyz40QX for ; Sat, 06 Jun 2026 19:31:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780774303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kYRdNLc20Su96+L5HScmD+wnH0YVIvPdv81wnFCdRqM=; b=hjrA8LJ19/BS0G7KsIXQ0BBT1dqNV2C2NJ4WLSImVmyVl+ReTfso1B5tvJrWpNFoRv3sJ7 DOiJQgcR3Gb9G+C2f1i+zaclB2DFPF4L5P/wVJJY40cPEADEVcKXxuQ5VLGtAhXChY1uxO jl+wqbdKszuiB1ZEpW5D1KbmE8YKR6bYwyuc7t7ZoK/qnoWVM08uqYwKfaNoeW82sfc/Xu tHqjgsjaQsrnQygKiVdF/b7FnWoLfUI5Fz1eOM5jx4stAaoUnz/pHjRujHKYxhKPe4jr1M epptmPFqlJ/FDfjLHoGxz56RqmEhIpLjxYWHdnTVFm9ZWA1rGJiiqfZs4A+5lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780774303; a=rsa-sha256; cv=none; b=ra+xriBJhaVK6ctfLg8dkcjjGKTO6ZcG4hRaLKEbcjvqD8xdME0LWq1ERuv7/dIOK5az/K SbeKc8JmhDMOWB3TcfP1H13wuWEkYiIHYkHrXTGt/84xaGWVCerHY17u870bmwF/aQmq6U 6+6QZR5NJlLhNQtPRhWtsjDLvSHcZeoNsnNx3I03VQnp+wjMv1iyHjz4tu2JYuw5IQAoma XAL/mtb/f6v1Jn2oRnaxy91kcOaLRhI1s/OTAqNOzimPPaufil3Aa8wlrNjcXk8i78wzfT YhD2qb+8XmStEXaw4rlvfBg2SYqZf6VkeZzHl6RP5LXZLgcBAd//ZqXPldErYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780774303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kYRdNLc20Su96+L5HScmD+wnH0YVIvPdv81wnFCdRqM=; b=a1U1AhQ/LK93E6l6zFBV5TDlo1c3n1M8ZSAKm+igsWpvmoY1mb/tIqJrHlYKgEiBCjkmxX gZQZe7D9nTUyAU5twjTIqU0aPggdYoXjlMfQPxfxmaq34+ElyOYv9Os+M65w++lSdK+xPt rgMwDIoUjTZlPE0YXjgTyd3Rq82MhCSPQBE0+p1mom+XwLbikT5HYUIou1eI33/OfA8G27 fsBrErJNfbayWOrcOTKmMWjRI3QEjvJsNexvBKuSNHf7rWvJEMzYPoWYwVvkSIiky9bgHn JZKYQAX/lTJwm583DOv2CRkX4FUVNGXXKznBFUcJXwFA5kyTqklugWgsukMN1g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gXpMg31rvzCkR for ; Sat, 06 Jun 2026 19:31:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3d724 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 06 Jun 2026 19:31:38 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: e5ef12ccd01f - main - nuageinit: install certs in /usr/share/certs/trusted List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e5ef12ccd01f8ec6c519bf2a56cac2808f78c51a Auto-Submitted: auto-generated Date: Sat, 06 Jun 2026 19:31:38 +0000 Message-Id: <6a24759a.3d724.1cecb5d6@gitrepo.freebsd.org> The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=e5ef12ccd01f8ec6c519bf2a56cac2808f78c51a commit e5ef12ccd01f8ec6c519bf2a56cac2808f78c51a Author: Baptiste Daroussin AuthorDate: 2026-06-06 19:30:53 +0000 Commit: Baptiste Daroussin CommitDate: 2026-06-06 19:31:21 +0000 nuageinit: install certs in /usr/share/certs/trusted Suggested by: kevans --- libexec/nuageinit/nuageinit | 2 +- libexec/nuageinit/nuageinit.7 | 2 +- libexec/nuageinit/tests/nuageinit.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libexec/nuageinit/nuageinit b/libexec/nuageinit/nuageinit index 8e207cae0a15..9a0399ad4862 100755 --- a/libexec/nuageinit/nuageinit +++ b/libexec/nuageinit/nuageinit @@ -572,7 +572,7 @@ local function ca_certs(obj) if obj.ca_certs == nil then return end local trusted = obj.ca_certs.trusted if trusted == nil or #trusted == 0 then return end - local certdir = root .. "/etc/ssl/certs" + local certdir = root .. "/usr/share/certs/trusted" nuage.mkdir_p(certdir) for i, cert in ipairs(trusted) do local certpath = certdir .. "/nuageinit-" .. i .. ".pem" diff --git a/libexec/nuageinit/nuageinit.7 b/libexec/nuageinit/nuageinit.7 index 0bd652ae4fd5..e1c4b9d61382 100644 --- a/libexec/nuageinit/nuageinit.7 +++ b/libexec/nuageinit/nuageinit.7 @@ -276,7 +276,7 @@ The following keys are recognized: .It trusted A list of PEM-encoded CA certificates to add to the system trust store. Certificates are written to -.Pa /etc/ssl/certs/ +.Pa /usr/share/certs/trusted/ and .Xr certctl 8 rehash is executed. diff --git a/libexec/nuageinit/tests/nuageinit.sh b/libexec/nuageinit/tests/nuageinit.sh index b225289718e6..798ac235e122 100644 --- a/libexec/nuageinit/tests/nuageinit.sh +++ b/libexec/nuageinit/tests/nuageinit.sh @@ -1275,8 +1275,8 @@ ca_certs: -----END CERTIFICATE----- EOF atf_check -o empty /usr/libexec/nuageinit "${PWD}"/media/nuageinit config-2 - atf_check -o match:"dGVzdGNlcnQx" cat etc/ssl/certs/nuageinit-1.pem - atf_check -o match:"dGVzdGNlcnQy" cat etc/ssl/certs/nuageinit-2.pem + atf_check -o match:"dGVzdGNlcnQx" cat usr/share/certs/trusted/nuageinit-1.pem + atf_check -o match:"dGVzdGNlcnQy" cat usr/share/certs/trusted/nuageinit-2.pem true }