-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-3701] Peer and orderer CAs should be separate
Prior to this change, there was a TODO in the code to separate the trusted roots that the peer should use when communicating with peers and orderers. Currently they are the same (both internal maps include all CAs for both orderer and peer/app orgs). With this change, it's no longer the case as the code now properly handles this. - renamed test to match what's actually being tested - revamped test scenarios to only test the functionality as well as increase coverage - regenerated crypto material required - slight modification to cert generator to add SKI to intermediate root certs as it is required - made sure to cleanup filesystem resources Change-Id: I20f35dcec9c787c9052fb5d8ef119cd3dbab2d6c Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
- Loading branch information
1 parent
c346b06
commit 0c58de6
Showing
27 changed files
with
245 additions
and
207 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIB8TCCAZegAwIBAgIQDpf6otmwkc2A6rw31znJvDAKBggqhkjOPQQDAjBYMQsw | ||
MIIB8TCCAZegAwIBAgIQU59imQ+xl+FmwuiFyUgFezAKBggqhkjOPQQDAjBYMQsw | ||
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1U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