aboutsummaryrefslogtreecommitdiff
path: root/src/usr/certmgmt.c
AgeCommit message (Collapse)AuthorFilesLines
2020-12-08[x509] Record root of trust used when validating a certificateMichael Brown1-1/+1
Record the root of trust used at the point that a certificate is validated, redefine validation as checking a certificate against a specific root of trust, and pass an explicit root of trust when creating a TLS connection. This allows a custom TLS connection to be used with a custom root of trust, without causing any validated certificates to be treated as valid for normal purposes. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2016-08-31[crypto] Add certstat() to display basic certificate informationMichael Brown1-0/+63
Signed-off-by: Michael Brown <mcb30@ipxe.org>