aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-03-18 22:55:29 +0000
committerMichael Brown <mcb30@ipxe.org>2012-03-19 00:23:29 +0000
commitaee3a064f22f994a930990c1bb0d339412e65d76 (patch)
treed19164d6ccbfb5ad68938a25cb4d106b243fbecf /src/Makefile
parent4d3b5473f850f9c0ba7107cff397cfca4972d679 (diff)
downloadipxe-aee3a064f22f994a930990c1bb0d339412e65d76.zip
ipxe-aee3a064f22f994a930990c1bb0d339412e65d76.tar.gz
ipxe-aee3a064f22f994a930990c1bb0d339412e65d76.tar.bz2
[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>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index c30dc5c..0189a46 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -32,6 +32,7 @@ RANLIB := $(CROSS_COMPILE)ranlib
OBJCOPY := $(CROSS_COMPILE)objcopy
NM := $(CROSS_COMPILE)nm
OBJDUMP := $(CROSS_COMPILE)objdump
+OPENSSL := openssl
PARSEROM := ./util/parserom.pl
FIXROM := ./util/fixrom.pl
SYMCHECK := ./util/symcheck.pl