Hyperledger Composer : Error: failed to request identity. Unsupported certificate purpose - hyperledger-fabric

I am following a hyperledger composer tutorial (url :https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org) for deploying a Hyperledger Composer blockchain business network to Hyperledger Fabric (multiple organizations).
I am not able to execute step 15. while executing command :
composer identity request -c PeerAdmin#byfn-network-org1 -u admin -s adminpw -d alice
I am getting the following error:
Error: failed to request identity. Error trying to enroll user and return certificates. Error: Calling enrollment endpoint failed with error [Error: unsupported certificate purpose]
Note : CA server is running.
Can anyone suggest a workaround to make the above command execute please?
Please find the edited question.
I have added below the connection.json file for the details.
{
"name": "byfn-network",
"x-type": "hlfv1",
"version": "1.0.0",
"channels": {
"mychannel": {
"orderers": [
"orderer.example.com"
],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer0.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com",
"peer1.org1.example.com"
],
"certificateAuthorities": [
"ca.org1.example.com"
]
},
"Org2": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com",
"peer1.org2.example.com"
],
"certificateAuthorities": [
"ca.org2.example.com"
]
}
},
"orderers": {
"orderer.example.com": {
"url": "grpcs://localhost:7050",
"grpcOptions": {
"ssl-target-name-override": "orderer.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICNjCCAdygAwIBAgIRAJJu67ezVNCJ4gM4zInHf/wwCgYIKoZIzj0EAwIwbDEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5l\neGFtcGxlLmNvbTAeFw0xODA1MTgwNTUwMThaFw0yODA1MTUwNTUwMThaMGwxCzAJ\nBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJh\nbmNpc2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEaMBgGA1UEAxMRdGxzY2EuZXhh\nbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAS1UB9Mbi0TXhCatds9\nn0jIB27R+2zOLlNpxCqNeZdRiMrIYyrX6EV5leFxwf4/MbHhAtK3Ji/rOQP9m57N\nb9IMo18wXTAOBgNVHQ8BAf8EBAMCAaYwDwYDVR0lBAgwBgYEVR0lADAPBgNVHRMB\nAf8EBTADAQH/MCkGA1UdDgQiBCDvbLbBi42xUsDE6QBAcgT1apjg23G3esLYg2h3\nJv3aUTAKBggqhkjOPQQDAgNIADBFAiEA4Gt4Z5i2vgoWgYX0gfOVnk2xhXzoHSga\nvlX0dbuurPgCIEhBWR/Bm2JMA9Hux9DVX3dqU56UM0dXaxzl2m6jMW7n\n-----END CERTIFICATE-----\n"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://localhost:7051",
"eventUrl": "grpcs://localhost:7053",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICSTCCAfCgAwIBAgIRALIlDShhaFDpMZPEO77RDiwwCgYIKoZIzj0EAwIwdjEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs\nc2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTgwNTE4MDU1MDE4WhcNMjgwNTE1MDU1\nMDE4WjB2MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE\nBxMNU2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0G\nA1UEAxMWdGxzY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49\nAwEHA0IABClWp8EhhP+vNjaGjTTd3WFTXvwQ8TzHdZaQz9+G77YBPknILmG6ojO2\nC9vI7QQGHJjEJKzaqyCXBVTwnHYnK6yjXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNV\nHSUECDAGBgRVHSUAMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEINj7sKXMJ1H+\nanNgqm13/1cZeQPqVmp2lM/YGslKcSxOMAoGCCqGSM49BAMCA0cAMEQCIG/W7ht1\nBnccqNWPRvMSzym2ALP56frZuCt1VXnLlGU8AiBOEd0sJ0KlGOeOgYKo3SckNASq\nI6IEmvqwSphYNtEjpw==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org1.example.com": {
"url": "grpcs://localhost:8051",
"eventUrl": "grpcs://localhost:8053",
"grpcOptions": {
"ssl-target-name-override": "peer1.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICSTCCAfCgAwIBAgIRALIlDShhaFDpMZPEO77RDiwwCgYIKoZIzj0EAwIwdjEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs\nc2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMTgwNTE4MDU1MDE4WhcNMjgwNTE1MDU1\nMDE4WjB2MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE\nBxMNU2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0G\nA1UEAxMWdGxzY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49\nAwEHA0IABClWp8EhhP+vNjaGjTTd3WFTXvwQ8TzHdZaQz9+G77YBPknILmG6ojO2\nC9vI7QQGHJjEJKzaqyCXBVTwnHYnK6yjXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNV\nHSUECDAGBgRVHSUAMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEINj7sKXMJ1H+\nanNgqm13/1cZeQPqVmp2lM/YGslKcSxOMAoGCCqGSM49BAMCA0cAMEQCIG/W7ht1\nBnccqNWPRvMSzym2ALP56frZuCt1VXnLlGU8AiBOEd0sJ0KlGOeOgYKo3SckNASq\nI6IEmvqwSphYNtEjpw==\n-----END CERTIFICATE-----\n"
}
},
"peer0.org2.example.com": {
"url": "grpcs://localhost:9051",
"eventUrl": "grpcs://localhost:9053",
"grpcOptions": {
"ssl-target-name-override": "peer0.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICSTCCAe+gAwIBAgIQIPrCKDtyMOXV7yYWEF/FETAKBggqhkjOPQQDAjB2MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz\nY2Eub3JnMi5leGFtcGxlLmNvbTAeFw0xODA1MTgwNTUwMThaFw0yODA1MTUwNTUw\nMThaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH\nEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD\nVQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D\nAQcDQgAEOiTR1rnVMPeONz/1R6ZE+oomhRv7XS8EDqQGGOGOHGw4yaPQIZDwNi0+\nTGwUW2A50KfIq+7N0yw81GjM9eCL5aNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1Ud\nJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQgL1Mh2vjSEzwk\nXUngtDYFlZXtRhiijOjXqHLQXsQfu0cwCgYIKoZIzj0EAwIDSAAwRQIhAPWEqaqZ\nmFXmqmoa9w7iYtC9T5ZkYU6dlq/8PDHEcIuZAiBn25xxePB8eqoRQqvzmimd+HYq\nfdnGXkP2ijWzn3YUYg==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org2.example.com": {
"url": "grpcs://localhost:10051",
"eventUrl": "grpcs://localhost:10053",
"grpcOptions": {
"ssl-target-name-override": "peer1.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICSTCCAe+gAwIBAgIQIPrCKDtyMOXV7yYWEF/FETAKBggqhkjOPQQDAjB2MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz\nY2Eub3JnMi5leGFtcGxlLmNvbTAeFw0xODA1MTgwNTUwMThaFw0yODA1MTUwNTUw\nMThaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH\nEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD\nVQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D\nAQcDQgAEOiTR1rnVMPeONz/1R6ZE+oomhRv7XS8EDqQGGOGOHGw4yaPQIZDwNi0+\nTGwUW2A50KfIq+7N0yw81GjM9eCL5aNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1Ud\nJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQgL1Mh2vjSEzwk\nXUngtDYFlZXtRhiijOjXqHLQXsQfu0cwCgYIKoZIzj0EAwIDSAAwRQIhAPWEqaqZ\nmFXmqmoa9w7iYtC9T5ZkYU6dlq/8PDHEcIuZAiBn25xxePB8eqoRQqvzmimd+HYq\nfdnGXkP2ijWzn3YUYg==\n-----END CERTIFICATE-----\n"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://localhost:7054",
"caName": "ca-org1",
"httpOptions": {
"verify": true
}
},
"ca.org2.example.com": {
"url": "https://localhost:8054",
"caName": "ca-org2",
"httpOptions": {
"verify": true
}
}
}
}

If you are following the tutorial "as is" rather than using it as a basis for a custom fabric, then this is likely to be a problem with the certificates pasted into the connection.json file. The correct certificates need to be pasted into the file in the right places, but they also need to be in one long string with no line breaks. (the \n characters indicate a line break but there should be no actual line break.) The certificate should start with -----BEGIN CERTIFICATE-----\n and have the matching end certificate at the end.
If the problem persists you should post your connection.json file, and any errors in the CA container log for org1.

Error : failed to request identity. Error trying to enroll user and return certificates. Error: Calling enrollment endpoint failed with error [Error: unsupported certificate purpose].
Got the solution for above mentioned error from the link
(https://github.com/hyperledger/composer/issues/3808) and the error has been resolved.
Somehow the composer CLI is not correctly connecting to the Fabric CA when it is behind HTTPS.
This can be alleviated by turning off verification in connection.json file.
"certificateAuthorities": {
"myca.example.com": {
"url": "https://myca.example.com:443",
"caName": "myca.example.com",
"httpOptions": {
"verify": false
}
}

Related

Hyperledger Explorer running Issue

I have setup Hyper-ledger Fabric network. After that I tried to setup Hyperledger Explorer to look in to that blockchain network.But when I start the explorer it gives me these errors on the log file.
{ name: 'first-network',
profile: './connection-profile/first-network.json' } } client_configs.name first-network client_configs.profile
./connection-profile/first-network.json FabricUtils.createFabricClient
config.client.tlsEnable undefined FabricConfig, this.config.channels
first-network 2019-10-01T10:06:20.177Z - error:
[FabricCAClientService.js]: Invalid enroll request, missing
enrollmentID 'Error instantiating FabricCAServices '
2019-10-01T10:06:20.210Z - error: [Channel.js]: Error: No identity has
been assigned to this client
And got this error also.
FabricConfig, this.config.channels first-network
2019-10-01T10:37:24.022Z - error: [Channel.js]: Channel:first-network
received discovery error:access denied 2019-10-01T10:37:24.023Z -
error: [Channel.js]: Error: Channel:first-network Discovery error:access
denied initializeChannelFromDiscover first-network
2019-10-01T10:37:24.041Z - error: [Channel.js]: Channel:first-network
received discovery error:access denied 2019-10-01T10:37:24.041Z -
error: [Channel.js]: Error: Channel:first-network Discovery error:access
denied Channel genesis hash for channel [first-network] >>
b4ee26da8a094bf78422b9c38df8129715e2140690f80c772d7eebde723d29b3
2019-10-01T10:37:24.088Z - error: [Channel.js]: Channel:first-network
received discovery error:access denied 2019-10-01T10:37:24.089Z -
error: [Channel.js]: Error: Channel:first-netork Discovery error:access
denied 2019-10-01T10:37:24.089Z - error: [Channel.js]: refresh -
failed:Error: Channel:first-network Discovery error:access denied
This is my connection-profile json file.
{
"name": "first-network",
"version": "1.0.0",
"client": {
"organization": "Org2",
"tlsEnable": true,
"adminUser": "admin",
"adminPassword": "adminpw",
"enableAuthentication": false
},
"channels": {
"example": {
"orderers": ["orderer.example.com"],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org1.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org2.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org3.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org3.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org4.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org4.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org5.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org5.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org6.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org6.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com",
"peer1.org1.example.com"
],
"certificateAuthorities": ["ca.org1.example.com"]
},
"Org2": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com",
"peer1.org2.example.com"
],
"certificateAuthorities": ["ca.org2.example.com"]
},
"Org3": {
"mspid": "Org3MSP",
"peers": ["peer0.org3.example.com", "peer1.org3.example.com"],
"certificateAuthorities": ["ca.org3.example.com"]
},
"Org4": {
"mspid": "Org4MSP",
"peers": ["peer0.org4.example.com", "peer1.org4.example.com"],
"certificateAuthorities": ["ca.org4.example.com"]
},
"Org5": {
"mspid": "Org5MSP",
"peers": [
"peer0.org5.example.com",
"peer1.org5.example.com"
],
"certificateAuthorities": ["ca.org5.example.com"]
},
"Org6": {
"mspid": "Org6MSP",
"peers": [
"peer0.org6.example.com",
"peer1.org6.example.com"
],
"certificateAuthorities": ["ca.org6.example.com"]
}
},
"orderers": {
"orderer.example.com": {
"url": "grpcs://localhost:7050",
"grpcOptions": {
"ssl-target-name-override": "orderer.example.com",
"grpc-max-send-message-length": 4194304
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICUjCCAfmgAwIBAgIQNj7a+Kn6DUjEfOwbpZzs9DAKBggqhkjOPQQDAjB0MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEYMBYGA1UEChMPdHJhZmZpY2ZpbmUuY29tMR4wHAYDVQQDExV0bHNj\nYS50cmFmZmljZmluZS5jb20wHhcNMTkwNTEyMTExNjAwWhcNMjkwNTA5MTExNjAw\nWjB0MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEYMBYGA1UEChMPdHJhZmZpY2ZpbmUuY29tMR4wHAYDVQQD\nExV0bHNjYS50cmFmZmljZmluZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC\nAAQ1X/r/Wz9/9wTfF5PIczpCN2TtCgaoyHXnXwjyWBWXHbG2QzDx6Yhs8Fx7ui+w\n0IeJspCfQdjWcvu4/8md539fo20wazAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYw\nFAYIKwYBBQUHAwIGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIE\nIIStjqA7D7b/xqBhVQA1ypl8gP11P0P7ijitskHZ+NY6MAoGCCqGSM49BAMCA0cA\nMEQCIGW065Uo9CTIAhWYglKAh9G4AiOUBQ6Bh/+lplUm5HN1AiBteSDToihfQBAh\nPPDPUpBGhzQu/FhtjVJw3itkUNSSVQ==\n-----END CERTIFICATE-----\n"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://localhost:7051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com",
"grpc.keepalive_time_ms": 600000
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICjjCCAjSgAwIBAgIRAJSkuaGutlKDo2VJV48SQxwwCgYIKoZIzj0EAwIwgZAx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSYwJAYDVQQKEx1nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNv\nbTEsMCoGA1UEAxMjdGxzY2EuZ2VuZXJhbHB1YmxpYy50cmFmZmljZmluZS5jb20w\nHhcNMTkwNTEyMTExNjAwWhcNMjkwNTA5MTExNjAwWjCBkDELMAkGA1UEBhMCVVMx\nEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xJjAk\nBgNVBAoTHWdlbmVyYWxwdWJsaWMudHJhZmZpY2ZpbmUuY29tMSwwKgYDVQQDEyN0\nbHNjYS5nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqGSM49AgEG\nCCqGSM49AwEHA0IABDjHbkyDu1SJQGlT9MHvKpMuVVqe9Lt/Nubff6xV/lou0WgR\n1fK0Nw5Rcpbb7Vq/7fS6fgkuhD8m0ppwa894KAOjbTBrMA4GA1UdDwEB/wQEAwIB\npjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB\n/zApBgNVHQ4EIgQg8uHHt7GIMY8l21cnfoRfY1uPz3UFkiFNh/cz2vPNwUQwCgYI\nKoZIzj0EAwIDSAAwRQIhAI7ZjLZpPos3YQl8Oy81vyJAySS7tPyJrS8qYu6so/Hg\nAiAYtK9SeHhBUkcEVMiUHlVMPGedOwS9Ci1iq25RjE+42A==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org1.example.com": {
"url": "grpcs://localhost.com",
"grpcOptions": {
"ssl-target-name-override": "peer1.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICjjCCAjSgAwIBAgIRAJSkuaGutlKDo2VJV48SQxwwCgYIKoZIzj0EAwIwgZAx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSYwJAYDVQQKEx1nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNv\nbTEsMCoGA1UEAxMjdGxzY2EuZ2VuZXJhbHB1YmxpYy50cmFmZmljZmluZS5jb20w\nHhcNMTkwNTEyMTExNjAwWhcNMjkwNTA5MTExNjAwWjCBkDELMAkGA1UEBhMCVVMx\nEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xJjAk\nBgNVBAoTHWdlbmVyYWxwdWJsaWMudHJhZmZpY2ZpbmUuY29tMSwwKgYDVQQDEyN0\nbHNjYS5nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqGSM49AgEG\nCCqGSM49AwEHA0IABDjHbkyDu1SJQGlT9MHvKpMuVVqe9Lt/Nubff6xV/lou0WgR\n1fK0Nw5Rcpbb7Vq/7fS6fgkuhD8m0ppwa894KAOjbTBrMA4GA1UdDwEB/wQEAwIB\npjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB\n/zApBgNVHQ4EIgQg8uHHt7GIMY8l21cnfoRfY1uPz3UFkiFNh/cz2vPNwUQwCgYI\nKoZIzj0EAwIDSAAwRQIhAI7ZjLZpPos3YQl8Oy81vyJAySS7tPyJrS8qYu6so/Hg\nAiAYtK9SeHhBUkcEVMiUHlVMPGedOwS9Ci1iq25RjE+42A==\n-----END CERTIFICATE-----\n"
}
},
"peer0.org2.example.com": {
"url": "grpcs://localhost:9051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICeTCCAiCgAwIBAgIRAOPkFgOOl0nsonSTTg8Vc+cwCgYIKoZIzj0EAwIwgYYx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSEwHwYDVQQKExhzbHBvbGljZS50cmFmZmljZmluZS5jb20xJzAl\nBgNVBAMTHnRsc2NhLnNscG9saWNlLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIx\nMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGGMQswCQYDVQQGEwJVUzETMBEGA1UECBMK\nQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEhMB8GA1UEChMYc2xw\nb2xpY2UudHJhZmZpY2ZpbmUuY29tMScwJQYDVQQDEx50bHNjYS5zbHBvbGljZS50\ncmFmZmljZmluZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATiUSah6Be8\n/n72/RyxsOoaOgvm847Qu1Mf6aPfMjfZECsd8OHa+pWA90QYyH4SZk7RbE+8nHGi\nmdovZfUSbXJOo20wazAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUH\nAwIGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEIE/Wz5BRtplq\noZQBHeqVXrmcFI4GKpJWYPECdAc6ygzaMAoGCCqGSM49BAMCA0cAMEQCIDtkLhc3\nsZLOIFCgeFOv5SmyCl1BbOl6AMwhm/dueZ72AiA7XkzTeiYj9PWs0XBaSfUf/Q3l\n5++8p89wiPd1Rut7KQ==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org2.example.com": {
"url": "grpcs://localhost:10051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICeTCCAiCgAwIBAgIRAOPkFgOOl0nsonSTTg8Vc+cwCgYIKoZIzj0EAwIwgYYx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSEwHwYDVQQKExhzbHBvbGljZS50cmFmZmljZmluZS5jb20xJzAl\nBgNVBAMTHnRsc2NhLnNscG9saWNlLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIx\nMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGGMQswCQYDVQQGEwJVUzETMBEGA1UECBMK\nQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEhMB8GA1UEChMYc2xw\nb2xpY2UudHJhZmZpY2ZpbmUuY29tMScwJQYDVQQDEx50bHNjYS5zbHBvbGljZS50\ncmFmZmljZmluZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATiUSah6Be8\n/n72/RyxsOoaOgvm847Qu1Mf6aPfMjfZECsd8OHa+pWA90QYyH4SZk7RbE+8nHGi\nmdovZfUSbXJOo20wazAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUH\nAwIGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEIE/Wz5BRtplq\noZQBHeqVXrmcFI4GKpJWYPECdAc6ygzaMAoGCCqGSM49BAMCA0cAMEQCIDtkLhc3\nsZLOIFCgeFOv5SmyCl1BbOl6AMwhm/dueZ72AiA7XkzTeiYj9PWs0XBaSfUf/Q3l\n5++8p89wiPd1Rut7KQ==\n-----END CERTIFICATE-----\n"
}
},
"peer0.org3.example.com": {
"url": "grpcs://localhost:11051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org3.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICZDCCAgqgAwIBAgIRANy2QltPJVGvPRHkwgo55GowCgYIKoZIzj0EAwIwfDEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xHDAaBgNVBAoTE2lzcC50cmFmZmljZmluZS5jb20xIjAgBgNVBAMT\nGXRsc2NhLmlzcC50cmFmZmljZmluZS5jb20wHhcNMTkwNTEyMTExNjAwWhcNMjkw\nNTA5MTExNjAwWjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEW\nMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEcMBoGA1UEChMTaXNwLnRyYWZmaWNmaW5l\nLmNvbTEiMCAGA1UEAxMZdGxzY2EuaXNwLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABDVsg+823dcGvYv7w8Enfv+4x/Otj00PEs1G8u1T\nl3/iAHGvidf7/KxqePr5j3CQqMzATpyef/fWq1JnzJ+1yVyjbTBrMA4GA1UdDwEB\n/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/\nBAUwAwEB/zApBgNVHQ4EIgQg6XB/Y5lrxkP++/DD0Dgv+XkRXe2tqqe220FlcZcM\nJHUwCgYIKoZIzj0EAwIDSAAwRQIhAIJ8nzdna5Dl3ZWhXv2P6GfET7uf+4PDPS7A\n2N1IXlDiAiB/i3utOzhhXjm7+HTaXDWM+Q6Rxxzq5GoZrPMF+TY7lg==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org3.example.com": {
"url": "grpcs://localhost:12051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org3.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICZDCCAgqgAwIBAgIRANy2QltPJVGvPRHkwgo55GowCgYIKoZIzj0EAwIwfDEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xHDAaBgNVBAoTE2lzcC50cmFmZmljZmluZS5jb20xIjAgBgNVBAMT\nGXRsc2NhLmlzcC50cmFmZmljZmluZS5jb20wHhcNMTkwNTEyMTExNjAwWhcNMjkw\nNTA5MTExNjAwWjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEW\nMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEcMBoGA1UEChMTaXNwLnRyYWZmaWNmaW5l\nLmNvbTEiMCAGA1UEAxMZdGxzY2EuaXNwLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABDVsg+823dcGvYv7w8Enfv+4x/Otj00PEs1G8u1T\nl3/iAHGvidf7/KxqePr5j3CQqMzATpyef/fWq1JnzJ+1yVyjbTBrMA4GA1UdDwEB\n/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/\nBAUwAwEB/zApBgNVHQ4EIgQg6XB/Y5lrxkP++/DD0Dgv+XkRXe2tqqe220FlcZcM\nJHUwCgYIKoZIzj0EAwIDSAAwRQIhAIJ8nzdna5Dl3ZWhXv2P6GfET7uf+4PDPS7A\n2N1IXlDiAiB/i3utOzhhXjm7+HTaXDWM+Q6Rxxzq5GoZrPMF+TY7lg==\n-----END CERTIFICATE-----\n"
}
},
"peer0.org4.example.com": {
"url": "grpcs://localhost:13051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org4.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICYzCCAgmgAwIBAgIQbdOs1p1J1MAJWjwsm9509DAKBggqhkjOPQQDAjB8MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEcMBoGA1UEChMTcHNwLnRyYWZmaWNmaW5lLmNvbTEiMCAGA1UEAxMZ\ndGxzY2EucHNwLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIxMTE2MDBaFw0yOTA1\nMDkxMTE2MDBaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw\nFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRwwGgYDVQQKExNwc3AudHJhZmZpY2ZpbmUu\nY29tMSIwIAYDVQQDExl0bHNjYS5wc3AudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZI\nzj0CAQYIKoZIzj0DAQcDQgAEqgBAvFLH28B1bU9v9rWSyyhT0oA2kbeIDVkweUHM\nwWrm3oIIgE7DvQILIPY7bcI13oQUN4mzuHCZfV73sLRSZqNtMGswDgYDVR0PAQH/\nBAQDAgGmMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8E\nBTADAQH/MCkGA1UdDgQiBCBn1ZzxNv7+NunGcW5oxKsgm6Gl85pt1Rx/u/X5OOuH\n7jAKBggqhkjOPQQDAgNIADBFAiEAtub3Ed+xQhbaBigfIG3pZaf8VKWvFSIh2175\nupJfsbkCICalJIrBKnItZVpMEvwG4Oopuch+T3MxpVx+8wzMu9vy\n-----END CERTIFICATE-----\n"
}
},
"peer1.org4.example.com": {
"url": "grpcs://localhost:14051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org4.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICYzCCAgmgAwIBAgIQbdOs1p1J1MAJWjwsm9509DAKBggqhkjOPQQDAjB8MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEcMBoGA1UEChMTcHNwLnRyYWZmaWNmaW5lLmNvbTEiMCAGA1UEAxMZ\ndGxzY2EucHNwLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIxMTE2MDBaFw0yOTA1\nMDkxMTE2MDBaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw\nFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRwwGgYDVQQKExNwc3AudHJhZmZpY2ZpbmUu\nY29tMSIwIAYDVQQDExl0bHNjYS5wc3AudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZI\nzj0CAQYIKoZIzj0DAQcDQgAEqgBAvFLH28B1bU9v9rWSyyhT0oA2kbeIDVkweUHM\nwWrm3oIIgE7DvQILIPY7bcI13oQUN4mzuHCZfV73sLRSZqNtMGswDgYDVR0PAQH/\nBAQDAgGmMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8E\nBTADAQH/MCkGA1UdDgQiBCBn1ZzxNv7+NunGcW5oxKsgm6Gl85pt1Rx/u/X5OOuH\n7jAKBggqhkjOPQQDAgNIADBFAiEAtub3Ed+xQhbaBigfIG3pZaf8VKWvFSIh2175\nupJfsbkCICalJIrBKnItZVpMEvwG4Oopuch+T3MxpVx+8wzMu9vy\n-----END CERTIFICATE-----\n"
}
},
"peer0.org5.example.com": {
"url": "grpcs://localhost:15051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org5.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICgDCCAiegAwIBAgIQcHgIQ/lJmulJVPJ7/Cl/EDAKBggqhkjOPQQDAjCBijEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xIzAhBgNVBAoTGmdvdmVybm1lbnQudHJhZmZpY2ZpbmUuY29tMSkw\nJwYDVQQDEyB0bHNjYS5nb3Zlcm5tZW50LnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1\nMTIxMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGKMQswCQYDVQQGEwJVUzETMBEGA1UE\nCBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEjMCEGA1UEChMa\nZ292ZXJubWVudC50cmFmZmljZmluZS5jb20xKTAnBgNVBAMTIHRsc2NhLmdvdmVy\nbm1lbnQudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE\n+0WWqJrrr9D+Cz//HMzI9P/cisjC8kO2SSf2wc68z9gFlqou5mq/1O+uCSNHTD1s\nbD+BtvvwTvIBJND1o0pdgKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG\nCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCBO\navVbFXndWKmLzd4nN3qQ3KnSaYrllyXgPF98qUfOgTAKBggqhkjOPQQDAgNHADBE\nAiBh03jy37BAXbZfMevAEC4x7PJDDON9yOHTkxHf8pZJ3wIgM/rgG+upf0y2d1R+\nLAYbYO/zNSrNIHCnkqi4Qi34Qjc=\n-----END CERTIFICATE-----\n"
}
},
"peer1.org5.example.com": {
"url": "grpcs://localhost:16051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org5.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICgDCCAiegAwIBAgIQcHgIQ/lJmulJVPJ7/Cl/EDAKBggqhkjOPQQDAjCBijEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xIzAhBgNVBAoTGmdvdmVybm1lbnQudHJhZmZpY2ZpbmUuY29tMSkw\nJwYDVQQDEyB0bHNjYS5nb3Zlcm5tZW50LnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1\nMTIxMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGKMQswCQYDVQQGEwJVUzETMBEGA1UE\nCBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEjMCEGA1UEChMa\nZ292ZXJubWVudC50cmFmZmljZmluZS5jb20xKTAnBgNVBAMTIHRsc2NhLmdvdmVy\nbm1lbnQudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE\n+0WWqJrrr9D+Cz//HMzI9P/cisjC8kO2SSf2wc68z9gFlqou5mq/1O+uCSNHTD1s\nbD+BtvvwTvIBJND1o0pdgKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG\nCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCBO\navVbFXndWKmLzd4nN3qQ3KnSaYrllyXgPF98qUfOgTAKBggqhkjOPQQDAgNHADBE\nAiBh03jy37BAXbZfMevAEC4x7PJDDON9yOHTkxHf8pZJ3wIgM/rgG+upf0y2d1R+\nLAYbYO/zNSrNIHCnkqi4Qi34Qjc=\n-----END CERTIFICATE-----\n"
}
},
"peer0.org6.example.com": {
"url": "grpcs://localhost:17051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org6.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICfTCCAiSgAwIBAgIRAMiXIUFS5FWbhkzb1KD/9ucwCgYIKoZIzj0EAwIwgYgx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSIwIAYDVQQKExlpbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSgw\nJgYDVQQDEx90bHNjYS5pbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMB4XDTE5MDUx\nMjExMTYwMFoXDTI5MDUwOTExMTYwMFowgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQI\nEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMSIwIAYDVQQKExlp\nbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSgwJgYDVQQDEx90bHNjYS5pbnN1cmFu\nY2UudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3vJQ\nt/ol7QfD5CPYusvNF6Y6DcpJmPYuPv11y37csmz3FxU5b8ZHhQ6LydizToXx7Kre\nCxf9/WCH7Ax2dmHCwaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsG\nAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCDb4Zpv\nHUl/+8gsqMfPQ7Nu4Pad0cyHlRfUvqTdZKemTTAKBggqhkjOPQQDAgNHADBEAiAI\nz7f0GXmiOKd3LTNt1D2xemmT+y1VLVJSiCgtcNY8cAIgF/vsel9gGuCGx+Ol0vrr\nrE8zA632kU1oS+rWP+LICZk=\n-----END CERTIFICATE-----\n"
}
},
"peer1.org6.example.com": {
"url": "grpcs://localhost:18051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org6.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICfTCCAiSgAwIBAgIRAMiXIUFS5FWbhkzb1KD/9ucwCgYIKoZIzj0EAwIwgYgx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSIwIAYDVQQKExlpbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSgw\nJgYDVQQDEx90bHNjYS5pbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMB4XDTE5MDUx\nMjExMTYwMFoXDTI5MDUwOTExMTYwMFowgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQI\nEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMSIwIAYDVQQKExlp\nbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSgwJgYDVQQDEx90bHNjYS5pbnN1cmFu\nY2UudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3vJQ\nt/ol7QfD5CPYusvNF6Y6DcpJmPYuPv11y37csmz3FxU5b8ZHhQ6LydizToXx7Kre\nCxf9/WCH7Ax2dmHCwaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsG\nAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCDb4Zpv\nHUl/+8gsqMfPQ7Nu4Pad0cyHlRfUvqTdZKemTTAKBggqhkjOPQQDAgNHADBEAiAI\nz7f0GXmiOKd3LTNt1D2xemmT+y1VLVJSiCgtcNY8cAIgF/vsel9gGuCGx+Ol0vrr\nrE8zA632kU1oS+rWP+LICZk=\n-----END CERTIFICATE-----\n"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://localhost:7054",
"caName": "ca.org1.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIIChzCCAi2gAwIBAgIQOoF14tAweIbZyYIyDnRE3TAKBggqhkjOPQQDAjCBjTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xJjAkBgNVBAoTHWdlbmVyYWxwdWJsaWMudHJhZmZpY2ZpbmUuY29t\nMSkwJwYDVQQDEyBjYS5nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNvbTAeFw0x\nOTA1MTIxMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGNMQswCQYDVQQGEwJVUzETMBEG\nA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEmMCQGA1UE\nChMdZ2VuZXJhbHB1YmxpYy50cmFmZmljZmluZS5jb20xKTAnBgNVBAMTIGNhLmdl\nbmVyYWxwdWJsaWMudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D\nAQcDQgAEa0YngwGM6y0ep8rUt/NTp4Y5UzxvEAW5xvhIIhuBZvMpgAInBu6OzNBX\nL2ZXcMDrYGqNEEnCei2RMz8eHKx0BaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud\nJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud\nDgQiBCAe7BDJ62hOC19wjgYEsRTRmrrv4UXY8W06qg8SbEOjmTAKBggqhkjOPQQD\nAgNIADBFAiEA319TsaN9C2CpfLRF8PLO/QBBxscgyX/8mWSdAbBOKVsCIHR580EJ\nY4V7qwfCL5Kc3fbESxZwxREPeR1dZnrSpFgM\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org2.example.com": {
"url": "https://localhost:8054",
"caName": "ca.org2.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICczCCAhqgAwIBAgIRAOVqLvjfUAmiu2YoC8I/dwgwCgYIKoZIzj0EAwIwgYMx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSEwHwYDVQQKExhzbHBvbGljZS50cmFmZmljZmluZS5jb20xJDAi\nBgNVBAMTG2NhLnNscG9saWNlLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIxMTE2\nMDBaFw0yOTA1MDkxMTE2MDBaMIGDMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2Fs\naWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEhMB8GA1UEChMYc2xwb2xp\nY2UudHJhZmZpY2ZpbmUuY29tMSQwIgYDVQQDExtjYS5zbHBvbGljZS50cmFmZmlj\nZmluZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQDYzSqtOC6vZ2s+R5l\nSLjvfdRG4q8RxQ4OX8H76rhg28JiPz1P75UPYGPGWh0aJRRkcyq10LCcZWHRY2no\nqw4oo20wazAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG\nAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEIImKaCGN2VB3oFeWBNK2\nIt6cUMbVBMWN1Txj4lQ+HDBwMAoGCCqGSM49BAMCA0cAMEQCIDjefm2Y2OXyMM4O\nBhFFlDCxtzPweCz+EGPonYC8hFSvAiBBV76DP36dAbabdBCSw1IR7r6EiMmFwlpz\nqs3xmr3H7A==\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org3.example.com": {
"url": "https://localhost:9054",
"caName": "ca.org3.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICXTCCAgSgAwIBAgIRAKk3BXIIk+ziwNe7yp1xzuUwCgYIKoZIzj0EAwIweTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xHDAaBgNVBAoTE2lzcC50cmFmZmljZmluZS5jb20xHzAdBgNVBAMT\nFmNhLmlzcC50cmFmZmljZmluZS5jb20wHhcNMTkwNTEyMTExNjAwWhcNMjkwNTA5\nMTExNjAwWjB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQG\nA1UEBxMNU2FuIEZyYW5jaXNjbzEcMBoGA1UEChMTaXNwLnRyYWZmaWNmaW5lLmNv\nbTEfMB0GA1UEAxMWY2EuaXNwLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqGSM49AgEG\nCCqGSM49AwEHA0IABNYfwo4mH6GtzxbABGv+n8mKPa6v8O5UBH5sKdXZRX4dyJsm\nLHsI3CxHstH7yBuCkf1DqUTkBgVWdTap5T442QijbTBrMA4GA1UdDwEB/wQEAwIB\npjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB\n/zApBgNVHQ4EIgQgmdYX31zRWiWaovt1TmJajEW26Pq5PywYFOyCKRTJ3l4wCgYI\nKoZIzj0EAwIDRwAwRAIgEMVdYoV+WKQYCdMckF2517jYQlZ7jrl10HsBGq3NBmIC\nIBA4CgzLMt0U2RRast2rQvY3P02ZcVKt8Ud8ctEj0wy6\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org4.example.com": {
"url": "https://localhost:10054",
"caName": "ca.org4.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICXDCCAgOgAwIBAgIQJaUniBDzk/IuUvxmYAfaqDAKBggqhkjOPQQDAjB5MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEcMBoGA1UEChMTcHNwLnRyYWZmaWNmaW5lLmNvbTEfMB0GA1UEAxMW\nY2EucHNwLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIxMTE2MDBaFw0yOTA1MDkx\nMTE2MDBaMHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYD\nVQQHEw1TYW4gRnJhbmNpc2NvMRwwGgYDVQQKExNwc3AudHJhZmZpY2ZpbmUuY29t\nMR8wHQYDVQQDExZjYS5wc3AudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYI\nKoZIzj0DAQcDQgAE++gZc/Djq+rtJIQn2rhj5zPcWNm4ndve9yy4QXY0+sUDPnYT\n7gKoBsa/Xb+gueYRmPn2adQ9deIKIeEqjO9XrqNtMGswDgYDVR0PAQH/BAQDAgGm\nMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/\nMCkGA1UdDgQiBCAJH7niEoeaaUBYw6rIAQ1ofwkIwG4mScqDAo+lg7AszDAKBggq\nhkjOPQQDAgNHADBEAiALIx/ZDFt3ymuahlewATncZZ+7+cVM/18Olc4L/41ltgIg\nMWpsKGpvfM9cStYPPQz4qCrhFfV8tZv7OXVBj7qcUK4=\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org5.example.com": {
"url": "https://localhost:11054",
"caName": "ca.org5.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICejCCAiGgAwIBAgIQBuMz8sudpN5iT6fRNEgKNjAKBggqhkjOPQQDAjCBhzEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xIzAhBgNVBAoTGmdvdmVybm1lbnQudHJhZmZpY2ZpbmUuY29tMSYw\nJAYDVQQDEx1jYS5nb3Zlcm5tZW50LnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIx\nMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGHMQswCQYDVQQGEwJVUzETMBEGA1UECBMK\nQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEjMCEGA1UEChMaZ292\nZXJubWVudC50cmFmZmljZmluZS5jb20xJjAkBgNVBAMTHWNhLmdvdmVybm1lbnQu\ndHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEII7G/k1K\n9Zs6+EbaTxVhUDV9dFXh59fyI/VFubMwF9fFC9f0lhZh12L7LtMIYwdkqIhneP5Q\n7eX9bg9qv8+NvaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsGAQUF\nBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCB4blrrlcqW\n6vxzyhaF7cKvGKgfqYsohRhQs213vm2T/zAKBggqhkjOPQQDAgNHADBEAiBvZjZk\nIIySpneI1d2iVI08bZjkmo6a2jveAlJfKSRTqwIgFIofZ9plkvLcCJHrktj8q4ry\nmmVhbUvWk/DCWKeYrx4=\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org6.example.com": {
"url": "https://localhost:12054",
"caName": "ca.org6.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICeDCCAh6gAwIBAgIRAOqkaWINVGLuSFu0dS+nu4EwCgYIKoZIzj0EAwIwgYUx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSIwIAYDVQQKExlpbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSUw\nIwYDVQQDExxjYS5pbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMB4XDTE5MDUxMjEx\nMTYwMFoXDTI5MDUwOTExMTYwMFowgYUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpD\nYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMSIwIAYDVQQKExlpbnN1\ncmFuY2UudHJhZmZpY2ZpbmUuY29tMSUwIwYDVQQDExxjYS5pbnN1cmFuY2UudHJh\nZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsswvuxQfFKAm\n6uLB0SHmTDZ8XAlDUWt+K/OtzpU2nu/tlku+AlwuwY7VytoBEDOdaQZQCTJxoXFv\nd/r2lYZo7aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsGAQUFBwMC\nBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCBhlhz8nbEUON18\n5O6y51ZjqY5RlKibq6BJUxng6ZFsujAKBggqhkjOPQQDAgNIADBFAiEA7iJE8HiY\nyHVxGqb0/zc03pgM86mWTpmOVvRtNt9PQVsCIDdHceszC3ziOnd1TiT9soO7zMJX\nnXV8IOemP+NXD2qn\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
}
}
}
But with this same connection-profile I used successfully to connect to the blockchain through the node-sdk but here I cannot see any reason for these errors.I tried lot to a find a solution to this problem can someone help me to find out a solution to this problem.Thank you.
I am currently using Convector and Hurley together to develop my project and I am also trying to use Hyperledger Explorer on my Infra but I get a channel discovery error a each start.
One remark concerning your connection profile json file: in the client section you are not using any parameters like "credentialStore" to indicate what identity the client should use to connect?
Try to do the following modification in your json file, on my side it fixed the issue:
{
"name": "first-network",
"version": "1.0.0",
"client": {
"organization": "Org2MSP",
"tlsEnable": true,
"adminUser": "admin",
"adminPassword": "adminpw",
"enableAuthentication": false
},
"Org2MSP": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com",
"peer1.org2.example.com"
],
"certificateAuthorities": ["ca.org2.example.com"]
},

what is wrong with my connectionprofile.json file?

Problem:
I have created a fabric network. I installed and instantiated a chaincode from cli. After I submit some transactions through cli . After I tried to invoke a transaction through node SDK it failed with giving me this error.
2019-05-19T05:38:04.866Z - error: [Channel.js]: Channel:myc received
discovery error:access denied 2019-05-19T05:38:04.868Z - error:
[Channel.js]: Error: Channel:myc Discovery error:access denied
2019-05-19T05:38:04.904Z - error: [Channel.js]: Channel:myc received
discovery error:access denied 2019-05-19T05:38:04.905Z - error:
[Channel.js]: Error: Channel:trafficfine Discovery error:access denied
2019-05-19T05:38:04.906Z - error: [Network]:
_initializeInternalChannel: Unable to initialize channel. Attempted to contact 2 Peers. Last error was Error: Channel:myc Discovery
error:access deniedFailed to submit transaction: Error: Unable to
initialize channel. Attempted to contact 2 Peers. Last error was
Error: Channel:myc Discovery error:access denied
This is my connectionprofile.json file.
{
"name": "example-network",
"version": "1.0.0",
"client": {
"organization": "Org2"
},
"channels": {
"myc": {
"orderers": ["orderer.example.com"],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org1.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org2.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org3.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org3.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org4.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org4.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org5.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org5.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
},
"peer0.org6.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org6.example.com": {
"endorsingPeer": false,
"chaincodeQuery": false,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com",
"peer1.org1.example.com"
],
"certificateAuthorities": ["ca.org1.example.com"]
},
"Org2": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com",
"peer1.org2.example.com"
],
"certificateAuthorities": ["ca.org2.example.com"]
},
"Org3": {
"mspid": "Org3MSP",
"peers": ["peer0.org3.example.com", "peer1.org3.example.com"],
"certificateAuthorities": ["ca.org3.example.com"]
},
"Org4": {
"mspid": "Org4MSP",
"peers": ["peer0.org4.example.com", "peer1.org4.example.com"],
"certificateAuthorities": ["ca.org4.example.com"]
},
"Org5": {
"mspid": "Org5MSP",
"peers": [
"peer0.org5.example.com",
"peer1.org5.example.com"
],
"certificateAuthorities": ["ca.org5.example.com"]
},
"Org6": {
"mspid": "Org6MSP",
"peers": [
"peer0.org6.example.com",
"peer1.org6.example.com"
],
"certificateAuthorities": ["ca.org6.example.com"]
}
},
"orderers": {
"orderer.example.com": {
"url": "grpcs://localhost:7050",
"grpcOptions": {
"ssl-target-name-override": "orderer.example.com",
"grpc-max-send-message-length": 4194304
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICUjCCAfmgAwIBAgIQNj7a+Kn6DUjEfOwbpZzs9DAKBggqhkjOPQQDAjB0MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEYMBYGA1UEChMPdHJhZmZpY2ZpbmUuY29tMR4wHAYDVQQDExV0bHNj\nYS50cmFmZmljZmluZS5jb20wHhcNMTkwNTEyMTExNjAwWhcNMjkwNTA5MTExNjAw\nWjB0MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN\nU2FuIEZyYW5jaXNjbzEYMBYGA1UEChMPdHJhZmZpY2ZpbmUuY29tMR4wHAYDVQQD\nExV0bHNjYS50cmFmZmljZmluZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC\nAAQ1X/r/Wz9/9wTfF5PIczpCN2TtCgaoyHXnXwjyWBWXHbG2QzDx6Yhs8Fx7ui+w\n0IeJspCfQdjWcvu4/8md539fo20wazAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYw\nFAYIKwYBBQUHAwIGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIE\nIIStjqA7D7b/xqBhVQA1ypl8gP11P0P7ijitskHZ+NY6MAoGCCqGSM49BAMCA0cA\nMEQCIGW065Uo9CTIAhWYglKAh9G4AiOUBQ6Bh/+lplUm5HN1AiBteSDToihfQBAh\nPPDPUpBGhzQu/FhtjVJw3itkUNSSVQ==\n-----END CERTIFICATE-----\n"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://localhost:7051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com",
"grpc.keepalive_time_ms": 600000
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICjjCCAjSgAwIBAgIRAJSkuaGutlKDo2VJV48SQxwwCgYIKoZIzj0EAwIwgZAx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSYwJAYDVQQKEx1nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNv\nbTEsMCoGA1UEAxMjdGxzY2EuZ2VuZXJhbHB1YmxpYy50cmFmZmljZmluZS5jb20w\nHhcNMTkwNTEyMTExNjAwWhcNMjkwNTA5MTExNjAwWjCBkDELMAkGA1UEBhMCVVMx\nEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xJjAk\nBgNVBAoTHWdlbmVyYWxwdWJsaWMudHJhZmZpY2ZpbmUuY29tMSwwKgYDVQQDEyN0\nbHNjYS5nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqGSM49AgEG\nCCqGSM49AwEHA0IABDjHbkyDu1SJQGlT9MHvKpMuVVqe9Lt/Nubff6xV/lou0WgR\n1fK0Nw5Rcpbb7Vq/7fS6fgkuhD8m0ppwa894KAOjbTBrMA4GA1UdDwEB/wQEAwIB\npjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB\n/zApBgNVHQ4EIgQg8uHHt7GIMY8l21cnfoRfY1uPz3UFkiFNh/cz2vPNwUQwCgYI\nKoZIzj0EAwIDSAAwRQIhAI7ZjLZpPos3YQl8Oy81vyJAySS7tPyJrS8qYu6so/Hg\nAiAYtK9SeHhBUkcEVMiUHlVMPGedOwS9Ci1iq25RjE+42A==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org1.example.com": {
"url": "grpcs://localhost.com",
"grpcOptions": {
"ssl-target-name-override": "peer1.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICjjCCAjSgAwIBAgIRAJSkuaGutlKDo2VJV48SQxwwCgYIKoZIzj0EAwIwgZAx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSYwJAYDVQQKEx1nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNv\nbTEsMCoGA1UEAxMjdGxzY2EuZ2VuZXJhbHB1YmxpYy50cmFmZmljZmluZS5jb20w\nHhcNMTkwNTEyMTExNjAwWhcNMjkwNTA5MTExNjAwWjCBkDELMAkGA1UEBhMCVVMx\nEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xJjAk\nBgNVBAoTHWdlbmVyYWxwdWJsaWMudHJhZmZpY2ZpbmUuY29tMSwwKgYDVQQDEyN0\nbHNjYS5nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqGSM49AgEG\nCCqGSM49AwEHA0IABDjHbkyDu1SJQGlT9MHvKpMuVVqe9Lt/Nubff6xV/lou0WgR\n1fK0Nw5Rcpbb7Vq/7fS6fgkuhD8m0ppwa894KAOjbTBrMA4GA1UdDwEB/wQEAwIB\npjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB\n/zApBgNVHQ4EIgQg8uHHt7GIMY8l21cnfoRfY1uPz3UFkiFNh/cz2vPNwUQwCgYI\nKoZIzj0EAwIDSAAwRQIhAI7ZjLZpPos3YQl8Oy81vyJAySS7tPyJrS8qYu6so/Hg\nAiAYtK9SeHhBUkcEVMiUHlVMPGedOwS9Ci1iq25RjE+42A==\n-----END CERTIFICATE-----\n"
}
},
"peer0.org2.example.com": {
"url": "grpcs://localhost:9051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICeTCCAiCgAwIBAgIRAOPkFgOOl0nsonSTTg8Vc+cwCgYIKoZIzj0EAwIwgYYx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSEwHwYDVQQKExhzbHBvbGljZS50cmFmZmljZmluZS5jb20xJzAl\nBgNVBAMTHnRsc2NhLnNscG9saWNlLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIx\nMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGGMQswCQYDVQQGEwJVUzETMBEGA1UECBMK\nQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEhMB8GA1UEChMYc2xw\nb2xpY2UudHJhZmZpY2ZpbmUuY29tMScwJQYDVQQDEx50bHNjYS5zbHBvbGljZS50\ncmFmZmljZmluZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATiUSah6Be8\n/n72/RyxsOoaOgvm847Qu1Mf6aPfMjfZECsd8OHa+pWA90QYyH4SZk7RbE+8nHGi\nmdovZfUSbXJOo20wazAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUH\nAwIGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEIE/Wz5BRtplq\noZQBHeqVXrmcFI4GKpJWYPECdAc6ygzaMAoGCCqGSM49BAMCA0cAMEQCIDtkLhc3\nsZLOIFCgeFOv5SmyCl1BbOl6AMwhm/dueZ72AiA7XkzTeiYj9PWs0XBaSfUf/Q3l\n5++8p89wiPd1Rut7KQ==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org2.example.com": {
"url": "grpcs://localhost:10051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICeTCCAiCgAwIBAgIRAOPkFgOOl0nsonSTTg8Vc+cwCgYIKoZIzj0EAwIwgYYx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSEwHwYDVQQKExhzbHBvbGljZS50cmFmZmljZmluZS5jb20xJzAl\nBgNVBAMTHnRsc2NhLnNscG9saWNlLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIx\nMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGGMQswCQYDVQQGEwJVUzETMBEGA1UECBMK\nQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEhMB8GA1UEChMYc2xw\nb2xpY2UudHJhZmZpY2ZpbmUuY29tMScwJQYDVQQDEx50bHNjYS5zbHBvbGljZS50\ncmFmZmljZmluZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATiUSah6Be8\n/n72/RyxsOoaOgvm847Qu1Mf6aPfMjfZECsd8OHa+pWA90QYyH4SZk7RbE+8nHGi\nmdovZfUSbXJOo20wazAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUH\nAwIGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEIE/Wz5BRtplq\noZQBHeqVXrmcFI4GKpJWYPECdAc6ygzaMAoGCCqGSM49BAMCA0cAMEQCIDtkLhc3\nsZLOIFCgeFOv5SmyCl1BbOl6AMwhm/dueZ72AiA7XkzTeiYj9PWs0XBaSfUf/Q3l\n5++8p89wiPd1Rut7KQ==\n-----END CERTIFICATE-----\n"
}
},
"peer0.org3.example.com": {
"url": "grpcs://localhost:11051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org3.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICZDCCAgqgAwIBAgIRANy2QltPJVGvPRHkwgo55GowCgYIKoZIzj0EAwIwfDEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xHDAaBgNVBAoTE2lzcC50cmFmZmljZmluZS5jb20xIjAgBgNVBAMT\nGXRsc2NhLmlzcC50cmFmZmljZmluZS5jb20wHhcNMTkwNTEyMTExNjAwWhcNMjkw\nNTA5MTExNjAwWjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEW\nMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEcMBoGA1UEChMTaXNwLnRyYWZmaWNmaW5l\nLmNvbTEiMCAGA1UEAxMZdGxzY2EuaXNwLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABDVsg+823dcGvYv7w8Enfv+4x/Otj00PEs1G8u1T\nl3/iAHGvidf7/KxqePr5j3CQqMzATpyef/fWq1JnzJ+1yVyjbTBrMA4GA1UdDwEB\n/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/\nBAUwAwEB/zApBgNVHQ4EIgQg6XB/Y5lrxkP++/DD0Dgv+XkRXe2tqqe220FlcZcM\nJHUwCgYIKoZIzj0EAwIDSAAwRQIhAIJ8nzdna5Dl3ZWhXv2P6GfET7uf+4PDPS7A\n2N1IXlDiAiB/i3utOzhhXjm7+HTaXDWM+Q6Rxxzq5GoZrPMF+TY7lg==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org3.example.com": {
"url": "grpcs://localhost:12051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org3.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICZDCCAgqgAwIBAgIRANy2QltPJVGvPRHkwgo55GowCgYIKoZIzj0EAwIwfDEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xHDAaBgNVBAoTE2lzcC50cmFmZmljZmluZS5jb20xIjAgBgNVBAMT\nGXRsc2NhLmlzcC50cmFmZmljZmluZS5jb20wHhcNMTkwNTEyMTExNjAwWhcNMjkw\nNTA5MTExNjAwWjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEW\nMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEcMBoGA1UEChMTaXNwLnRyYWZmaWNmaW5l\nLmNvbTEiMCAGA1UEAxMZdGxzY2EuaXNwLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABDVsg+823dcGvYv7w8Enfv+4x/Otj00PEs1G8u1T\nl3/iAHGvidf7/KxqePr5j3CQqMzATpyef/fWq1JnzJ+1yVyjbTBrMA4GA1UdDwEB\n/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/\nBAUwAwEB/zApBgNVHQ4EIgQg6XB/Y5lrxkP++/DD0Dgv+XkRXe2tqqe220FlcZcM\nJHUwCgYIKoZIzj0EAwIDSAAwRQIhAIJ8nzdna5Dl3ZWhXv2P6GfET7uf+4PDPS7A\n2N1IXlDiAiB/i3utOzhhXjm7+HTaXDWM+Q6Rxxzq5GoZrPMF+TY7lg==\n-----END CERTIFICATE-----\n"
}
},
"peer0.org4.example.com": {
"url": "grpcs://localhost:13051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org4.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICYzCCAgmgAwIBAgIQbdOs1p1J1MAJWjwsm9509DAKBggqhkjOPQQDAjB8MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEcMBoGA1UEChMTcHNwLnRyYWZmaWNmaW5lLmNvbTEiMCAGA1UEAxMZ\ndGxzY2EucHNwLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIxMTE2MDBaFw0yOTA1\nMDkxMTE2MDBaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw\nFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRwwGgYDVQQKExNwc3AudHJhZmZpY2ZpbmUu\nY29tMSIwIAYDVQQDExl0bHNjYS5wc3AudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZI\nzj0CAQYIKoZIzj0DAQcDQgAEqgBAvFLH28B1bU9v9rWSyyhT0oA2kbeIDVkweUHM\nwWrm3oIIgE7DvQILIPY7bcI13oQUN4mzuHCZfV73sLRSZqNtMGswDgYDVR0PAQH/\nBAQDAgGmMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8E\nBTADAQH/MCkGA1UdDgQiBCBn1ZzxNv7+NunGcW5oxKsgm6Gl85pt1Rx/u/X5OOuH\n7jAKBggqhkjOPQQDAgNIADBFAiEAtub3Ed+xQhbaBigfIG3pZaf8VKWvFSIh2175\nupJfsbkCICalJIrBKnItZVpMEvwG4Oopuch+T3MxpVx+8wzMu9vy\n-----END CERTIFICATE-----\n"
}
},
"peer1.org4.example.com": {
"url": "grpcs://localhost:14051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org4.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICYzCCAgmgAwIBAgIQbdOs1p1J1MAJWjwsm9509DAKBggqhkjOPQQDAjB8MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEcMBoGA1UEChMTcHNwLnRyYWZmaWNmaW5lLmNvbTEiMCAGA1UEAxMZ\ndGxzY2EucHNwLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIxMTE2MDBaFw0yOTA1\nMDkxMTE2MDBaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw\nFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRwwGgYDVQQKExNwc3AudHJhZmZpY2ZpbmUu\nY29tMSIwIAYDVQQDExl0bHNjYS5wc3AudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZI\nzj0CAQYIKoZIzj0DAQcDQgAEqgBAvFLH28B1bU9v9rWSyyhT0oA2kbeIDVkweUHM\nwWrm3oIIgE7DvQILIPY7bcI13oQUN4mzuHCZfV73sLRSZqNtMGswDgYDVR0PAQH/\nBAQDAgGmMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8E\nBTADAQH/MCkGA1UdDgQiBCBn1ZzxNv7+NunGcW5oxKsgm6Gl85pt1Rx/u/X5OOuH\n7jAKBggqhkjOPQQDAgNIADBFAiEAtub3Ed+xQhbaBigfIG3pZaf8VKWvFSIh2175\nupJfsbkCICalJIrBKnItZVpMEvwG4Oopuch+T3MxpVx+8wzMu9vy\n-----END CERTIFICATE-----\n"
}
},
"peer0.org5.example.com": {
"url": "grpcs://localhost:15051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org5.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICgDCCAiegAwIBAgIQcHgIQ/lJmulJVPJ7/Cl/EDAKBggqhkjOPQQDAjCBijEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xIzAhBgNVBAoTGmdvdmVybm1lbnQudHJhZmZpY2ZpbmUuY29tMSkw\nJwYDVQQDEyB0bHNjYS5nb3Zlcm5tZW50LnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1\nMTIxMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGKMQswCQYDVQQGEwJVUzETMBEGA1UE\nCBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEjMCEGA1UEChMa\nZ292ZXJubWVudC50cmFmZmljZmluZS5jb20xKTAnBgNVBAMTIHRsc2NhLmdvdmVy\nbm1lbnQudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE\n+0WWqJrrr9D+Cz//HMzI9P/cisjC8kO2SSf2wc68z9gFlqou5mq/1O+uCSNHTD1s\nbD+BtvvwTvIBJND1o0pdgKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG\nCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCBO\navVbFXndWKmLzd4nN3qQ3KnSaYrllyXgPF98qUfOgTAKBggqhkjOPQQDAgNHADBE\nAiBh03jy37BAXbZfMevAEC4x7PJDDON9yOHTkxHf8pZJ3wIgM/rgG+upf0y2d1R+\nLAYbYO/zNSrNIHCnkqi4Qi34Qjc=\n-----END CERTIFICATE-----\n"
}
},
"peer1.org5.example.com": {
"url": "grpcs://localhost:16051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org5.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICgDCCAiegAwIBAgIQcHgIQ/lJmulJVPJ7/Cl/EDAKBggqhkjOPQQDAjCBijEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xIzAhBgNVBAoTGmdvdmVybm1lbnQudHJhZmZpY2ZpbmUuY29tMSkw\nJwYDVQQDEyB0bHNjYS5nb3Zlcm5tZW50LnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1\nMTIxMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGKMQswCQYDVQQGEwJVUzETMBEGA1UE\nCBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEjMCEGA1UEChMa\nZ292ZXJubWVudC50cmFmZmljZmluZS5jb20xKTAnBgNVBAMTIHRsc2NhLmdvdmVy\nbm1lbnQudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE\n+0WWqJrrr9D+Cz//HMzI9P/cisjC8kO2SSf2wc68z9gFlqou5mq/1O+uCSNHTD1s\nbD+BtvvwTvIBJND1o0pdgKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG\nCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCBO\navVbFXndWKmLzd4nN3qQ3KnSaYrllyXgPF98qUfOgTAKBggqhkjOPQQDAgNHADBE\nAiBh03jy37BAXbZfMevAEC4x7PJDDON9yOHTkxHf8pZJ3wIgM/rgG+upf0y2d1R+\nLAYbYO/zNSrNIHCnkqi4Qi34Qjc=\n-----END CERTIFICATE-----\n"
}
},
"peer0.org6.example.com": {
"url": "grpcs://localhost:17051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org6.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICfTCCAiSgAwIBAgIRAMiXIUFS5FWbhkzb1KD/9ucwCgYIKoZIzj0EAwIwgYgx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSIwIAYDVQQKExlpbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSgw\nJgYDVQQDEx90bHNjYS5pbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMB4XDTE5MDUx\nMjExMTYwMFoXDTI5MDUwOTExMTYwMFowgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQI\nEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMSIwIAYDVQQKExlp\nbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSgwJgYDVQQDEx90bHNjYS5pbnN1cmFu\nY2UudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3vJQ\nt/ol7QfD5CPYusvNF6Y6DcpJmPYuPv11y37csmz3FxU5b8ZHhQ6LydizToXx7Kre\nCxf9/WCH7Ax2dmHCwaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsG\nAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCDb4Zpv\nHUl/+8gsqMfPQ7Nu4Pad0cyHlRfUvqTdZKemTTAKBggqhkjOPQQDAgNHADBEAiAI\nz7f0GXmiOKd3LTNt1D2xemmT+y1VLVJSiCgtcNY8cAIgF/vsel9gGuCGx+Ol0vrr\nrE8zA632kU1oS+rWP+LICZk=\n-----END CERTIFICATE-----\n"
}
},
"peer1.org6.example.com": {
"url": "grpcs://localhost:18051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org6.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICfTCCAiSgAwIBAgIRAMiXIUFS5FWbhkzb1KD/9ucwCgYIKoZIzj0EAwIwgYgx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSIwIAYDVQQKExlpbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSgw\nJgYDVQQDEx90bHNjYS5pbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMB4XDTE5MDUx\nMjExMTYwMFoXDTI5MDUwOTExMTYwMFowgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQI\nEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMSIwIAYDVQQKExlp\nbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSgwJgYDVQQDEx90bHNjYS5pbnN1cmFu\nY2UudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3vJQ\nt/ol7QfD5CPYusvNF6Y6DcpJmPYuPv11y37csmz3FxU5b8ZHhQ6LydizToXx7Kre\nCxf9/WCH7Ax2dmHCwaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsG\nAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCDb4Zpv\nHUl/+8gsqMfPQ7Nu4Pad0cyHlRfUvqTdZKemTTAKBggqhkjOPQQDAgNHADBEAiAI\nz7f0GXmiOKd3LTNt1D2xemmT+y1VLVJSiCgtcNY8cAIgF/vsel9gGuCGx+Ol0vrr\nrE8zA632kU1oS+rWP+LICZk=\n-----END CERTIFICATE-----\n"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://localhost:7054",
"caName": "ca.org1.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIIChzCCAi2gAwIBAgIQOoF14tAweIbZyYIyDnRE3TAKBggqhkjOPQQDAjCBjTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xJjAkBgNVBAoTHWdlbmVyYWxwdWJsaWMudHJhZmZpY2ZpbmUuY29t\nMSkwJwYDVQQDEyBjYS5nZW5lcmFscHVibGljLnRyYWZmaWNmaW5lLmNvbTAeFw0x\nOTA1MTIxMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGNMQswCQYDVQQGEwJVUzETMBEG\nA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEmMCQGA1UE\nChMdZ2VuZXJhbHB1YmxpYy50cmFmZmljZmluZS5jb20xKTAnBgNVBAMTIGNhLmdl\nbmVyYWxwdWJsaWMudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D\nAQcDQgAEa0YngwGM6y0ep8rUt/NTp4Y5UzxvEAW5xvhIIhuBZvMpgAInBu6OzNBX\nL2ZXcMDrYGqNEEnCei2RMz8eHKx0BaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud\nJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud\nDgQiBCAe7BDJ62hOC19wjgYEsRTRmrrv4UXY8W06qg8SbEOjmTAKBggqhkjOPQQD\nAgNIADBFAiEA319TsaN9C2CpfLRF8PLO/QBBxscgyX/8mWSdAbBOKVsCIHR580EJ\nY4V7qwfCL5Kc3fbESxZwxREPeR1dZnrSpFgM\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org2.example.com": {
"url": "https://localhost:8054",
"caName": "ca.org2.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICczCCAhqgAwIBAgIRAOVqLvjfUAmiu2YoC8I/dwgwCgYIKoZIzj0EAwIwgYMx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSEwHwYDVQQKExhzbHBvbGljZS50cmFmZmljZmluZS5jb20xJDAi\nBgNVBAMTG2NhLnNscG9saWNlLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIxMTE2\nMDBaFw0yOTA1MDkxMTE2MDBaMIGDMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2Fs\naWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEhMB8GA1UEChMYc2xwb2xp\nY2UudHJhZmZpY2ZpbmUuY29tMSQwIgYDVQQDExtjYS5zbHBvbGljZS50cmFmZmlj\nZmluZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQDYzSqtOC6vZ2s+R5l\nSLjvfdRG4q8RxQ4OX8H76rhg28JiPz1P75UPYGPGWh0aJRRkcyq10LCcZWHRY2no\nqw4oo20wazAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG\nAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEIImKaCGN2VB3oFeWBNK2\nIt6cUMbVBMWN1Txj4lQ+HDBwMAoGCCqGSM49BAMCA0cAMEQCIDjefm2Y2OXyMM4O\nBhFFlDCxtzPweCz+EGPonYC8hFSvAiBBV76DP36dAbabdBCSw1IR7r6EiMmFwlpz\nqs3xmr3H7A==\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org3.example.com": {
"url": "https://localhost:9054",
"caName": "ca.org3.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICXTCCAgSgAwIBAgIRAKk3BXIIk+ziwNe7yp1xzuUwCgYIKoZIzj0EAwIweTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xHDAaBgNVBAoTE2lzcC50cmFmZmljZmluZS5jb20xHzAdBgNVBAMT\nFmNhLmlzcC50cmFmZmljZmluZS5jb20wHhcNMTkwNTEyMTExNjAwWhcNMjkwNTA5\nMTExNjAwWjB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQG\nA1UEBxMNU2FuIEZyYW5jaXNjbzEcMBoGA1UEChMTaXNwLnRyYWZmaWNmaW5lLmNv\nbTEfMB0GA1UEAxMWY2EuaXNwLnRyYWZmaWNmaW5lLmNvbTBZMBMGByqGSM49AgEG\nCCqGSM49AwEHA0IABNYfwo4mH6GtzxbABGv+n8mKPa6v8O5UBH5sKdXZRX4dyJsm\nLHsI3CxHstH7yBuCkf1DqUTkBgVWdTap5T442QijbTBrMA4GA1UdDwEB/wQEAwIB\npjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB\n/zApBgNVHQ4EIgQgmdYX31zRWiWaovt1TmJajEW26Pq5PywYFOyCKRTJ3l4wCgYI\nKoZIzj0EAwIDRwAwRAIgEMVdYoV+WKQYCdMckF2517jYQlZ7jrl10HsBGq3NBmIC\nIBA4CgzLMt0U2RRast2rQvY3P02ZcVKt8Ud8ctEj0wy6\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org4.example.com": {
"url": "https://localhost:10054",
"caName": "ca.org4.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICXDCCAgOgAwIBAgIQJaUniBDzk/IuUvxmYAfaqDAKBggqhkjOPQQDAjB5MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEcMBoGA1UEChMTcHNwLnRyYWZmaWNmaW5lLmNvbTEfMB0GA1UEAxMW\nY2EucHNwLnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIxMTE2MDBaFw0yOTA1MDkx\nMTE2MDBaMHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYD\nVQQHEw1TYW4gRnJhbmNpc2NvMRwwGgYDVQQKExNwc3AudHJhZmZpY2ZpbmUuY29t\nMR8wHQYDVQQDExZjYS5wc3AudHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYI\nKoZIzj0DAQcDQgAE++gZc/Djq+rtJIQn2rhj5zPcWNm4ndve9yy4QXY0+sUDPnYT\n7gKoBsa/Xb+gueYRmPn2adQ9deIKIeEqjO9XrqNtMGswDgYDVR0PAQH/BAQDAgGm\nMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/\nMCkGA1UdDgQiBCAJH7niEoeaaUBYw6rIAQ1ofwkIwG4mScqDAo+lg7AszDAKBggq\nhkjOPQQDAgNHADBEAiALIx/ZDFt3ymuahlewATncZZ+7+cVM/18Olc4L/41ltgIg\nMWpsKGpvfM9cStYPPQz4qCrhFfV8tZv7OXVBj7qcUK4=\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org5.example.com": {
"url": "https://localhost:11054",
"caName": "ca.org5.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICejCCAiGgAwIBAgIQBuMz8sudpN5iT6fRNEgKNjAKBggqhkjOPQQDAjCBhzEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xIzAhBgNVBAoTGmdvdmVybm1lbnQudHJhZmZpY2ZpbmUuY29tMSYw\nJAYDVQQDEx1jYS5nb3Zlcm5tZW50LnRyYWZmaWNmaW5lLmNvbTAeFw0xOTA1MTIx\nMTE2MDBaFw0yOTA1MDkxMTE2MDBaMIGHMQswCQYDVQQGEwJVUzETMBEGA1UECBMK\nQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEjMCEGA1UEChMaZ292\nZXJubWVudC50cmFmZmljZmluZS5jb20xJjAkBgNVBAMTHWNhLmdvdmVybm1lbnQu\ndHJhZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEII7G/k1K\n9Zs6+EbaTxVhUDV9dFXh59fyI/VFubMwF9fFC9f0lhZh12L7LtMIYwdkqIhneP5Q\n7eX9bg9qv8+NvaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsGAQUF\nBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCB4blrrlcqW\n6vxzyhaF7cKvGKgfqYsohRhQs213vm2T/zAKBggqhkjOPQQDAgNHADBEAiBvZjZk\nIIySpneI1d2iVI08bZjkmo6a2jveAlJfKSRTqwIgFIofZ9plkvLcCJHrktj8q4ry\nmmVhbUvWk/DCWKeYrx4=\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
},
"ca.org6.example.com": {
"url": "https://localhost:12054",
"caName": "ca.org6.example.com",
"httpOptions": {
"verify": false
},
"tlsCACerts": { "cacert": "-----BEGIN CERTIFICATE-----\nMIICeDCCAh6gAwIBAgIRAOqkaWINVGLuSFu0dS+nu4EwCgYIKoZIzj0EAwIwgYUx\nCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g\nRnJhbmNpc2NvMSIwIAYDVQQKExlpbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMSUw\nIwYDVQQDExxjYS5pbnN1cmFuY2UudHJhZmZpY2ZpbmUuY29tMB4XDTE5MDUxMjEx\nMTYwMFoXDTI5MDUwOTExMTYwMFowgYUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpD\nYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMSIwIAYDVQQKExlpbnN1\ncmFuY2UudHJhZmZpY2ZpbmUuY29tMSUwIwYDVQQDExxjYS5pbnN1cmFuY2UudHJh\nZmZpY2ZpbmUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsswvuxQfFKAm\n6uLB0SHmTDZ8XAlDUWt+K/OtzpU2nu/tlku+AlwuwY7VytoBEDOdaQZQCTJxoXFv\nd/r2lYZo7aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsGAQUFBwMC\nBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCBhlhz8nbEUON18\n5O6y51ZjqY5RlKibq6BJUxng6ZFsujAKBggqhkjOPQQDAgNIADBFAiEA7iJE8HiY\nyHVxGqb0/zc03pgM86mWTpmOVvRtNt9PQVsCIDdHceszC3ziOnd1TiT9soO7zMJX\nnXV8IOemP+NXD2qn\n-----END CERTIFICATE-----\n" },
"registrar": {
"enrollId": "admin",
"enrollSecret": "adminpw"
}
}
}
}
for tlsCACerts of the peers of Org1 I put
crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
And for other org peers, I put respective tls path.
Can someone help me to solve this problem? I check everything but I was unable to find out any good reason for this problem. Thank you.

BNA network start failure

I am trying to implement a multi-organization network with fabric kafka with TLS enabled mode. I added currently one organization with Kafka multi orderer mode. The network starts well and peers are joined to channel. I am having .bna file which and trying to install its working fine. After that, I am trying to start a network it fails.
✖ Starting business network definition. This may take a minute...
Error: Error trying to start business network. Error: Failed to receive commit notification from localhost:7051 for transaction '76d7dfd29df7c65442c6fe8ea87898f53604c539910b985c2bb89b3fea0f10a0' within the timeout period
My connection profile JSON is given below
{
"name": "example",
"x-type": "hlfv1",
"x-commitTimeout": 300,
"version": "1.0.0",
"client": {
"organization": "Org1",
"connection": {
"timeout": {
"peer": {
"endorser": "1500",
"eventHub": "1500",
"eventReg": "1500"
},
"orderer": "1500"
}
}
},
"channels": {
"mychannel": {
"orderers": [
"orderer0.example.com",
"orderer1.example.com",
"orderer2.example.com"
],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com",
"peer1.org1.example.com"
],
"certificateAuthorities": [
"ca.org1.example.com"
]
}
},
"orderers": {
"orderer0.example.com": {
"url": "grpcs://localhost:7050",
"eventUrl": "grpcs://localhost:7053",
"grpcOptions": {
"ssl-target-name-override": "orderer0.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICNTCCAdugAwIBAgIQLin25y/L/T+Sxt70ly8EiDAKBggqhkjOPQQDAjBsMQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4\nYW1wbGUuY29tMB4XDTE4MTEyNjA0NTMwMFoXDTI4MTEyMzA0NTMwMFowbDELMAkG\nA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu\nY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt\ncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPztNJPGPaHwTh0eqUpx\nEqIyG5H3gqcuyTyMXra7AvLklgnUaz8gjylBqYkgX/aWe45Ct2DhOF+kOVd4LcSa\nUOajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEB\n/wQFMAMBAf8wKQYDVR0OBCIEIPTcirmpxvqGwramOon7IAwRcqwnra3M1g244gXX\nwIG7MAoGCCqGSM49BAMCA0gAMEUCIQDypo+APwuqv23mosPcLnz4W+BW4C26Vk75\nt1iRSc8h2QIgL8vMHTB7Q+FQDaZDDw+dEv2I+utGLkSoDxTbeZ8taZA=\n-----END CERTIFICATE-----\n"
}
},
"orderer1.example.com": {
"url": "grpcs://localhost:8050",
"eventUrl": "grpcs://localhost:8053",
"grpcOptions": {
"ssl-target-name-override": "orderer1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICNTCCAdugAwIBAgIQLin25y/L/T+Sxt70ly8EiDAKBggqhkjOPQQDAjBsMQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4\nYW1wbGUuY29tMB4XDTE4MTEyNjA0NTMwMFoXDTI4MTEyMzA0NTMwMFowbDELMAkG\nA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu\nY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt\ncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPztNJPGPaHwTh0eqUpx\nEqIyG5H3gqcuyTyMXra7AvLklgnUaz8gjylBqYkgX/aWe45Ct2DhOF+kOVd4LcSa\nUOajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEB\n/wQFMAMBAf8wKQYDVR0OBCIEIPTcirmpxvqGwramOon7IAwRcqwnra3M1g244gXX\nwIG7MAoGCCqGSM49BAMCA0gAMEUCIQDypo+APwuqv23mosPcLnz4W+BW4C26Vk75\nt1iRSc8h2QIgL8vMHTB7Q+FQDaZDDw+dEv2I+utGLkSoDxTbeZ8taZA=\n-----END CERTIFICATE-----\n"
}
},
"orderer2.example.com": {
"url": "grpcs://localhost:9050",
"eventUrl": "grpcs://localhost:9053",
"grpcOptions": {
"ssl-target-name-override": "orderer2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICNTCCAdugAwIBAgIQLin25y/L/T+Sxt70ly8EiDAKBggqhkjOPQQDAjBsMQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4\nYW1wbGUuY29tMB4XDTE4MTEyNjA0NTMwMFoXDTI4MTEyMzA0NTMwMFowbDELMAkG\nA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu\nY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt\ncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPztNJPGPaHwTh0eqUpx\nEqIyG5H3gqcuyTyMXra7AvLklgnUaz8gjylBqYkgX/aWe45Ct2DhOF+kOVd4LcSa\nUOajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEB\n/wQFMAMBAf8wKQYDVR0OBCIEIPTcirmpxvqGwramOon7IAwRcqwnra3M1g244gXX\nwIG7MAoGCCqGSM49BAMCA0gAMEUCIQDypo+APwuqv23mosPcLnz4W+BW4C26Vk75\nt1iRSc8h2QIgL8vMHTB7Q+FQDaZDDw+dEv2I+utGLkSoDxTbeZ8taZA=\n-----END CERTIFICATE-----\n"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://localhost:7051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICSTCCAe+gAwIBAgIQVg6y1pfoW5wzXozRJ5waKTAKBggqhkjOPQQDAjB2MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz\nY2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODExMjYwNDUzMDBaFw0yODExMjMwNDUz\nMDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH\nEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD\nVQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D\nAQcDQgAEnhEe2AtGf1n3oF9DuI9+3404z2K8nZRTn237rbYXduM1QVsmoPJvGIqW\nZREkP39mpFnF1lDm0zhCYM1T1CcAQKNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1Ud\nJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQgOEZjfxZF2IF6\nOqWQUhV7h9BTDLLhE99ZrOZLj5C6LOEwCgYIKoZIzj0EAwIDSAAwRQIhALSE+Fx3\nJI+sBYFvEKM/5bbrABRVzNPv1mLfUiDXHVnMAiBAFa5svqMimJPzfp4/sUWho3Aa\nnbxNC5sUyTCqvxWhfw==\n-----END CERTIFICATE-----\n"
}
},
"peer1.org1.example.com": {
"url": "grpcs://localhost:8051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----\nMIICSTCCAe+gAwIBAgIQVg6y1pfoW5wzXozRJ5waKTAKBggqhkjOPQQDAjB2MQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz\nY2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODExMjYwNDUzMDBaFw0yODExMjMwNDUz\nMDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH\nEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD\nVQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D\nAQcDQgAEnhEe2AtGf1n3oF9DuI9+3404z2K8nZRTn237rbYXduM1QVsmoPJvGIqW\nZREkP39mpFnF1lDm0zhCYM1T1CcAQKNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1Ud\nJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQgOEZjfxZF2IF6\nOqWQUhV7h9BTDLLhE99ZrOZLj5C6LOEwCgYIKoZIzj0EAwIDSAAwRQIhALSE+Fx3\nJI+sBYFvEKM/5bbrABRVzNPv1mLfUiDXHVnMAiBAFa5svqMimJPzfp4/sUWho3Aa\nnbxNC5sUyTCqvxWhfw==\n-----END CERTIFICATE-----\n"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://localhost:7054",
"caName": "ca.org1.example.com",
"httpOptions": {
"verify": false
}
}
}
}
I am getting error as follows in newly created container.
If anyone knows please help me
Link for exact replica of project: Karthik-Venkatesh/Hyperledger-Multi-Organisation-Network
For the above question, the issue found in the configuration of the following environment variables in peer containers of the organization.
CORE_PEER_GOSSIP_ORGLEADER
CORE_PEER_GOSSIP_USELEADERELECTION
Default it uses the configuration CORE_PEER_GOSSIP_USELEADERELECTION=true, I removed the environment variable.
If you want manually define CORE_PEER_GOSSIP_ORGLEADER, please correctly configure the above environment variables.

while Deploying the Hyperledger composer into fabric for multiple Organization where i need to paste the CA certificate for org1 and org2

Open byfn-network.json and replace all instances of the text INSERT_ORG1_CA_CERT with the CA certificate for the peer nodes for Org1: - use the following command to get the certificate from the .pem file so that it can be embedded into the above connection profile.
Copy
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt > /tmp/composer/org1/ca-org1.txt
But i am totally confused which content i need to copy and where to paste
Basically, an organization needs a connection profile. This connection profile has details of all the peers connected in the network as shown below:
{
"name": "byfn-network",
"x-type": "hlfv1",
"version": "1.0.0",
"channels": {
"mychannel": {
"orderers": [
"orderer.example.com"
],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer0.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com",
"peer1.org1.example.com"
],
"certificateAuthorities": [
"ca.org1.example.com"
]
},
"Org2": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com",
"peer1.org2.example.com"
],
"certificateAuthorities": [
"ca.org2.example.com"
]
}
},
"orderers": {
"orderer.example.com": {
"url": "grpcs://localhost:7050",
"grpcOptions": {
"ssl-target-name-override": "orderer.example.com"
},
"tlsCACerts": {
"pem": "INSERT_ORDERER_CA_CERT"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://localhost:7051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com"
},
"tlsCACerts": {
"pem": "INSERT_ORG1_CA_CERT"
}
},
"peer1.org1.example.com": {
"url": "grpcs://localhost:8051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org1.example.com"
},
"tlsCACerts": {
"pem": "INSERT_ORG1_CA_CERT"
}
},
"peer0.org2.example.com": {
"url": "grpcs://localhost:9051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org2.example.com"
},
"tlsCACerts": {
"pem": "INSERT_ORG2_CA_CERT"
}
},
"peer1.org2.example.com": {
"url": "grpcs://localhost:10051",
"grpcOptions": {
"ssl-target-name-override": "peer1.org2.example.com"
},
"tlsCACerts": {
"pem": "INSERT_ORG2_CA_CERT"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://localhost:7054",
"caName": "ca-org1",
"httpOptions": {
"verify": false
}
},
"ca.org2.example.com": {
"url": "https://localhost:8054",
"caName": "ca-org2",
"httpOptions": {
"verify": false
}
}
}
}
As you can see, this file has the connection endpoints for each of the peer of the network. If you want to enable the TLS in the network, you also need to provide the TLS-CA certificates here. This cert goes into "tlsCACerts" section of the json.
So considering your question, byfn-network.json should be your connection profile. And when you run the following command:
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt > /tmp/composer/org1/ca-org1.txt
It will copy the tls-ca cert of peer0.org1 and paste it into a text file at /tmp/composer/org1/ca-org1.txt.
You'll need to copy the content of this text file and paste it into "tlsCACerts" section of the byfn-network.json file.
There's a quite comprehensive tutorial for the same. You can find the references here.

