All of lore.kernel.org
 help / color / mirror / Atom feed
* BMCWeb policy for HTTPS site identity certificate
@ 2020-07-23 15:25 Joseph Reynolds
  2020-07-26 20:35 ` Michael Richardson
  2020-07-27 17:32 ` Patrick Williams
  0 siblings, 2 replies; 9+ messages in thread
From: Joseph Reynolds @ 2020-07-23 15:25 UTC (permalink / raw)
  To: openbmc

This is a followup to the OpenBMC security working group meeting 
discussion on 2020-07-22 
(https://docs.google.com/document/d/1b7x9BaxsfcukQDqbvZsU2ehMq4xoJRQvLxxsDUWmAOI).

Background:
Per [BMCWeb configuration 
policy](https://github.com/openbmc/bmcweb#configuration), BMCWeb 
generates a new HTTPS site identity certificate if a usable one cannot 
be found.  You can upload one via APIs described here: 
https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Certs/README.md#redfish-certificate-support

Problem:
BMCWeb apparently treats certificates that are either expired or not 
valid until a future date as unusable (investigation needed).  And 
BMCWeb deletes unusable certificates.  This can confuse the 
administrator, especially considering the BMC's time-of-day clock may 
not be set as expected.

Proposal:
What certificate management policy should BMCWeb use?  Here is an 
initial proposal:
1. certificate is perfectly good - Use the certificate.
2. certificate is good but expired or not yet valid - Use the 
certificate and log a warning.
3. certificate is missing or bad format or algorithm too old - Use 
another certificate or self-generate a certificate (and log that action).
In no case should BMCWeb should delete any certificate.

Discussion?

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

end of thread, other threads:[~2020-07-29  2:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 15:25 BMCWeb policy for HTTPS site identity certificate Joseph Reynolds
2020-07-26 20:35 ` Michael Richardson
2020-07-27 15:15   ` Bruce Mitchell
2020-07-27 15:36   ` Ed Tanous
2020-07-28 17:03     ` Michael Richardson
2020-07-29  2:31       ` Ed Tanous
2020-07-27 17:32 ` Patrick Williams
2020-07-28 17:04   ` Michael Richardson
2020-07-29  2:28     ` 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.