commit | 41d1d1833f476766f88cfb624e66eef7906bdf8c | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Fri Oct 18 13:57:16 2019 -0700 |
committer | Ed Tanous <ed.tanous@intel.com> | Mon Oct 21 20:46:35 2019 +0000 |
tree | 69a4356198913714d968aee2df6d391c5854346d | |
parent | 8251ffee18bc18b7cdda281b3ec137023aa79303 [diff] |
rerun cmake-format This file has gotten pretty un-formatted. Change-Id: I227bf5a7cf4fa38f28d7147fc1b210d5a22ed2a2 Signed-off-by: James Feist <james.feist@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.