2018-06-07 14:34:24 +08:00
|
|
|
{
|
|
|
|
"groups": {},
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org2MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org2MSP",
|
|
|
|
"role": "MEMBER"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org2MSP",
|
|
|
|
"role": "MEMBER"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"MSP": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"value": {
|
|
|
|
"config": {
|
|
|
|
"admins": [
|
2018-06-22 22:03:28 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLekNDQWRHZ0F3SUJBZ0lSQUxubTYxMDlHNnhqQUNYTXN4VTkvZW93Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpJdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekl1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGd3TmpJeU1ETXlNakk0V2hjTk1qZ3dOakU1TURNeU1qSTQKV2pCc01Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFUE1BMEdBMVVFQ3hNR1kyeHBaVzUwTVI4d0hRWURWUVFEREJaQlpHMXBia0J2CmNtY3lMbVY0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFWEV4OXFIcHkKby9hamFESStNRzc0TXVMcDVoL0c0QXh0THN5YnlNeXFTT1VCcjRpdWJZcllZUHFUQlVVS2xKdGNnSmc0Q0l1Zgp0TkRmb0V2b2ZVNHpMcU5OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEClZSMGpCQ1F3SW9BZ3I0K0g4VzlpRmhxTXAraFBuSEJCMVo4RE1OazRjeFpnT1liK2N5NmVYNG93Q2dZSUtvWkkKemowRUF3SURTQUF3UlFJaEFLZE5ZdVJUU3FPeTAxbXBsU1dJZXkzT20wd3dCL0UrdWhLK3BXSXdFdUZqQWlBVgpUcFZYYXEzQlU5TEszai9sblU1VkZKeHV3aHdhMU9MNHBZT0xMTkZtK1E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
2018-06-07 14:34:24 +08:00
|
|
|
],
|
|
|
|
"crypto_config": {
|
|
|
|
"identity_identifier_hash_function": "SHA256",
|
|
|
|
"signature_hash_family": "SHA2"
|
|
|
|
},
|
2018-06-19 16:59:23 +08:00
|
|
|
"fabric_node_ous": {
|
|
|
|
"client_ou_identifier": {
|
2018-06-22 22:03:28 +08:00
|
|
|
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRakNDQWVtZ0F3SUJBZ0lRY3J6bU5yL2hvWncvWnA2bEY1b08yVEFLQmdncWhrak9QUVFEQWpCek1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTWk1bGVHRnRjR3hsTG1OdmJURWNNQm9HQTFVRUF4TVRZMkV1CmIzSm5NaTVsZUdGdGNHeGxMbU52YlRBZUZ3MHhPREEyTWpJd016SXlNamhhRncweU9EQTJNVGt3TXpJeU1qaGEKTUhNeEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVApZVzRnUm5KaGJtTnBjMk52TVJrd0Z3WURWUVFLRXhCdmNtY3lMbVY0WVcxd2JHVXVZMjl0TVJ3d0dnWURWUVFECkV4TmpZUzV2Y21jeUxtVjRZVzF3YkdVdVkyOXRNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUKWG1ndndDL3pLczEzTDljZ0ZsOElGbHFac3NjeWo1RVRCRHFESituczB0K0JoU1lxMDduTTQ0TmxaaVczZVlETApBYzNVbmt1VUdJTUJ3YVEwUFVBc2txTmZNRjB3RGdZRFZSMFBBUUgvQkFRREFnR21NQThHQTFVZEpRUUlNQVlHCkJGVWRKUUF3RHdZRFZSMFRBUUgvQkFVd0F3RUIvekFwQmdOVkhRNEVJZ1FncjQrSDhXOWlGaHFNcCtoUG5IQkIKMVo4RE1OazRjeFpnT1liK2N5NmVYNG93Q2dZSUtvWkl6ajBFQXdJRFJ3QXdSQUlnYTdQQjUwZWR4Y1pFS1p6YwpLNk40aXBZYllwbHdzMk5nTDdRN3c2cGFzRTBDSUJiK2MyQVBOcGZtNmtwVU9MT0drV0grZXQySEdKYm56VEtkCjNldDYwbUJjCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
|
2018-06-19 16:59:23 +08:00
|
|
|
"organizational_unit_identifier": "client"
|
|
|
|
},
|
|
|
|
"enable": true,
|
|
|
|
"peer_ou_identifier": {
|
2018-06-22 22:03:28 +08:00
|
|
|
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRakNDQWVtZ0F3SUJBZ0lRY3J6bU5yL2hvWncvWnA2bEY1b08yVEFLQmdncWhrak9QUVFEQWpCek1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTWk1bGVHRnRjR3hsTG1OdmJURWNNQm9HQTFVRUF4TVRZMkV1CmIzSm5NaTVsZUdGdGNHeGxMbU52YlRBZUZ3MHhPREEyTWpJd016SXlNamhhRncweU9EQTJNVGt3TXpJeU1qaGEKTUhNeEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVApZVzRnUm5KaGJtTnBjMk52TVJrd0Z3WURWUVFLRXhCdmNtY3lMbVY0WVcxd2JHVXVZMjl0TVJ3d0dnWURWUVFECkV4TmpZUzV2Y21jeUxtVjRZVzF3YkdVdVkyOXRNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUUKWG1ndndDL3pLczEzTDljZ0ZsOElGbHFac3NjeWo1RVRCRHFESituczB0K0JoU1lxMDduTTQ0TmxaaVczZVlETApBYzNVbmt1VUdJTUJ3YVEwUFVBc2txTmZNRjB3RGdZRFZSMFBBUUgvQkFRREFnR21NQThHQTFVZEpRUUlNQVlHCkJGVWRKUUF3RHdZRFZSMFRBUUgvQkFVd0F3RUIvekFwQmdOVkhRNEVJZ1FncjQrSDhXOWlGaHFNcCtoUG5IQkIKMVo4RE1OazRjeFpnT1liK2N5NmVYNG93Q2dZSUtvWkl6ajBFQXdJRFJ3QXdSQUlnYTdQQjUwZWR4Y1pFS1p6YwpLNk40aXBZYllwbHdzMk5nTDdRN3c2cGFzRTBDSUJiK2MyQVBOcGZtNmtwVU9MT0drV0grZXQySEdKYm56VEtkCjNldDYwbUJjCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
|
2018-06-19 16:59:23 +08:00
|
|
|
"organizational_unit_identifier": "peer"
|
|
|
|
}
|
|
|
|
},
|
2018-06-07 14:34:24 +08:00
|
|
|
"name": "Org2MSP",
|
|
|
|
"root_certs": [
|
2018-06-22 22:03:28 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FUR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