| commit | 40d68ef6ebe088e4cd0078f8ff4910ca58f2be5d | [log] [tgz] | 
|---|---|---|
| author | Gunnar Mills <gmills@us.ibm.com> | Thu Nov 21 13:13:46 2019 -0600 | 
| committer | Gunnar Mills <gmills@us.ibm.com> | Mon Dec 09 18:49:46 2019 +0000 | 
| tree | 4e974ed13ba6dfc8c85945747d5ca92da63f81fe | |
| parent | 5e931ae994307babe6c3520cbaca6a7139acc81d [diff] | 
DEVELOPING: Engage Redfish before adding OEM Added a Redfish section about engaging the DMTF's Redfish working group before adding a Redfish OEM schema or property. See https://lists.ozlabs.org/pipermail/openbmc/2019-November/019571.html Tested: https://jbt.github.io/markdown-editor/ and grammarly.com Change-Id: I946483a90e34f63930a2cba047d14226d2da7583 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
This component attempts to be a "do everything" embedded webserver for openbmc.
At this time, the webserver implements a few interfaces:
BMCWeb is configured by setting -D flags that correspond to options in bmcweb/CMakeLists.txt and then compiling.  For example, cmake -DBMCWEB_ENABLE_KVM=NO ... followed by make.  The option names become C++ preprocessor symbols that control which code is compiled into the program.
When BMCWeb starts running, it reads persistent configuration data (such as UUID and session data) from a local file. If this is not usable, it generates a new configuration.
When BMCWeb SSL support is enabled and a usable certificate is not found, it will generate a self-sign a certificate before launching the server.  The keys are generated by the prime256v1 algorithm.  The certificate
C=US, O=OpenBMC, CN=testhost,SHA-256 algorithm.