How to deploy .bna file on Hyperledger Fabric on Multiple Hosts

I have followed the tutorial for Hyperledger Fabric on Multiple Hosts
by Wahab https://medium.com/#wahabjawed/hyperledger-fabric-on-multiple-hosts-a33b08ef24f.
Now, I am trying to deploy my own .bna file instead of chaincode. can anybody help how to deploy that. I am unable to install the card.
Connection.json
{
"name": "fabric-network",
"x-type": "hlfv1",
"version": "1.0.0",
"peers": {
"peer0.org1.example.com": {
"url": "grpc://localhost:7051",
"eventUrl": "grpc://localhost:7053"
},
"peer1.org1.example.com": {
"url": "grpc://192.168.64.82:7051",
"eventUrl": "grpc://192.168.64.82:7053"
}
},
"certificateAuthorities": {
"ca.example.com": {
"url": "http://localhost:7054",
"caName": "ca.example.com"
}
},
"orderers": {
"orderer.example.com": {
"url": "grpc://localhost:7050"
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com",
"peer1.org1.example.com"
],
"certificateAuthorities": [
"ca.example.com"
]
}
},
"channels": {
"mychannel": {
"orderers": [
"orderer.example.com"
],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer1.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
}
}
}
},
"client": {
"organization": "Org1",
"connection": {
"timeout": {
"peer": {
"endorser": "300",
"eventHub": "300",
"eventReg": "300"
},
"orderer": "300"
}
}
}
}
I suggest you to follow the official tutorial of Hyperledger Composer.
It is also explained how to configure the connection profile for the cards.
I've been working on the same issue, used the same tutorial. Well I have managed to configure connection profile so that it connects, but got other problems with authorization and stuff.
I think your ports aren't right try these (that worked for me):
"peer0.org1.example.com": {
"url": "grpc://localhost:8051",
"eventUrl": "grpc://localhost:8053"
},
"peer1.org1.example.com": {
"url": "grpc://192.168.64.82:9051",
"eventUrl": "grpc://192.168.64.82:9053"

Resources