Open
feat: 支持CertificateChainInformation资源定制属性 #1741
-R00kie-Add on 4 days ago
feat: 支持CertificateChainInformation资源定制属性 #1741
Open
-R00kie-Add on 4 days ago
-R00kie-
-R00kie-Collaborators
4 days ago

当前PR是否有AI参与:

[x] 否

[ ] 是
__1. AI Agent 平台:
__2. AI 模型:
__3. Prompt上下文 :

PR功能描述 / 为什么需要这个合入:

需要支持 CertificateChainInformation 资源定制属性,包括 RootCert 根证书、IntermediateCert 中间证书以及 ServerCert 服务器证书。

修改方案:

支持调用 redfish 接口 /redfish/v1/AccountService/LdapService/LdapControllers/member_id 时,正确显示 CertificateChainInformation 信息,完整包括RootCert 根证书、IntermediateCert 中间证书以及 ServerCert 服务器证书。
具体修改接口 /redfish/v1/AccountService/LdapService/LdapControllers/member_id 中业务流程,在调用/bmc/kepler/CertificateService的GetCertChainInfo函数时,传入参数是(1,1),查询SSL证书而不是CA证书,即可返回完整的证书链。

验证方案:

调用redfish接口 /redfish/v1/AccountService/LdapService/LdapControllers/member_id 查询 CertificateChainInformation 证书链信息,查看证书链信息是否正确且完整

测试建议:

先导入证书,再调用redfish接口 /redfish/v1/AccountService/LdapService/LdapControllers/member_id 查询 CertificateChainInformation 证书链信息,查看证书链信息是否正确且完整

自验证报告:

https://libing.huawei.com/visionit/#/idpView?vid=2098758915&mode=edit&Id=1c509063-437e-493b-8189-5df917b7808c&type=docUrl&irightSwitch=false

该PR关联的issue

(格式为fixes #<issue号>, 或者resolves #<issue号>): fixes #1195

希望检视人员了解:

likedislike
Merge blocked
-R00kie--R00kie-Collaborators
4 days ago Created pull request, commit 351412d1
openUBMC-robotopenUBMC-robotCollaborators
4 days ago Set WeliveWelove,DataSculptor,huanghan,aaronlee as approver
openUBMC-robotopenUBMC-robotCollaborators
4 days ago Added label: sig/sig-interface
openUBMC-robot
openUBMC-robotCollaborators
4 days ago Comments:

欢迎来到 openUBMC 社区

Hey @weixin_43370654 , 感谢你对社区的贡献.

机器人使用手册

有关指令的使用,可以点击 说明文档 或 论坛 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。您可以自助配置此仓库的 PR 合并规则,更多详情,请参阅机器人自助配置使用手册。

联系指引

有疑问可以联系 SIG: sig-interface ,
维护者是: @DataSculptor, @WeliveWelove, @aaronlee, @huanghan ,
优秀贡献者是: @L_Ling, @PLUS_ONE, @yelvsub .

likedislike
openUBMC-robotopenUBMC-robotCollaborators
4 days ago Added label: openUBMC-cla/yes
74 messages are collapsed here。 See more
openubmc-ci-botopenubmc-ci-botCollaborators
4 days ago Added label: limit_1k_suc
openubmc-ci-botopenubmc-ci-botCollaborators
4 days ago Removed label: ci-running
openubmc-ci-bot
openubmc-ci-botCollaborators
4 days ago Comments:
任务名称结果
pre-commit检查❌ FAILED
PR描述检查✅ SUCCESS
防投毒检查✅ SUCCESS
开源合规检查✅ SUCCESS
编译构建✅ SUCCESS
ipmi修改✅ SUCCESS
修改行数检查✅ SUCCESS
AI Review✅ SUCCESS
likedislike
openubmc-ci-botopenubmc-ci-botCollaborators
4 days ago Added label: ci-failed
openubmc-ci-bot
openubmc-ci-botCollaborators
4 days ago Comments:

CI已执行结束,查看流水线详情:流水线链接

likedislike