HomeFreeBSD

certctl: Add an option to copy files.

Description

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

Details

Provenance
desAuthored on Jul 17 2025, 6:10 PM
Reviewer
dfr
Differential Revision
D51373: certctl: Add an option to copy files.
Parents
rGb2e9c8e69bcf: packages: add package ucl for libopencsd-all
Branches
Unknown
Tags
Unknown