-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-8350] Support different listener for admin server
The peer's admin server shares the listener with the endorser one. This doesn't make much sense because the admin service might be deployed in a setup where it should only be accessible to peer administrators and not to clients, and also - mutual TLS is used, then it also accepts TLS client certificates issued by CAs of other organizations which share a channel with the peer's organization. This change set makes it so that the admin server can have its own listener. By default - it still registers to the peer's gRPC service. However, if the listen address is specified in the core.yaml and it's port differs from the port of the peer service - it creates its own gRPC service and attaches to it instead of the peer's. Change-Id: I69c132348da17cdd6e4e4f9b31ba5c59d6a3f1cb Signed-off-by: yacovm <[email protected]>
- Loading branch information
Showing
3 changed files
with
77 additions
and
9 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