commit | 30c58d581606b4484757e6ee9133c248de1514a6 | [log] [tgz] |
---|---|---|
author | Adam Stankiewicz <sheerun@sher.pl> | Wed Jul 22 15:34:40 2020 +0200 |
committer | Adam Stankiewicz <sheerun@sher.pl> | Sat Aug 01 08:26:52 2020 +0000 |
tree | 718076fe0c98200fe386dc5186a4aecd787c2f67 | |
parent | 5a806649ec187926be5829f42f8f18606a3d4e75 [diff] |
Add ability to build via docker Change-Id: I241d260209090dc4a01a96449657b270649d6643 Signed-off-by: Adam Stankiewicz <sheerun@sher.pl>
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.