commit | 2c70f8004afdc27bd42968b8bf7480f2e534974c | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Mon Sep 28 14:29:23 2020 -0700 |
committer | Ed Tanous <ed@tanous.net> | Tue Sep 29 11:38:42 2020 -0700 |
tree | 569f4cb0110aae2ccd0e4d197efe4c3a36c5b7b6 | |
parent | 3e4c7797033926a0502cdd4491421c8b16684aef [diff] |
Fix naming conventions Lots of code has been checked in that doesn't match the naming conventions. Lets fix that. Tested: Code compiles. Variable/function renames only. Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I6bd107811d0b724f1fad990016113cdf035b604b
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.