Page MenuHomeFreeBSD

certctl: Add an option to copy files.
ClosedPublic

Authored by des on Jul 17 2025, 2:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 22, 6:52 PM
Unknown Object (File)
May 17 2026, 12:54 AM
Unknown Object (File)
May 17 2026, 12:54 AM
Unknown Object (File)
May 17 2026, 12:47 AM
Unknown Object (File)
May 15 2026, 7:05 AM
Unknown Object (File)
May 15 2026, 5:42 AM
Unknown Object (File)
May 15 2026, 2:53 AM
Unknown Object (File)
May 14 2026, 8:46 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65515
Build 62398: arc lint + arc unit

Event Timeline

des requested review of this revision.Jul 17 2025, 2:26 PM

Looks good. What would happen if someone copies the certs and then later links them - will the copies be removed and replaced with links?

This revision is now accepted and ready to land.Jul 17 2025, 3:50 PM
In D51373#1173281, @dfr wrote:

Looks good. What would happen if someone copies the certs and then later links them - will the copies be removed and replaced with links?

Yes, certctl always starts out by emptying the hash directory.

This revision was automatically updated to reflect the committed changes.