commit | 85cc8de632cbd75fd52d060574241664a08faa9a | [log] [tgz] |
---|---|---|
author | Jason M. Bills <jason.m.bills@linux.intel.com> | Wed Dec 11 14:30:40 2019 -0800 |
committer | Jason Bills <jason.m.bills@linux.intel.com> | Tue Dec 17 19:00:58 2019 +0000 |
tree | d3689cf5a74ff9f85e514260428c0feb91f0328d | |
parent | 5eb2bef287eff01515671f07148393ceb9c5cad6 [diff] |
Fix $metadata/index.xml parse error Tested: Can successfully load /redfish/v1/$metadata in Chrome. Change-Id: Id591ae3c03ffe3889d7f61299454407a9e9f1c23 Signed-off-by: Jason M. Bills <jason.m.bills@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.