]> git.proxmox.com Git - swtpm.git/commit
swtpm_localca: Created certificates for CAs and TPM that do not expire
authorStefan Berger <stefanb@linux.ibm.com>
Fri, 8 Oct 2021 15:19:33 +0000 (11:19 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 8 Oct 2021 18:07:02 +0000 (14:07 -0400)
commite68cebaf5f200df2223c9e086e4cdaf5abc7612d
tree69d38f2bf09898d913fef6ed3cb99e051d6fa76c
parent9f5342fc688a1159056d47f5ac312177538cd1b3
swtpm_localca: Created certificates for CAs and TPM that do not expire

Rather than having the CA certificates, that are created on the fly,
expire in 10 years, have them not expire at all.

Also create TPM certificates that don't expire and extend a test
case for this.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
src/swtpm_localca/swtpm_localca.c
tests/test_swtpm_setup_create_cert