commit | aede01cdec31ae90de1af81e26def4e9419b80e3 | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed.tanous@intel.com> | Wed Oct 23 13:33:17 2019 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Wed Dec 18 18:27:08 2019 +0000 |
tree | eeea800461f769c59a567386465e38573745e9a4 | |
parent | a6e2f1c4cba5f3b19d7c039f52d6598b129b5b10 [diff] |
Remove #include of self Through one of the refactors, webserver_common.hpp picked up an include to itself, presumably when code was moved. This doesn't cause any ill effects, but is cruft that can be cleaned up. Tested: Code compiles. No functional change to verify. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Ie901baa3cfd88decdbecbad01c6b577d92d2441b
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.