commit | faf1f433cd633c80db4444a6607422a4401424ca | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Thu Jul 09 09:51:14 2020 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Thu Jul 09 20:56:16 2020 +0000 |
tree | 13f88a88e61691af6e3f2a6ba6af1355f6950db8 | |
parent | 3e9e72eb896f80d5d7e7b1225477af62c4a82892 [diff] |
Fix Cmake Message Logging gets enabled in debug builds Tested: Message was right Signed-off-by: James Feist <james.feist@linux.intel.com> Change-Id: I184ed9b9e09a67144b83bf84a63da346437d4214
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.