commit | 6be0e4049854798b096b7bf244fa0a3d2076e5d2 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Wed Jul 08 13:21:51 2020 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Fri Jul 10 16:47:45 2020 +0000 |
tree | 947fba6344fc551ba075a0392a21d12353112969 | |
parent | faf1f433cd633c80db4444a6607422a4401424ca [diff] |
Spelling: 's/Resposne/Response/g' Tested: Top commit (along with this) was built and ran against validator. Change-Id: I294783208b5016732fde56467ed5629dd5352a3d 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 secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.