History log of /src/usr.sbin/certctl/certctl.8 (Results 1 – 25 of 54)
Revision Date Author Comments
# 5c7176bb 05-Dec-2025 Jose Luis Duran <jlduran@FreeBSD.org>

certctl.8: Prefer the new TRUSTDESTDIR variable

With the reimplementation in C of certctl, the environment variable
previously known as CERTDESTDIR was renamed to TRUSTDESTDIR for
consistency.

Alth

certctl.8: Prefer the new TRUSTDESTDIR variable

With the reimplementation in C of certctl, the environment variable
previously known as CERTDESTDIR was renamed to TRUSTDESTDIR for
consistency.

Although the previous variable is still valid, prefer the new one, as it
is described in the manual page, while the old one is not.

Reviewed by: des
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D54044

show more ...


# ec8e07e8 14-Oct-2025 Mark Johnston <markj@FreeBSD.org>

certctl.8: Update documentation of BUNDLE

- Fix a typo.
- Provide the default path.

Reviewed by: des
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D53001


# c340ef28 18-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
i

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
its contents with those of the new trust store. The trust store as a
whole is not replaced atomically, but each file within it is.

* We no longer attempt to link to the original files, but we don't copy
them either. Instead, we write each certificate out in its minimal
form.

* We now generate a trust bundle in addition to the hashed diretory.
This also contains only the minimal DER form of each certificate.
This allows e.g. Unbound to preload the bundle before chrooting.

* The C version is approximately two orders of magnitude faster than the
sh version, with rehash taking ~100 ms vs ~5-25 s depending on whether
ca_root_nss is installed.

* We now also have tests.

Reviewed by: kevans, markj
Differential Revision: https://reviews.freebsd.org/D42320
Differential Revision: https://reviews.freebsd.org/D51896

show more ...


# 31ac42b4 17-Aug-2025 Colin Percival <cperciva@FreeBSD.org>

Revert certctl reimplementation and follow-ups

The reimplementation of certctl, while much needed, broke the release
build and 72 hours later corrections are still under review (D51896).

This rever

Revert certctl reimplementation and follow-ups

The reimplementation of certctl, while much needed, broke the release
build and 72 hours later corrections are still under review (D51896).

This revert should be reverted once that is ready to land; I just need
this out of the tree temporarily because breakage is interfering with
release engineering for the upcoming 15.0-RELEASE.

Unsquashed reversions:
Revert "etc: add missing mtree entry for certctl tests"
This reverts commit f751757259158a8d3b81d4fb7576b3ebe226dece.
Revert "certctl: Fix bootstrap build"
This reverts commit c989e3cc3da1bfd8ac3ec5a05d1e86ab8ff719f7.
Revert "certctl: Reimplement in C"
This reverts commit 81d8827ad8752e35411204541f1f09df1481e417.

With hat: re@

show more ...


# 2f8bbfe5 13-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

Revert "certctl: Fix bootstrap build"

This reverts commit 42ac41983ee184e818f6e8da791a5c6c7530f87e.


# 42ac4198 13-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

certctl: Fix bootstrap build

Fixes: 81d8827ad875 ("certctl: Reimplement in C")


# 81d8827a 13-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
i

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
its contents with those of the new trust store. The trust store as a
whole is not replaced atomically, but each file within it is.

* We no longer attempt to link to the original files, but we don't copy
them either. Instead, we write each certificate out in its minimal
form.

* We now generate a trust bundle in addition to the hashed diretory.
This also contains only the minimal DER form of each certificate.

* The C version is approximately two orders of magnitude faster than the
sh version, with rehash taking ~100 ms vs ~5-25 s depending on whether
ca_root_nss is installed.

* The DISTBASE concept has been dropped; the same effect can be achieved
by adjusting DESTDIR.

* We now also have rudimentary tests.

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D42320

show more ...


# 92b9f43c 17-Jul-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

certctl: Add an option to copy files.

This is slower than linking but is the only method that works for all
cases, including running certctl from outside a jail that does not
contain the raw certifi

certctl: Add an option to copy files.

This is slower than linking but is the only method that works for all
cases, including running certctl from outside a jail that does not
contain the raw certificate data.

While here, fix a bug that occurs in unprivileged mode if DESTDIR
is unset or the root directory.

MFC after: 1 week
Reviewed by: dfr
Differential Revision: https://reviews.freebsd.org/D51373

show more ...


# def6ee77 16-Oct-2023 Brooks Davis <brooks@FreeBSD.org>

certctl.8: document LOCALBASE

Document the LOCALBASE variable and that it's set to user.localbase by
default. Update path defaults that depend on it.

Reviewed by: bcr
Differential Revision: https:

certctl.8: document LOCALBASE

Document the LOCALBASE variable and that it's set to user.localbase by
default. Update path defaults that depend on it.

Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D40529

show more ...


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


# 232cf6be 14-Jul-2022 Jessica Clarke <jrtc27@FreeBSD.org>

certctl: Introduce a new -d <distbase> option

This will be used by Makefile.inc1 to fix -DNO_ROOT distributeworld,
which needs to split out DESTDIR from DISTBASE so the METALOG file
includes the bas

certctl: Introduce a new -d <distbase> option

This will be used by Makefile.inc1 to fix -DNO_ROOT distributeworld,
which needs to split out DESTDIR from DISTBASE so the METALOG file
includes the base/ prefix.

Reviewed by: kevans
Obtained from: CheriBSD
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D35808

show more ...


# 64e6e1e4 18-Jun-2021 Ceri Davies <ceri@FreeBSD.org>

secure/caroot, certctl: Rename secure/caroot/blacklisted

Old certctl commands still work for compatability, but are deprecated.

