forked from SmartBFT-Go/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-17220] Dynamically build TLS config in Raft client handshake
When we expand the root TLS CA in the channel config, *after* Raft membership has expanded with an OSN that is issed a certificate by a new TLS CA, the TLS client handshake uses the old root CA pool and as a result the added orderer cannot be reached by the existing ones, because their dialers reject its certificate. This change set builds a dynamic transport credentials that re-computes the TLS config in every TLS client handshake. Expanded an integration test to ensure this works. Change-Id: I6578ba49f16e14b97eb4eef4feccdecbfe1b7015 Signed-off-by: yacovm <yacovm@il.ibm.com>
- Loading branch information
Showing
6 changed files
with
320 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.