commit | 7d0120bf94061b7933ce9551799654d963df81f2 | [log] [tgz] |
---|---|---|
author | Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com> | Tue Oct 15 09:12:45 2019 +0200 |
committer | Ed Tanous <ed.tanous@intel.com> | Tue Oct 22 22:51:33 2019 +0000 |
tree | b914d064dfc792260e9f1b526589e0418502a579 | |
parent | dede6a98fc6a55da456607128acee0a0b9f591aa [diff] |
Prohibit making connection based on old CA cert. This is fix for issue #107. Tested: Reproduction steps from #107 was followed. mTLS way of authentication was used. As a result connection try based on user certificate generated from already replaced CA certificate was dropped. Bmcweb didn't allow make such connection. Change-Id: I4709927b5fc108e5b26b7db1981ae77c6aa8a5bf Signed-off-by: Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>
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.