All of lore.kernel.org
 help / color / mirror / Atom feed
* bmcweb: Install encrypted certificate to BMC
@ 2021-04-17  0:23 Zhenfei Tai
  2021-04-17 18:50 ` Michael Richardson
  0 siblings, 1 reply; 5+ messages in thread
From: Zhenfei Tai @ 2021-04-17  0:23 UTC (permalink / raw)
  To: OpenBMC Maillist, Ed Tanous, gmills; +Cc: Justin Chen, Richard Hanley

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

Hi,

Currently certificate installation is supported by bmcweb via
*redfish/v1/Managers/bmc/Truststore/Certificates*, where the certificate
content is part of the JSON request.

For our use case it's a more restricted environment in which we don't want
to have plaintext certificates in the request. Instead we want to send a
pair of encrypted key and certificate from the host to the BMC and there
will be another daemon to decrypt them using an internal library.

Since it's not supported by the Redfish schema, my plan is to use the
*redfish/v1/CertificateSerivce/OemActions* URI and a request payload like
below:
{
  "key": "encrypted key in binary",
  "certificate": "encrypted certificate in binary"
}

The reasons to use the URI and payload are:
1. It's related to certificate service although in opaque blobs.
2. It's fairly company specific that probably isn't universally applicable.

My questions are:
1. Is this a reasonable approach?
2. Shall we define an OEM schema for our request?

Thanks,
Zhenfei

[-- Attachment #2: Type: text/html, Size: 1379 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-23 16:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-17  0:23 bmcweb: Install encrypted certificate to BMC Zhenfei Tai
2021-04-17 18:50 ` Michael Richardson
2021-04-19  7:18   ` Ed Tanous
2021-04-23 13:26     ` Patrick Williams
2021-04-23 16:37       ` Ed Tanous

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.