Skip to content

WIP:Switch between peer BMC mTLS and https SSL context#1385

Draft
priyair wants to merge 2 commits intoibm-openbmc:1120from
priyair:PFEBMC-5016-priyair-switch_context
Draft

WIP:Switch between peer BMC mTLS and https SSL context#1385
priyair wants to merge 2 commits intoibm-openbmc:1120from
priyair:PFEBMC-5016-priyair-switch_context

Conversation

@priyair
Copy link
Copy Markdown
Collaborator

@priyair priyair commented Dec 1, 2025

WIP:Switch between peer BMC mTLS and https SSL context

This commit switches between mTLS and https ssl context, based upon the client cert provided. When client certificate is provided the bmcweb switched to mTLS context, else use https SSL context. Also supports the password fallback mechanism when tlsStrict and TLS is enabled.

Tested By

Provided client cert and bmcweb switched to mTLs context

Provided password or session token the bmcweb switched to https SSL context

@priyair priyair marked this pull request as draft December 1, 2025 01:09
@priyair priyair changed the title Switch between peer BMC mTLS and https SSL context WIP:Switch between peer BMC mTLS and https SSL context Dec 1, 2025
@gtmills
Copy link
Copy Markdown
Contributor

gtmills commented Dec 5, 2025

Why do we need this? What does this do? Can we go upstream with this ?

@raviteja-b
Copy link
Copy Markdown
Contributor

Why do we need this? What does this do? Can we go upstream with this ?

When customer uploads new CA signed https certificate, our mtls certs should not impact https traffic with CA signed certificate, so we are trying ssl context switching.
we are still working on this patch, will propose it upstream once its ready

Revert "Switch between peer BMC mTLS and https SSL context"

This reverts commit 3d48529.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants