commit | 72d52d2511bfcb2bdd168a561d16ce2c0dd436aa | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Mon Oct 12 07:46:27 2020 -0700 |
committer | Ed Tanous <ed@tanous.net> | Tue Oct 13 17:04:06 2020 +0000 |
tree | 19f49fb8f4253e19e6aa9203033608c2b1e10142 | |
parent | 789fdab3cfb9ae8e3338b9d855ef3dc144ed173f [diff] |
Fix integer constant from 20 to 18 A bad click merged a commit before it was ready (it was +2ed previously). So far as I'm aware, this was the only change needed. Happy to revert it if someone sees need to. Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I4bb842edd78a4d580bb4842e4a708632761fa86d
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/meson_options.txt
and then compiling. For example, meson <builddir> -Dkvm=disabled ...
followed by ninja
in build directory. The option names become C++ preprocessor symbols that control which code is compiled into the program.
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C buildir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in bmcweb/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja coverage -C builddir test
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.