commit | ee52ae1013244b73d8312d5f7e795bb01f3c1089 | [log] [tgz] |
---|---|---|
author | Jan Sowinski <jan.sowinski@intel.com> | Thu Jan 09 16:28:32 2020 +0000 |
committer | Jan Sowinski <jan.sowinski@intel.com> | Thu Jan 09 16:28:32 2020 +0000 |
tree | 144f10f58f0794b87134be0ac862f92ece6e93d7 | |
parent | a8086647b103f55116ce4c872e1455ebf1f3e346 [diff] |
Revert "Revert "Connection and websockets fixes"" This reverts commit a8086647b103f55116ce4c872e1455ebf1f3e346. Reason for revert: Restoring commit c00500b as base for upload image issue fix Change-Id: I1dd5d3fda2d1ee6f4027193a0506d5ca764b01e4 Signed-off-by: Jan Sowinski <jan.sowinski@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.