]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Allow trusted root certificates to be specified at build time
authorMichael Brown <mcb30@ipxe.org>
Sun, 18 Mar 2012 22:55:29 +0000 (22:55 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 19 Mar 2012 00:23:29 +0000 (00:23 +0000)
commitaee3a064f22f994a930990c1bb0d339412e65d76
treed19164d6ccbfb5ad68938a25cb4d106b243fbecf
parent4d3b5473f850f9c0ba7107cff397cfca4972d679
[build] Allow trusted root certificates to be specified at build time

Allow trusted root certificates to be specified at build time using
the syntax

  make TRUST=/path/to/certificate1,/path/to/certificate2,...

The build process uses openssl to calculate the SHA-256 fingerprints
of the specified certificates, and adds them to the root certificate
store in rootcert.c.  The certificates can be in any format understood
by openssl.

The certificates may be server certificates or (more usefully) CA
certificates.

If no trusted certificates are specified, then the default "iPXE root
CA" certificate will be used.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile
src/Makefile.housekeeping