commit | 5a7e877e5fd7da96022d3959fbfec84bfa3d0f7f | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Wed Jul 22 09:08:38 2020 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Tue Aug 04 17:20:28 2020 +0000 |
tree | 1dcf99b757250c3cdb686cc0f4235dab6fec98f7 | |
parent | 0f1d8ed936d3d80b4d4fad308fc03247f490dd1a [diff] |
Remove QueryString QueryString is an error-prone library that was leftover from crow. Replace it with boost::url, a header only library based and written by the one of the authors of boost beast. Tested: Verified logging paging still worked as expected Change-Id: I47c225089aa7d0f7d2299142f91806294f879381 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 secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.