配置 CA:
zhaoweipeng@bogon:~$ ls
106 baseos.tar fabric-sdk fabric-sdk (1).tar fixture_106
zhaoweipeng@bogon:~$ cd fixture_106/s
- sample_chaincode_endorsement_policies/ sdkintegration/ src/
- zhaoweipeng@bogon:~$ cd fixture_106/sdkintegration/
- e2e-2Orgs/ gocc/ gocc-bk/ javacc/ peer-base/
- zhaoweipeng@bogon:~$ cd fixture_106/sdkintegration/e2e-2Orgs/
- channel/ tls/
- zhaoweipeng@bogon:~$ cd fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org
- org1.example.com/ org2.example.com/
- zhaoweipeng@bogon:~$ cd fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org
- org1.example.com/ org2.example.com/
- zhaoweipeng@bogon:~$ cd fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org1.example.com/
- ca/ msp/ peers/ tlsca/ users/
- zhaoweipeng@bogon:~$ cd fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org1.example.com/
- ca/ msp/ peers/ tlsca/ users/
- zhaoweipeng@bogon:~$ cd fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org1.example.com/
- ca/ msp/ peers/ tlsca/ users/
- zhaoweipeng@bogon:~$ cd fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org1.example.com/ca/
- zhaoweipeng@bogon:~/fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org1.example.com/ca$ ls
c1736faa0b2c6c0b144339e616d261b1ceef810dda1495f64cc4f6b8a200388d_sk ca.org1.example.com-cert.pem
- zhaoweipeng@bogon:~/fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org1.example.com/ca$ pwd
- /home/zhaoweipeng/fixture_106/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/org1.example.com/ca
来源: http://www.bubuko.com/infodetail-2614429.html