Approved by: secteam (gordon)
Differential Revision: https://reviews.

secure/caroot, certctl: Rename secure/caroot/blacklisted

Old certctl commands still work for compatability, but are deprecated.

Approved by: secteam (gordon)
Differential Revision: https://reviews.freebsd.org/D30807

show more ...


# 0199cbf6 07-Jan-2021 Mateusz Piotrowski <0mp@FreeBSD.org>

Fix a typo

MFC after: 3 days


# b0763b5d 30-May-2020 Mark Johnston <markj@FreeBSD.org>

certctl.8: Correct the HISTORY section.

certctl was merged to stable/12 after 12.1 was branched.

PR: 246190
Reported by: Michael Osipov <michael.osipov@siemens.com>
MFC after: 3 days


# 48e9fb85 22-May-2020 Brooks Davis <brooks@FreeBSD.org>

Add an unprivileged mode where calls to install are passed appropriate
flags. For ease of integration, use the same flags as install:

-U unprivileged mode
-D <destdir> Specify DESTDIR (overrides

Add an unprivileged mode where calls to install are passed appropriate
flags. For ease of integration, use the same flags as install:

-U unprivileged mode
-D <destdir> Specify DESTDIR (overrides the environment)
-M <metalog> Full path to METALOG file

Reviewed by: kevans
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24932

show more ...


# 8b3bc70a 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352764 through r353315.


# ccdcb388 02-Oct-2019 Kyle Evans <kevans@FreeBSD.org>

[2/3] Add certctl(8)

This is a simple utility to hash all trusted on the system into
/etc/ssl/certs. It also allows the user to blacklist certificates they do
not trust.

This work was done primaril

[2/3] Add certctl(8)

This is a simple utility to hash all trusted on the system into
/etc/ssl/certs. It also allows the user to blacklist certificates they do
not trust.

This work was done primarily by allanjude@, with minor contributions by
myself.

No objection from: secteam
Differential Revision: https://reviews.freebsd.org/D16857

show more ...


# 5c7176bb 05-Dec-2025 Jose Luis Duran <jlduran@FreeBSD.org>

certctl.8: Prefer the new TRUSTDESTDIR variable

With the reimplementation in C of certctl, the environment variable
previously known as CERTDESTDIR was renamed to TRUSTDESTDIR for
consistency.

Alth

certctl.8: Prefer the new TRUSTDESTDIR variable

With the reimplementation in C of certctl, the environment variable
previously known as CERTDESTDIR was renamed to TRUSTDESTDIR for
consistency.

Although the previous variable is still valid, prefer the new one, as it
is described in the manual page, while the old one is not.

Reviewed by: des
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D54044

show more ...


# ec8e07e8 14-Oct-2025 Mark Johnston <markj@FreeBSD.org>

certctl.8: Update documentation of BUNDLE

- Fix a typo.
- Provide the default path.

Reviewed by: des
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D53001


# c340ef28 18-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
i

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
its contents with those of the new trust store. The trust store as a
whole is not replaced atomically, but each file within it is.

* We no longer attempt to link to the original files, but we don't copy
them either. Instead, we write each certificate out in its minimal
form.

* We now generate a trust bundle in addition to the hashed diretory.
This also contains only the minimal DER form of each certificate.
This allows e.g. Unbound to preload the bundle before chrooting.

* The C version is approximately two orders of magnitude faster than the
sh version, with rehash taking ~100 ms vs ~5-25 s depending on whether
ca_root_nss is installed.

* We now also have tests.

Reviewed by: kevans, markj
Differential Revision: https://reviews.freebsd.org/D42320
Differential Revision: https://reviews.freebsd.org/D51896

show more ...


# 31ac42b4 17-Aug-2025 Colin Percival <cperciva@FreeBSD.org>

Revert certctl reimplementation and follow-ups

The reimplementation of certctl, while much needed, broke the release
build and 72 hours later corrections are still under review (D51896).

This rever

Revert certctl reimplementation and follow-ups

The reimplementation of certctl, while much needed, broke the release
build and 72 hours later corrections are still under review (D51896).

This revert should be reverted once that is ready to land; I just need
this out of the tree temporarily because breakage is interfering with
release engineering for the upcoming 15.0-RELEASE.

Unsquashed reversions:
Revert "etc: add missing mtree entry for certctl tests"
This reverts commit f751757259158a8d3b81d4fb7576b3ebe226dece.
Revert "certctl: Fix bootstrap build"
This reverts commit c989e3cc3da1bfd8ac3ec5a05d1e86ab8ff719f7.
Revert "certctl: Reimplement in C"
This reverts commit 81d8827ad8752e35411204541f1f09df1481e417.

With hat: re@

show more ...


# 2f8bbfe5 13-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

Revert "certctl: Fix bootstrap build"

This reverts commit 42ac41983ee184e818f6e8da791a5c6c7530f87e.


# 42ac4198 13-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

certctl: Fix bootstrap build

Fixes: 81d8827ad875 ("certctl: Reimplement in C")


# 81d8827a 13-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
i

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
its contents with those of the new trust store. The trust store as a
whole is not replaced atomically, but each file within it is.

* We no longer attempt to link to the original files, but we don't copy
them either. Instead, we write each certificate out in its minimal
form.

* We now generate a trust bundle in addition to the hashed diretory.
This also contains only the minimal DER form of each certificate.

* The C version is approximately two orders of magnitude faster than the
sh version, with rehash taking ~100 ms vs ~5-25 s depending on whether
ca_root_nss is installed.

* The DISTBASE concept has been dropped; the same effect can be achieved
by adjusting DESTDIR.

* We now also have rudimentary tests.

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D42320

show more ...


123