Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mTLS #19

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

mTLS #19

wants to merge 4 commits into from

Conversation

slbmax
Copy link
Collaborator

@slbmax slbmax commented Mar 21, 2025

Added secure mTLS connection between parties.

Both server and client are configured with local party certificate (.crt and .key) to be identifiable by the peer and decrypt messages.

Server is configured to accept only provided certificates, additionally mapping their public keys to parties Bridge Core addresses.

Client is configured with a destination party certificate to ensure that we will establish a connection with the desired peer.

@slbmax slbmax requested a review from olegfomenko March 21, 2025 12:02
return nil, status.Error(codes.Unauthenticated, "no client certificate found")
}

clientCert := tlsInfo.State.PeerCertificates[0]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment to understand why it should be only one in array

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.

2 participants