NetBSD Problem Report #59421

From www@netbsd.org  Wed May 14 21:42:53 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 772441A923E
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 14 May 2025 21:42:53 +0000 (UTC)
Message-Id: <20250514214252.3FE1E1A9241@mollari.NetBSD.org>
Date: Wed, 14 May 2025 21:42:52 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: certctl(8) should have a default site-local directory
X-Send-Pr-Version: www-1.0

>Number:         59421
>Category:       misc
>Synopsis:       certctl(8) should have a default site-local directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 14 21:45:00 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current, 10
>Organization:
The NetBSD Certification.local
>Environment:
>Description:
The default /etc/openssl/certs.conf, used to configure the systemwide TLS trust anchors at /etc/openssl/certs, finds certificates from only one place: /usr/share/certs/mozilla/server.

We should add some other canonical path where site-local trust anchors can be added so that certctl(8) will automatically pick them up for TLS trust anchors.
>How-To-Repeat:
try to adapt, e.g., go-mkcert (https://github.com/FiloSottile/mkcert) to NetBSD without teaching it to edit the /etc/openssl/certs.conf file
>Fix:
Candidates for this bikeshed paint:

/usr/local/share/certs/server
/etc/openssl/certs.local

Discuss!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.49 2026/05/14 01:52:41 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.