-
Notifications
You must be signed in to change notification settings - Fork 708
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store COP enrollment artifacts in MSP friendly way
Instead of storing all enrollment artifacts in a single client.json file, store it in separate key and store files. This is inline with MSP (Membership Service Provider) APIs. The enrollment certificate is stored at `$COP_ENROLLMENT_DIR/cert.pem` by default, but a different path can be specified by setting the `COP_CERT_FILE` environment variable. The enrollment key is stored at `$COP_ENROLLMENT_DIR/key.pem` by default, but a different path can be specified by setting the `COP_KEY_FILE` environment variable. The default value of the `COP_ENROLLMENT_DIR` environment variable is `$COP_HOME`. The default value of the `COP_HOME` environment variable is `$HOME/cop`. See https://jira.hyperledger.org/browse/FAB-1353 Change-Id: I77625acefad9365a345dc107d94ddf6c86e877c1 Signed-off-by: Keith Smith <[email protected]>
- Loading branch information
Keith Smith
committed
Jan 10, 2017
1 parent
a5666ff
commit a9ff4d4
Showing
14 changed files
with
141 additions
and
145 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
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.