commit | f7929c31c792f96afd1d4e7469f5bf599a553487 | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed.tanous@intel.com> | Wed Oct 23 11:46:55 2019 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Fri Mar 06 17:14:06 2020 +0000 |
tree | 46e0d8ddb5dfee4f0158a08e6b774c4c9ac8a8be | |
parent | f365910caf848c4cbc77f2177e66d1f2498c457d [diff] |
Implement a TODO(ed) Aparently the static analysers have gotten smarter, as has my understanding of operator[] on std::array. Fix the character array to not use c style arrays. Tested: Should have no impact. Will test using webui to verify that sessions are still generated properly. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Iaa6cbac7594dfb0c83383ff62fc591dd1d786547
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.