|
Post by okashany on Oct 18, 2023 12:06:03 GMT
Hi,
Is there a Redfish API for adding multiple CA certificates to the certificate collection under TrustStore using a bundle file?
Thanks
|
|
|
Post by mraineri on Oct 19, 2023 0:48:53 GMT
Are these CA certificates all in a chain, or are they just loosely assembled? If the former, you can use the PEMchain certificate type to encode everything as a single POST to the certificate collection; if the latter, you can use the PKCS7 certificate type to also encode everything as a single POST to the certificate collection. When the manager receives the request, it can unpack the bundle and show each certificate as individual certificate resources. The Redfish Data Model Specification has details about the format of the CertificateString property when sending these types of packages: www.dmtf.org/sites/default/files/standards/documents/DSP0268_2023.2.pdf (section 6.17.5.2 specifically).
|
|