commit | 818ea7b8f06292eaaa82ba67ef21933f50d71192 | [log] [tgz] |
---|---|---|
author | Joshi-Mansi <mansi.joshi@linux.intel.com> | Wed Mar 11 14:34:53 2020 +0530 |
committer | mansi.joshi <mansi.joshi@linux.intel.com> | Sat Mar 14 08:56:05 2020 +0000 |
tree | 7c8ca14a35efc0a802b63ae5e3596826f15d9d27 | |
parent | 831d6b093dfba0dc39257a1741ff5f4788a3ee0e [diff] |
[Redfish-Net Protocol] Making HTTP OCP Compliant Making HTTP protocolEnabled as false in Manager Network Protocol Schema to make it OCP compliant and security-wise compliant as it is not recommended to use from security perspective. Tested: 1. Tested using GET: - https://bmc-ip/redfish/v1/Managers/bmc/NetworkProtocol "HTTP": { "Port": 0, "ProtocolEnabled": false } 2. Ran the Redfish validator and no new issues found. Signed-off-by: Joshi-Mansi <mansi.joshi@linux.intel.com> Change-Id: I5af368f4c87665ab827d99336aebf64bc351c4d1
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.