Skip to content

Commit 85d077a

Browse files
committed
Add CA trust database to the repo.
This is needed for https support (tls server certificate verification). Signed-off-by: Gerd Hoffmann <[email protected]>
1 parent 0bcf707 commit 85d077a

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

uefi-test-runner/https/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
https ca cert database in efi signature list format
2+
3+
copied over from centos stream 9 where this is available as
4+
/etc/pki/ca-trust/extracted/edk2/cacerts.bin

uefi-test-runner/https/cacerts.bin

160 KB
Binary file not shown.

xtask/src/qemu.rs

+6
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,12 @@ pub fn run_qemu(arch: UefiArch, opt: &QemuOpt) -> Result<()> {
511511
None
512512
};
513513

514+
// Pass CA certificate database to the edk2 firmware, for TLS support.
515+
cmd.args([
516+
"-fw_cfg",
517+
"name=etc/edk2/https/cacerts,file=uefi-test-runner/https/cacerts.bin",
518+
]);
519+
514520
// Set up a software TPM if requested.
515521
let _tpm = if let Some(tpm_version) = opt.tpm {
516522
let tpm = Swtpm::spawn(tpm_version)?;

0 commit comments

Comments
 (0)