opnsense-src/usr.sbin/certctl
Dag-Erling Smørgrav cef90b4386 certctl: Unstickify (un)trusted certificates
Ever since certctl was rewritten in C, the rehash command has reingested
TRUSTDESTDIR / UNTRUSTDESTDIR in addition to TRUSTPATH / UNTRUSTPATH.
This seemed like a good idea at the time but was, in retrospect, a
mistake, as it means a (un)trusted certificate remains (un)trusted
forever (or at least until it expires) even if it is removed from
(UN)TRUSTPATH.  Among other issues, it causes ports QA to fail for any
port that either installs certificates or depends on a port that does.

Although this behavior was undocumented, the change may surprise users
who have added certificates manually, so update the manual page to point
it out and add prominent warnings to the trust and untrust commands.

Approved by:	re (cperciva)
PR:		290078
MFC after:	1 week
Reviewed by:	kevans, bcr
Differential Revision:	https://reviews.freebsd.org/D56617

(cherry picked from commit 2fef18ff594328a771b6aa659e8ffa5a7e076540)
(cherry picked from commit c65e233a52c61bf24fb935d1971e38fbde10791d)
2026-05-07 13:18:58 -07:00
..
tests certctl: Unstickify (un)trusted certificates 2026-05-07 13:18:58 -07:00
certctl.8 certctl: Unstickify (un)trusted certificates 2026-05-07 13:18:58 -07:00
certctl.c certctl: Unstickify (un)trusted certificates 2026-05-07 13:18:58 -07:00
Makefile certctl: Reimplement in C 2025-08-18 16:28:29 +02:00
Makefile.depend Update Makefile.depend files 2024-10-14 10:26:17 -07:00