HomeFreeBSD

certctl: Fix recent regressions.

Description

certctl: Fix recent regressions.

  • If an untrusted certificate is also found in the list of trusted certificate, issue a warning and skip it, but don't fail.
  • Split on -+BEGIN CERTIFICATE-+ instead of "Certificate:" since that's what we're really looking for.

Also fix a long-standing bug: .crl files are not certificates, so we
should not include them when searching for certificates.

Reported by: madpilot, netchild, tijl
Reviewed by: netchild, allanjude
Differential Revision: https://reviews.freebsd.org/D42276

Details

Provenance
desAuthored on Oct 20 2023, 10:29 AM
Reviewer
netchild
Differential Revision
D42276: certctl: Fix recent regressions.
Parents
rG49fa9a64372b: Hyper-V: vmbus: check if signaling host is needed in vmbus_rxbr_read
Branches
Unknown
Tags
Unknown