| commit | 8ae37025d83533889be862d73d8ec701a818275a | [log] [tgz] | 
|---|---|---|
| author | Chen,Yugang <yugang.chen@linux.intel.com> | Mon Nov 04 14:34:12 2019 +0800 | 
| committer | Chen, Yugang <yugang.chen@linux.intel.com> | Thu Nov 07 23:03:19 2019 +0000 | 
| tree | fa24dfbcdbffa284312dc80030b931571b3d6edf | |
| parent | ec4974dd6a419b7f5556d4dcf4b8b836b5efbbd9 [diff] | 
Register redfish log Need to Log security event for enabling uart-port-debug, P2A-bridge and BMC 2nd boot flash to redfish. tested: By settng the SCU registers for uart-port-debug disable bit, P2A-bridge enable bit and BMC 2nd boot flash enable bit, trigger security events, can see their redfish log. Change-Id: I75a7ed679c6b20d454a831e52d96dea30eea22bd Signed-off-by: Chen,Yugang <yugang.chen@linux.intel.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.