commit | e46946ac9e5c72dbd63d36e420dba417243346bb | [log] [tgz] |
---|---|---|
author | Ratan Gupta <ratagupt@linux.vnet.ibm.com> | Mon May 11 13:22:59 2020 +0530 |
committer | Ratan Gupta <ratagupt@linux.vnet.ibm.com> | Wed May 13 08:06:44 2020 +0000 |
tree | 62dda090d450bb255424b3109747f490e0b9143c | |
parent | f4ef2acd1f59d318a3cf66e8de835ce574a1356e [diff] |
Change the allowed host configuration file size Change the max file size to 500KB Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com> Change-Id: I4abd33b8a8ec0fe240f55bb5f3a27d25656ee40d
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.