From f2fb6c39a1ea539a2cde9cd7afe2963aa0514b06 Mon Sep 17 00:00:00 2001 From: Sam Yuan Date: Mon, 4 May 2020 13:09:10 +0800 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..1df0d1c --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,23 @@ +# Gradle +# Build your Java project and run tests with Gradle using a Gradle wrapper script. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/java + +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' + +steps: +- task: Gradle@2 + inputs: + workingDirectory: '' + gradleWrapperFile: 'gradlew' + gradleOptions: '-Xmx3072m' + javaHomeOption: 'JDKVersion' + jdkVersionOption: '1.8' + jdkArchitectureOption: 'x64' + publishJUnitResults: true + testResultsFiles: '**/TEST-*.xml' + tasks: 'build' From c6463448090d2b372d62238874f0feff52f07a79 Mon Sep 17 00:00:00 2001 From: SamYuan1990 Date: Mon, 4 May 2020 13:17:51 +0800 Subject: [PATCH 2/2] test --- .gitmodules | 3 + azure-pipelines.yml | 4 + byfn.sh | 610 ++++++++++++++++++ cicd.sh | 21 + ...5dc31dda39484cfe6f9ed947593af4290226042_sk | 5 + .../example.com/ca/ca.example.com-cert.pem | 15 + .../msp/cacerts/ca.example.com-cert.pem | 15 + .../example.com/msp/config.yaml | 14 + .../msp/tlscacerts/tlsca.example.com-cert.pem | 15 + .../msp/cacerts/ca.example.com-cert.pem | 15 + .../orderer.example.com/msp/config.yaml | 14 + ...6d409cadf4306bda1f512d195aaa8b244a43465_sk | 5 + .../signcerts/orderer.example.com-cert.pem | 14 + .../msp/tlscacerts/tlsca.example.com-cert.pem | 15 + .../orderers/orderer.example.com/tls/ca.crt | 15 + .../orderer.example.com/tls/server.crt | 15 + .../orderer.example.com/tls/server.key | 5 + .../msp/cacerts/ca.example.com-cert.pem | 15 + .../orderer2.example.com/msp/config.yaml | 14 + ...ac89da8860777442210ee3e3661189f215ac11c_sk | 5 + .../signcerts/orderer2.example.com-cert.pem | 14 + .../msp/tlscacerts/tlsca.example.com-cert.pem | 15 + .../orderers/orderer2.example.com/tls/ca.crt | 15 + .../orderer2.example.com/tls/server.crt | 15 + .../orderer2.example.com/tls/server.key | 5 + .../msp/cacerts/ca.example.com-cert.pem | 15 + .../orderer3.example.com/msp/config.yaml | 14 + ...afa84d10f407936afb5581e46324a3d10349346_sk | 5 + .../signcerts/orderer3.example.com-cert.pem | 14 + .../msp/tlscacerts/tlsca.example.com-cert.pem | 15 + .../orderers/orderer3.example.com/tls/ca.crt | 15 + .../orderer3.example.com/tls/server.crt | 15 + .../orderer3.example.com/tls/server.key | 5 + .../msp/cacerts/ca.example.com-cert.pem | 15 + .../orderer4.example.com/msp/config.yaml | 14 + ...fa683f66cabcf58ab3cc2fd6f2f7915ed3aca68_sk | 5 + .../signcerts/orderer4.example.com-cert.pem | 14 + .../msp/tlscacerts/tlsca.example.com-cert.pem | 15 + .../orderers/orderer4.example.com/tls/ca.crt | 15 + .../orderer4.example.com/tls/server.crt | 15 + .../orderer4.example.com/tls/server.key | 5 + .../msp/cacerts/ca.example.com-cert.pem | 15 + .../orderer5.example.com/msp/config.yaml | 14 + ...aa24cb7c08b9708dd0e3869c73c3182ef2f24d3_sk | 5 + .../signcerts/orderer5.example.com-cert.pem | 14 + .../msp/tlscacerts/tlsca.example.com-cert.pem | 15 + .../orderers/orderer5.example.com/tls/ca.crt | 15 + .../orderer5.example.com/tls/server.crt | 15 + .../orderer5.example.com/tls/server.key | 5 + ...3efafd619289db4f1c4e128f96f1462b92cb02b_sk | 5 + .../tlsca/tlsca.example.com-cert.pem | 15 + .../msp/cacerts/ca.example.com-cert.pem | 15 + .../users/Admin@example.com/msp/config.yaml | 14 + ...efe4c7c5cb1b955953081b8ac94b0612cc716bb_sk | 5 + .../msp/signcerts/Admin@example.com-cert.pem | 14 + .../msp/tlscacerts/tlsca.example.com-cert.pem | 15 + .../users/Admin@example.com/tls/ca.crt | 15 + .../users/Admin@example.com/tls/client.crt | 14 + .../users/Admin@example.com/tls/client.key | 5 + ...2037f79c71f6b732765ddb78980267d7b7811c0_sk | 5 + .../ca/ca.org1.example.com-cert.pem | 15 + .../msp/cacerts/ca.org1.example.com-cert.pem | 15 + .../org1.example.com/msp/config.yaml | 14 + .../tlsca.org1.example.com-cert.pem | 15 + .../msp/cacerts/ca.org1.example.com-cert.pem | 15 + .../peer0.org1.example.com/msp/config.yaml | 14 + ...4c6a3ce21a834bc0d9399fcc048b4aca441bf39_sk | 5 + .../signcerts/peer0.org1.example.com-cert.pem | 14 + .../tlsca.org1.example.com-cert.pem | 15 + .../peers/peer0.org1.example.com/tls/ca.crt | 15 + .../peer0.org1.example.com/tls/server.crt | 15 + .../peer0.org1.example.com/tls/server.key | 5 + .../msp/cacerts/ca.org1.example.com-cert.pem | 15 + .../peer1.org1.example.com/msp/config.yaml | 14 + ...155a85e56f4abce760c6559bbfbbf5e9bc6bd86_sk | 5 + .../signcerts/peer1.org1.example.com-cert.pem | 14 + .../tlsca.org1.example.com-cert.pem | 15 + .../peers/peer1.org1.example.com/tls/ca.crt | 15 + .../peer1.org1.example.com/tls/server.crt | 15 + .../peer1.org1.example.com/tls/server.key | 5 + ...183d62cd2ab8194d7ca65ef5a241dcd8eee132e_sk | 5 + .../tlsca/tlsca.org1.example.com-cert.pem | 15 + .../msp/cacerts/ca.org1.example.com-cert.pem | 15 + .../Admin@org1.example.com/msp/config.yaml | 14 + ...744136dadf18ab8f7f25b5e8de14bead77f6119_sk | 5 + .../signcerts/Admin@org1.example.com-cert.pem | 14 + .../tlsca.org1.example.com-cert.pem | 15 + .../users/Admin@org1.example.com/tls/ca.crt | 15 + .../Admin@org1.example.com/tls/server.crt | 14 + .../Admin@org1.example.com/tls/server.key | 5 + .../msp/cacerts/ca.org1.example.com-cert.pem | 15 + .../User1@org1.example.com/msp/config.yaml | 14 + ...8b35ad9c6c7a965ab2e20db48068d0ecfe34ab3_sk | 5 + .../signcerts/User1@org1.example.com-cert.pem | 14 + .../tlsca.org1.example.com-cert.pem | 15 + .../users/User1@org1.example.com/tls/ca.crt | 15 + .../User1@org1.example.com/tls/client.crt | 14 + .../User1@org1.example.com/tls/client.key | 5 + ...4f1813f1ce12085dfcc6dcfaffafaa7f8093d57_sk | 5 + .../ca/ca.org2.example.com-cert.pem | 15 + .../msp/cacerts/ca.org2.example.com-cert.pem | 15 + .../org2.example.com/msp/config.yaml | 14 + .../tlsca.org2.example.com-cert.pem | 15 + .../msp/cacerts/ca.org2.example.com-cert.pem | 15 + .../peer0.org2.example.com/msp/config.yaml | 14 + ...4007e20a78c122291cc3b79c6035b43d4eb3858_sk | 5 + .../signcerts/peer0.org2.example.com-cert.pem | 14 + .../tlsca.org2.example.com-cert.pem | 15 + .../peers/peer0.org2.example.com/tls/ca.crt | 15 + .../peer0.org2.example.com/tls/server.crt | 15 + .../peer0.org2.example.com/tls/server.key | 5 + .../msp/cacerts/ca.org2.example.com-cert.pem | 15 + .../peer1.org2.example.com/msp/config.yaml | 14 + ...e53021631e914d37ef84ebe7545b3bf940e4622_sk | 5 + .../signcerts/peer1.org2.example.com-cert.pem | 14 + .../tlsca.org2.example.com-cert.pem | 15 + .../peers/peer1.org2.example.com/tls/ca.crt | 15 + .../peer1.org2.example.com/tls/server.crt | 15 + .../peer1.org2.example.com/tls/server.key | 5 + ...0e3c016835808f39b9321653a3e6fcf313cc103_sk | 5 + .../tlsca/tlsca.org2.example.com-cert.pem | 15 + .../msp/cacerts/ca.org2.example.com-cert.pem | 15 + .../Admin@org2.example.com/msp/config.yaml | 14 + ...182b2fb82eb729c30bdccde67f9a212e90c6059_sk | 5 + .../signcerts/Admin@org2.example.com-cert.pem | 14 + .../tlsca.org2.example.com-cert.pem | 15 + .../users/Admin@org2.example.com/tls/ca.crt | 15 + .../Admin@org2.example.com/tls/server.crt | 14 + .../Admin@org2.example.com/tls/server.key | 5 + .../msp/cacerts/ca.org2.example.com-cert.pem | 15 + .../User1@org2.example.com/msp/config.yaml | 14 + ...0dfd85423c7d39dbec410af35b369f445e6a8c7_sk | 5 + .../signcerts/User1@org2.example.com-cert.pem | 14 + .../tlsca.org2.example.com-cert.pem | 15 + .../users/User1@org2.example.com/tls/ca.crt | 15 + .../User1@org2.example.com/tls/client.crt | 14 + .../User1@org2.example.com/tls/client.key | 5 + fabric-samples | 1 + 138 files changed, 2258 insertions(+) create mode 100644 .gitmodules create mode 100755 byfn.sh create mode 100755 cicd.sh create mode 100644 crypto-config/ordererOrganizations/example.com/ca/bb7990217ef5a70faee6a9c615dc31dda39484cfe6f9ed947593af4290226042_sk create mode 100644 crypto-config/ordererOrganizations/example.com/ca/ca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/msp/cacerts/ca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/msp/config.yaml create mode 100644 crypto-config/ordererOrganizations/example.com/msp/tlscacerts/tlsca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/cacerts/ca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/config.yaml create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/a793e326563031d6c2eca02606d409cadf4306bda1f512d195aaa8b244a43465_sk create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/signcerts/orderer.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.key create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/cacerts/ca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/config.yaml create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/keystore/50b25bca7b731953c98df5984ac89da8860777442210ee3e3661189f215ac11c_sk create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/signcerts/orderer2.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/tlscacerts/tlsca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/ca.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.key create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/cacerts/ca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/config.yaml create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/keystore/e8e5a67158a44bf6aa15463f6afa84d10f407936afb5581e46324a3d10349346_sk create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/signcerts/orderer3.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/tlscacerts/tlsca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/ca.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.key create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/cacerts/ca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/config.yaml create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/keystore/eded663f54840feeb4910d7c6fa683f66cabcf58ab3cc2fd6f2f7915ed3aca68_sk create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/signcerts/orderer4.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/tlscacerts/tlsca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/ca.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.key create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/cacerts/ca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/config.yaml create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/keystore/e87eb364ae6fcc407fc2300acaa24cb7c08b9708dd0e3869c73c3182ef2f24d3_sk create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/signcerts/orderer5.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/tlscacerts/tlsca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/ca.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt create mode 100644 crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.key create mode 100644 crypto-config/ordererOrganizations/example.com/tlsca/84ec49ffe04ca7d2c9de586243efafd619289db4f1c4e128f96f1462b92cb02b_sk create mode 100644 crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/cacerts/ca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/config.yaml create mode 100644 crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/6a0d6c1f7081d3837d23cf772efe4c7c5cb1b955953081b8ac94b0612cc716bb_sk create mode 100644 crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts/Admin@example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/tlscacerts/tlsca.example.com-cert.pem create mode 100644 crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/ca.crt create mode 100644 crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.crt create mode 100644 crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.key create mode 100644 crypto-config/peerOrganizations/org1.example.com/ca/144ef3d5991a9ecdacac349112037f79c71f6b732765ddb78980267d7b7811c0_sk create mode 100644 crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/89dfd656cbb28fb94381efbfc4c6a3ce21a834bc0d9399fcc048b4aca441bf39_sk create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/signcerts/peer0.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/keystore/04427bb234a9970785b34ab99155a85e56f4abce760c6559bbfbbf5e9bc6bd86_sk create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/signcerts/peer1.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.crt create mode 100644 crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.key create mode 100644 crypto-config/peerOrganizations/org1.example.com/tlsca/6e758355ed63f2203e785a685183d62cd2ab8194d7ca65ef5a241dcd8eee132e_sk create mode 100644 crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/7ea3345950f939023bd3cfe33744136dadf18ab8f7f25b5e8de14bead77f6119_sk create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/ca.crt create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.crt create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.key create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/ddc96e32370b8cc922f67537c8b35ad9c6c7a965ab2e20db48068d0ecfe34ab3_sk create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/signcerts/User1@org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/ca.crt create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.crt create mode 100644 crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.key create mode 100644 crypto-config/peerOrganizations/org2.example.com/ca/8418aecfae0e1f2a2c89146814f1813f1ce12085dfcc6dcfaffafaa7f8093d57_sk create mode 100644 crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/keystore/57d51c1394581a18f6c1db5dd4007e20a78c122291cc3b79c6035b43d4eb3858_sk create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/signcerts/peer0.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.crt create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.key create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/keystore/89092f18ccd232e56d7b725bee53021631e914d37ef84ebe7545b3bf940e4622_sk create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/signcerts/peer1.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.crt create mode 100644 crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.key create mode 100644 crypto-config/peerOrganizations/org2.example.com/tlsca/34ab3fc4a2e4519dd49a9df870e3c016835808f39b9321653a3e6fcf313cc103_sk create mode 100644 crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/b96523042b55ef9129309a188182b2fb82eb729c30bdccde67f9a212e90c6059_sk create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/Admin@org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/ca.crt create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.crt create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.key create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/config.yaml create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/7cb37895c5178829a655ef14c0dfd85423c7d39dbec410af35b369f445e6a8c7_sk create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/signcerts/User1@org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/ca.crt create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.crt create mode 100644 crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.key create mode 160000 fabric-samples diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..83b97d4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "fabric-samples"] + path = fabric-samples + url = https://github.com/hyperledger/fabric-samples diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1df0d1c..992f785 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,6 @@ # Gradle + + # Build your Java project and run tests with Gradle using a Gradle wrapper script. # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/java @@ -10,6 +12,8 @@ pool: vmImage: 'ubuntu-latest' steps: +#- script: ./cicd.sh +# displayName: 'Run cicd script' - task: Gradle@2 inputs: workingDirectory: '' diff --git a/byfn.sh b/byfn.sh new file mode 100755 index 0000000..922f522 --- /dev/null +++ b/byfn.sh @@ -0,0 +1,610 @@ +#!/bin/bash +# +# Copyright IBM Corp All Rights Reserved +# +# SPDX-License-Identifier: Apache-2.0 +# + +# This script will orchestrate a sample end-to-end execution of the Hyperledger +# Fabric network. +# +# The end-to-end verification provisions a sample Fabric network consisting of +# two organizations, each maintaining two peers, and a “solo” ordering service. +# +# This verification makes use of two fundamental tools, which are necessary to +# create a functioning transactional network with digital signature validation +# and access control: +# +# * cryptogen - generates the x509 certificates used to identify and +# authenticate the various components in the network. +# * configtxgen - generates the requisite configuration artifacts for orderer +# bootstrap and channel creation. +# +# Each tool consumes a configuration yaml file, within which we specify the topology +# of our network (cryptogen) and the location of our certificates for various +# configuration operations (configtxgen). Once the tools have been successfully run, +# we are able to launch our network. More detail on the tools and the structure of +# the network will be provided later in this document. For now, let's get going... + +# prepending $PWD/../bin to PATH to ensure we are picking up the correct binaries +# this may be commented out to resolve installed version of tools if desired +export PATH=${PWD}/../bin:${PWD}:$PATH +export FABRIC_CFG_PATH=${PWD} +export VERBOSE=false + +# Print the usage message +function printHelp() { + echo "Usage: " + echo " byfn.sh [-c ] [-t ] [-d ] [-f ] [-s ] [-l ] [-o ] [-i ] [-a] [-n] [-v]" + echo " - one of 'up', 'down', 'restart', 'generate' or 'upgrade'" + echo " - 'up' - bring up the network with docker-compose up" + echo " - 'down' - clear the network with docker-compose down" + echo " - 'restart' - restart the network" + echo " - 'generate' - generate required certificates and genesis block" + echo " - 'upgrade' - upgrade the network from version 1.3.x to 1.4.0" + echo " -c - channel name to use (defaults to \"mychannel\")" + echo " -t - CLI timeout duration in seconds (defaults to 10)" + echo " -d - delay duration in seconds (defaults to 3)" + echo " -f - specify which docker-compose file use (defaults to docker-compose-cli.yaml)" + echo " -s - the database backend to use: goleveldb (default) or couchdb" + echo " -l - the chaincode language: golang (default) or node" + echo " -o - the consensus-type of the ordering service: solo (default), kafka, or etcdraft" + echo " -i - the tag to be used to launch the network (defaults to \"latest\")" + echo " -a - launch certificate authorities (no certificate authorities are launched by default)" + echo " -n - do not deploy chaincode (abstore chaincode is deployed by default)" + echo " -v - verbose mode" + echo " byfn.sh -h (print this message)" + echo + echo "Typically, one would first generate the required certificates and " + echo "genesis block, then bring up the network. e.g.:" + echo + echo " byfn.sh generate -c mychannel" + echo " byfn.sh up -c mychannel -s couchdb" + echo " byfn.sh up -c mychannel -s couchdb -i 1.4.0" + echo " byfn.sh up -l node" + echo " byfn.sh down -c mychannel" + echo " byfn.sh upgrade -c mychannel" + echo + echo "Taking all defaults:" + echo " byfn.sh generate" + echo " byfn.sh up" + echo " byfn.sh down" +} + +# Ask user for confirmation to proceed +function askProceed() { + read -p "Continue? [Y/n] " ans + case "$ans" in + y | Y | "") + echo "proceeding ..." + ;; + n | N) + echo "exiting..." + exit 1 + ;; + *) + echo "invalid response" + askProceed + ;; + esac +} + +# Obtain CONTAINER_IDS and remove them +# TODO Might want to make this optional - could clear other containers +function clearContainers() { + CONTAINER_IDS=$(docker ps -a | awk '($2 ~ /dev-peer.*.mycc.*/) {print $1}') + if [ -z "$CONTAINER_IDS" -o "$CONTAINER_IDS" == " " ]; then + echo "---- No containers available for deletion ----" + else + docker rm -f $CONTAINER_IDS + fi +} + +# Delete any images that were generated as a part of this setup +# specifically the following images are often left behind: +# TODO list generated image naming patterns +function removeUnwantedImages() { + DOCKER_IMAGE_IDS=$(docker images | awk '($1 ~ /dev-peer.*.mycc.*/) {print $3}') + if [ -z "$DOCKER_IMAGE_IDS" -o "$DOCKER_IMAGE_IDS" == " " ]; then + echo "---- No images available for deletion ----" + else + docker rmi -f $DOCKER_IMAGE_IDS + fi +} + +# Versions of fabric known not to work with this release of first-network +BLACKLISTED_VERSIONS="^1\.0\. ^1\.1\.0-preview ^1\.1\.0-alpha" + +# Do some basic sanity checking to make sure that the appropriate versions of fabric +# binaries/images are available. In the future, additional checking for the presence +# of go or other items could be added. +function checkPrereqs() { + # Note, we check configtxlator externally because it does not require a config file, and peer in the + # docker image because of FAB-8551 that makes configtxlator return 'development version' in docker + LOCAL_VERSION=$(configtxlator version | sed -ne 's/ Version: //p') + DOCKER_IMAGE_VERSION=$(docker run --rm hyperledger/fabric-tools:$IMAGETAG peer version | sed -ne 's/ Version: //p' | head -1) + + echo "LOCAL_VERSION=$LOCAL_VERSION" + echo "DOCKER_IMAGE_VERSION=$DOCKER_IMAGE_VERSION" + + if [ "$LOCAL_VERSION" != "$DOCKER_IMAGE_VERSION" ]; then + echo "=================== WARNING ===================" + echo " Local fabric binaries and docker images are " + echo " out of sync. This may cause problems. " + echo "===============================================" + fi + + for UNSUPPORTED_VERSION in $BLACKLISTED_VERSIONS; do + echo "$LOCAL_VERSION" | grep -q $UNSUPPORTED_VERSION + if [ $? -eq 0 ]; then + echo "ERROR! Local Fabric binary version of $LOCAL_VERSION does not match this newer version of BYFN and is unsupported. Either move to a later version of Fabric or checkout an earlier version of fabric-samples." + exit 1 + fi + + echo "$DOCKER_IMAGE_VERSION" | grep -q $UNSUPPORTED_VERSION + if [ $? -eq 0 ]; then + echo "ERROR! Fabric Docker image version of $DOCKER_IMAGE_VERSION does not match this newer version of BYFN and is unsupported. Either move to a later version of Fabric or checkout an earlier version of fabric-samples." + exit 1 + fi + done +} + +# Generate the needed certificates, the genesis block and start the network. +function networkUp() { + checkPrereqs + # generate artifacts if they don't exist + if [ ! -d "crypto-config" ]; then + generateCerts + replacePrivateKey + generateChannelArtifacts + fi + generateChannelArtifacts + COMPOSE_FILES="-f ${COMPOSE_FILE}" + if [ "${CERTIFICATE_AUTHORITIES}" == "true" ]; then + COMPOSE_FILES="${COMPOSE_FILES} -f ${COMPOSE_FILE_CA}" + export BYFN_CA1_PRIVATE_KEY=$(cd crypto-config/peerOrganizations/org1.example.com/ca && ls *_sk) + export BYFN_CA2_PRIVATE_KEY=$(cd crypto-config/peerOrganizations/org2.example.com/ca && ls *_sk) + fi + if [ "${CONSENSUS_TYPE}" == "kafka" ]; then + COMPOSE_FILES="${COMPOSE_FILES} -f ${COMPOSE_FILE_KAFKA}" + elif [ "${CONSENSUS_TYPE}" == "etcdraft" ]; then + COMPOSE_FILES="${COMPOSE_FILES} -f ${COMPOSE_FILE_RAFT2}" + fi + if [ "${IF_COUCHDB}" == "couchdb" ]; then + COMPOSE_FILES="${COMPOSE_FILES} -f ${COMPOSE_FILE_COUCH}" + fi + IMAGE_TAG=$IMAGETAG docker-compose ${COMPOSE_FILES} up -d 2>&1 + docker ps -a + if [ $? -ne 0 ]; then + echo "ERROR !!!! Unable to start network" + exit 1 + fi + + if [ "$CONSENSUS_TYPE" == "kafka" ]; then + sleep 1 + echo "Sleeping 10s to allow $CONSENSUS_TYPE cluster to complete booting" + sleep 9 + fi + + if [ "$CONSENSUS_TYPE" == "etcdraft" ]; then + sleep 1 + echo "Sleeping 15s to allow $CONSENSUS_TYPE cluster to complete booting" + sleep 14 + fi + + # now run the end to end script + docker exec cli scripts/script.sh $CHANNEL_NAME $CLI_DELAY $LANGUAGE $CLI_TIMEOUT $VERBOSE $NO_CHAINCODE + if [ $? -ne 0 ]; then + echo "ERROR !!!! Test failed" + exit 1 + fi +} + +# Upgrade the network components which are at version 1.3.x to 1.4.x +# Stop the orderer and peers, backup the ledger for orderer and peers, cleanup chaincode containers and images +# and relaunch the orderer and peers with latest tag +function upgradeNetwork() { + if [[ "$IMAGETAG" == *"1.4"* ]] || [[ $IMAGETAG == "latest" ]]; then + docker inspect -f '{{.Config.Volumes}}' orderer.example.com | grep -q '/var/hyperledger/production/orderer' + if [ $? -ne 0 ]; then + echo "ERROR !!!! This network does not appear to start with fabric-samples >= v1.3.x?" + exit 1 + fi + + LEDGERS_BACKUP=./ledgers-backup + + # create ledger-backup directory + mkdir -p $LEDGERS_BACKUP + + export IMAGE_TAG=$IMAGETAG + COMPOSE_FILES="-f ${COMPOSE_FILE}" + if [ "${CERTIFICATE_AUTHORITIES}" == "true" ]; then + COMPOSE_FILES="${COMPOSE_FILES} -f ${COMPOSE_FILE_CA}" + export BYFN_CA1_PRIVATE_KEY=$(cd crypto-config/peerOrganizations/org1.example.com/ca && ls *_sk) + export BYFN_CA2_PRIVATE_KEY=$(cd crypto-config/peerOrganizations/org2.example.com/ca && ls *_sk) + fi + if [ "${CONSENSUS_TYPE}" == "kafka" ]; then + COMPOSE_FILES="${COMPOSE_FILES} -f ${COMPOSE_FILE_KAFKA}" + elif [ "${CONSENSUS_TYPE}" == "etcdraft" ]; then + COMPOSE_FILES="${COMPOSE_FILES} -f ${COMPOSE_FILE_RAFT2}" + fi + if [ "${IF_COUCHDB}" == "couchdb" ]; then + COMPOSE_FILES="${COMPOSE_FILES} -f ${COMPOSE_FILE_COUCH}" + fi + + # removing the cli container + docker-compose $COMPOSE_FILES stop cli + docker-compose $COMPOSE_FILES up -d --no-deps cli + + echo "Upgrading orderer" + docker-compose $COMPOSE_FILES stop orderer.example.com + docker cp -a orderer.example.com:/var/hyperledger/production/orderer $LEDGERS_BACKUP/orderer.example.com + docker-compose $COMPOSE_FILES up -d --no-deps orderer.example.com + + for PEER in peer0.org1.example.com peer1.org1.example.com peer0.org2.example.com peer1.org2.example.com; do + echo "Upgrading peer $PEER" + + # Stop the peer and backup its ledger + docker-compose $COMPOSE_FILES stop $PEER + docker cp -a $PEER:/var/hyperledger/production $LEDGERS_BACKUP/$PEER/ + + # Remove any old containers and images for this peer + CC_CONTAINERS=$(docker ps | grep dev-$PEER | awk '{print $1}') + if [ -n "$CC_CONTAINERS" ]; then + docker rm -f $CC_CONTAINERS + fi + CC_IMAGES=$(docker images | grep dev-$PEER | awk '{print $1}') + if [ -n "$CC_IMAGES" ]; then + docker rmi -f $CC_IMAGES + fi + + # Start the peer again + docker-compose $COMPOSE_FILES up -d --no-deps $PEER + done + + docker exec cli sh -c "SYS_CHANNEL=$CH_NAME && scripts/upgrade_to_v14.sh $CHANNEL_NAME $CLI_DELAY $LANGUAGE $CLI_TIMEOUT $VERBOSE" + if [ $? -ne 0 ]; then + echo "ERROR !!!! Test failed" + exit 1 + fi + else + echo "ERROR !!!! Pass the v1.4.x image tag" + fi +} + +# Tear down running network +function networkDown() { + # stop org3 containers also in addition to org1 and org2, in case we were running sample to add org3 + # stop kafka and zookeeper containers in case we're running with kafka consensus-type + docker-compose -f $COMPOSE_FILE -f $COMPOSE_FILE_COUCH -f $COMPOSE_FILE_KAFKA -f $COMPOSE_FILE_RAFT2 -f $COMPOSE_FILE_CA -f $COMPOSE_FILE_ORG3 down --volumes --remove-orphans + + # Don't remove the generated artifacts -- note, the ledgers are always removed + if [ "$MODE" != "restart" ]; then + # Bring down the network, deleting the volumes + #Delete any ledger backups + docker run -v $PWD:/tmp/first-network --rm hyperledger/fabric-tools:$IMAGETAG rm -Rf /tmp/first-network/ledgers-backup + #Cleanup the chaincode containers + clearContainers + #Cleanup images + removeUnwantedImages + # remove orderer block and other channel configuration transactions and certs + rm -rf channel-artifacts/*.block channel-artifacts/*.tx crypto-config ./org3-artifacts/crypto-config/ channel-artifacts/org3.json + # remove the docker-compose yaml file that was customized to the example + rm -f docker-compose-e2e.yaml + fi +} + +# Using docker-compose-e2e-template.yaml, replace constants with private key file names +# generated by the cryptogen tool and output a docker-compose.yaml specific to this +# configuration +function replacePrivateKey() { + # sed on MacOSX does not support -i flag with a null extension. We will use + # 't' for our back-up's extension and delete it at the end of the function + ARCH=$(uname -s | grep Darwin) + if [ "$ARCH" == "Darwin" ]; then + OPTS="-it" + else + OPTS="-i" + fi + + # Copy the template to the file that will be modified to add the private key + cp docker-compose-e2e-template.yaml docker-compose-e2e.yaml + + # The next steps will replace the template's contents with the + # actual values of the private key file names for the two CAs. + CURRENT_DIR=$PWD + cd crypto-config/peerOrganizations/org1.example.com/ca/ + PRIV_KEY=$(ls *_sk) + cd "$CURRENT_DIR" + sed $OPTS "s/CA1_PRIVATE_KEY/${PRIV_KEY}/g" docker-compose-e2e.yaml + cd crypto-config/peerOrganizations/org2.example.com/ca/ + PRIV_KEY=$(ls *_sk) + cd "$CURRENT_DIR" + sed $OPTS "s/CA2_PRIVATE_KEY/${PRIV_KEY}/g" docker-compose-e2e.yaml + # If MacOSX, remove the temporary backup of the docker-compose file + if [ "$ARCH" == "Darwin" ]; then + rm docker-compose-e2e.yamlt + fi +} + +# We will use the cryptogen tool to generate the cryptographic material (x509 certs) +# for our various network entities. The certificates are based on a standard PKI +# implementation where validation is achieved by reaching a common trust anchor. +# +# Cryptogen consumes a file - ``crypto-config.yaml`` - that contains the network +# topology and allows us to generate a library of certificates for both the +# Organizations and the components that belong to those Organizations. Each +# Organization is provisioned a unique root certificate (``ca-cert``), that binds +# specific components (peers and orderers) to that Org. Transactions and communications +# within Fabric are signed by an entity's private key (``keystore``), and then verified +# by means of a public key (``signcerts``). You will notice a "count" variable within +# this file. We use this to specify the number of peers per Organization; in our +# case it's two peers per Org. The rest of this template is extremely +# self-explanatory. +# +# After we run the tool, the certs will be parked in a folder titled ``crypto-config``. + +# Generates Org certs using cryptogen tool +function generateCerts() { + which cryptogen + if [ "$?" -ne 0 ]; then + echo "cryptogen tool not found. exiting" + exit 1 + fi + echo + echo "##########################################################" + echo "##### Generate certificates using cryptogen tool #########" + echo "##########################################################" + + if [ -d "crypto-config" ]; then + rm -Rf crypto-config + fi + set -x + cryptogen generate --config=./crypto-config.yaml + res=$? + set +x + if [ $res -ne 0 ]; then + echo "Failed to generate certificates..." + exit 1 + fi + echo + echo "Generate CCP files for Org1 and Org2" + ./ccp-generate.sh +} + +# The `configtxgen tool is used to create four artifacts: orderer **bootstrap +# block**, fabric **channel configuration transaction**, and two **anchor +# peer transactions** - one for each Peer Org. +# +# The orderer block is the genesis block for the ordering service, and the +# channel transaction file is broadcast to the orderer at channel creation +# time. The anchor peer transactions, as the name might suggest, specify each +# Org's anchor peer on this channel. +# +# Configtxgen consumes a file - ``configtx.yaml`` - that contains the definitions +# for the sample network. There are three members - one Orderer Org (``OrdererOrg``) +# and two Peer Orgs (``Org1`` & ``Org2``) each managing and maintaining two peer nodes. +# This file also specifies a consortium - ``SampleConsortium`` - consisting of our +# two Peer Orgs. Pay specific attention to the "Profiles" section at the top of +# this file. You will notice that we have two unique headers. One for the orderer genesis +# block - ``TwoOrgsOrdererGenesis`` - and one for our channel - ``TwoOrgsChannel``. +# These headers are important, as we will pass them in as arguments when we create +# our artifacts. This file also contains two additional specifications that are worth +# noting. Firstly, we specify the anchor peers for each Peer Org +# (``peer0.org1.example.com`` & ``peer0.org2.example.com``). Secondly, we point to +# the location of the MSP directory for each member, in turn allowing us to store the +# root certificates for each Org in the orderer genesis block. This is a critical +# concept. Now any network entity communicating with the ordering service can have +# its digital signature verified. +# +# This function will generate the crypto material and our four configuration +# artifacts, and subsequently output these files into the ``channel-artifacts`` +# folder. +# +# If you receive the following warning, it can be safely ignored: +# +# [bccsp] GetDefault -> WARN 001 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP. +# +# You can ignore the logs regarding intermediate certs, we are not using them in +# this crypto implementation. + +# Generate orderer genesis block, channel configuration transaction and +# anchor peer update transactions +function generateChannelArtifacts() { + which configtxgen + if [ "$?" -ne 0 ]; then + echo "configtxgen tool not found. exiting" + exit 1 + fi + + echo "##########################################################" + echo "######### Generating Orderer Genesis block ##############" + echo "##########################################################" + # Note: For some unknown reason (at least for now) the block file can't be + # named orderer.genesis.block or the orderer will fail to launch! + echo "CONSENSUS_TYPE="$CONSENSUS_TYPE + set -x + if [ "$CONSENSUS_TYPE" == "solo" ]; then + configtxgen -profile TwoOrgsOrdererGenesis -channelID $SYS_CHANNEL -outputBlock ./channel-artifacts/genesis.block + elif [ "$CONSENSUS_TYPE" == "kafka" ]; then + configtxgen -profile SampleDevModeKafka -channelID $SYS_CHANNEL -outputBlock ./channel-artifacts/genesis.block + elif [ "$CONSENSUS_TYPE" == "etcdraft" ]; then + configtxgen -profile SampleMultiNodeEtcdRaft -channelID $SYS_CHANNEL -outputBlock ./channel-artifacts/genesis.block + else + set +x + echo "unrecognized CONSESUS_TYPE='$CONSENSUS_TYPE'. exiting" + exit 1 + fi + res=$? + set +x + if [ $res -ne 0 ]; then + echo "Failed to generate orderer genesis block..." + exit 1 + fi + echo + echo "#################################################################" + echo "### Generating channel configuration transaction 'channel.tx' ###" + echo "#################################################################" + set -x + configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID $CHANNEL_NAME + res=$? + set +x + if [ $res -ne 0 ]; then + echo "Failed to generate channel configuration transaction..." + exit 1 + fi + + echo + echo "#################################################################" + echo "####### Generating anchor peer update for Org1MSP ##########" + echo "#################################################################" + set -x + configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org1MSPanchors.tx -channelID $CHANNEL_NAME -asOrg Org1MSP + res=$? + set +x + if [ $res -ne 0 ]; then + echo "Failed to generate anchor peer update for Org1MSP..." + exit 1 + fi + + echo + echo "#################################################################" + echo "####### Generating anchor peer update for Org2MSP ##########" + echo "#################################################################" + set -x + configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate \ + ./channel-artifacts/Org2MSPanchors.tx -channelID $CHANNEL_NAME -asOrg Org2MSP + res=$? + set +x + if [ $res -ne 0 ]; then + echo "Failed to generate anchor peer update for Org2MSP..." + exit 1 + fi + echo +} + +# Obtain the OS and Architecture string that will be used to select the correct +# native binaries for your platform, e.g., darwin-amd64 or linux-amd64 +OS_ARCH=$(echo "$(uname -s | tr '[:upper:]' '[:lower:]' | sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')" | awk '{print tolower($0)}') +# timeout duration - the duration the CLI should wait for a response from +# another container before giving up +CLI_TIMEOUT=10 +# default for delay between commands +CLI_DELAY=3 +# system channel name defaults to "byfn-sys-channel" +SYS_CHANNEL="byfn-sys-channel" +# channel name defaults to "mychannel" +CHANNEL_NAME="mychannel" +# use this as the default docker-compose yaml definition +COMPOSE_FILE=docker-compose-cli.yaml +# +COMPOSE_FILE_COUCH=docker-compose-couch.yaml +# org3 docker compose file +COMPOSE_FILE_ORG3=docker-compose-org3.yaml +# kafka and zookeeper compose file +COMPOSE_FILE_KAFKA=docker-compose-kafka.yaml +# two additional etcd/raft orderers +COMPOSE_FILE_RAFT2=docker-compose-etcdraft2.yaml +# certificate authorities compose file +COMPOSE_FILE_CA=docker-compose-ca.yaml +# +# use golang as the default language for chaincode +LANGUAGE=golang +# default image tag +IMAGETAG="latest" +# default consensus type +CONSENSUS_TYPE="solo" +# Parse commandline args +if [ "$1" = "-m" ]; then # supports old usage, muscle memory is powerful! + shift +fi +MODE=$1 +shift +# Determine whether starting, stopping, restarting, generating or upgrading +if [ "$MODE" == "up" ]; then + EXPMODE="Starting" +elif [ "$MODE" == "down" ]; then + EXPMODE="Stopping" +elif [ "$MODE" == "restart" ]; then + EXPMODE="Restarting" +elif [ "$MODE" == "generate" ]; then + EXPMODE="Generating certs and genesis block" +elif [ "$MODE" == "upgrade" ]; then + EXPMODE="Upgrading the network" +else + printHelp + exit 1 +fi + +while getopts "h?c:t:d:f:s:l:i:o:anv" opt; do + case "$opt" in + h | \?) + printHelp + exit 0 + ;; + c) + CHANNEL_NAME=$OPTARG + ;; + t) + CLI_TIMEOUT=$OPTARG + ;; + d) + CLI_DELAY=$OPTARG + ;; + f) + COMPOSE_FILE=$OPTARG + ;; + s) + IF_COUCHDB=$OPTARG + ;; + l) + LANGUAGE=$OPTARG + ;; + i) + IMAGETAG=$(go env GOARCH)"-"$OPTARG + ;; + o) + CONSENSUS_TYPE=$OPTARG + ;; + a) + CERTIFICATE_AUTHORITIES=true + ;; + n) + NO_CHAINCODE=true + ;; + v) + VERBOSE=true + ;; + esac +done + + +# Announce what was requested + +if [ "${IF_COUCHDB}" == "couchdb" ]; then + echo + echo "${EXPMODE} for channel '${CHANNEL_NAME}' with CLI timeout of '${CLI_TIMEOUT}' seconds and CLI delay of '${CLI_DELAY}' seconds and using database '${IF_COUCHDB}'" +else + echo "${EXPMODE} for channel '${CHANNEL_NAME}' with CLI timeout of '${CLI_TIMEOUT}' seconds and CLI delay of '${CLI_DELAY}' seconds" +fi +# ask for confirmation to proceed +# askProceed + +#Create the network using docker compose +if [ "${MODE}" == "up" ]; then + networkUp +elif [ "${MODE}" == "down" ]; then ## Clear the network + networkDown +elif [ "${MODE}" == "generate" ]; then ## Generate Artifacts + generateCerts + replacePrivateKey + generateChannelArtifacts +elif [ "${MODE}" == "restart" ]; then ## Restart the network + networkDown + networkUp +elif [ "${MODE}" == "upgrade" ]; then ## Upgrade the network from version 1.2.x to 1.3.x + upgradeNetwork +else + printHelp + exit 1 +fi diff --git a/cicd.sh b/cicd.sh new file mode 100755 index 0000000..811438e --- /dev/null +++ b/cicd.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +git submodule update --init --recursive +cd fabric-samples +pwd +git branch -a +git checkout release-1.4 +curl -vsS https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh -o ./scripts/bootstrap.sh +chmod +x ./scripts/bootstrap.sh +./scripts/bootstrap.sh 1.4.4 1.4.4 1.4.4 +cd .. +cp -r crypto-config ./fabric-samples/first-network +cp ./byfn.sh ./fabric-samples/first-network +cd fabric-samples/first-network +./byfn.sh up -i 1.4.4 -s couchdb -a +cd ../.. +echo byfn=byfn +sudo echo 127.0.0.1 peer0.org2.example.com >> /etc/hosts +sudo echo 127.0.0.1 orderer.example.com >> /etc/hosts +sudo echo 127.0.0.1 peer0.org1.example.com >> /etc/hosts +gradle -v +gradle test \ No newline at end of file diff --git a/crypto-config/ordererOrganizations/example.com/ca/bb7990217ef5a70faee6a9c615dc31dda39484cfe6f9ed947593af4290226042_sk b/crypto-config/ordererOrganizations/example.com/ca/bb7990217ef5a70faee6a9c615dc31dda39484cfe6f9ed947593af4290226042_sk new file mode 100644 index 0000000..88c3574 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/ca/bb7990217ef5a70faee6a9c615dc31dda39484cfe6f9ed947593af4290226042_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgRXPKnMvBMINzQxCd +V9Z9YezIZVVqH01cudflB6MKssWhRANCAASBL2cwR5XZ50nGpVYRTLphxPgA4BUX +pBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FD +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/ca/ca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/ca/ca.example.com-cert.pem new file mode 100644 index 0000000..46efe32 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/ca/ca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICPjCCAeSgAwIBAgIRAIf9dfJAIJU4ifbMzI/XirYwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGkxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5j +b20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBL2cwR5XZ50nGpVYRTLphxPgA +4BUXpBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FDo20w +azAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEILt5kCF+9acPruapxhXcMd2jlITP +5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUCIQC3BrVEH6HKaw/DoUG6V0JZ +0k+qbtxXYAvXt340/ofoHQIgfecfvbSxPbYi4x1H1RUY02zBkbU6bpGhnY10j6v5 +gM8= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/msp/cacerts/ca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/msp/cacerts/ca.example.com-cert.pem new file mode 100644 index 0000000..46efe32 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/msp/cacerts/ca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICPjCCAeSgAwIBAgIRAIf9dfJAIJU4ifbMzI/XirYwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGkxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5j +b20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBL2cwR5XZ50nGpVYRTLphxPgA +4BUXpBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FDo20w +azAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEILt5kCF+9acPruapxhXcMd2jlITP +5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUCIQC3BrVEH6HKaw/DoUG6V0JZ +0k+qbtxXYAvXt340/ofoHQIgfecfvbSxPbYi4x1H1RUY02zBkbU6bpGhnY10j6v5 +gM8= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/msp/config.yaml b/crypto-config/ordererOrganizations/example.com/msp/config.yaml new file mode 100644 index 0000000..8846e9d --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/ordererOrganizations/example.com/msp/tlscacerts/tlsca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/msp/tlscacerts/tlsca.example.com-cert.pem new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/msp/tlscacerts/tlsca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/cacerts/ca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/cacerts/ca.example.com-cert.pem new file mode 100644 index 0000000..46efe32 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/cacerts/ca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICPjCCAeSgAwIBAgIRAIf9dfJAIJU4ifbMzI/XirYwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGkxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5j +b20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBL2cwR5XZ50nGpVYRTLphxPgA +4BUXpBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FDo20w +azAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEILt5kCF+9acPruapxhXcMd2jlITP +5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUCIQC3BrVEH6HKaw/DoUG6V0JZ +0k+qbtxXYAvXt340/ofoHQIgfecfvbSxPbYi4x1H1RUY02zBkbU6bpGhnY10j6v5 +gM8= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/config.yaml b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/config.yaml new file mode 100644 index 0000000..8846e9d --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/a793e326563031d6c2eca02606d409cadf4306bda1f512d195aaa8b244a43465_sk b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/a793e326563031d6c2eca02606d409cadf4306bda1f512d195aaa8b244a43465_sk new file mode 100644 index 0000000..0ad0067 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/a793e326563031d6c2eca02606d409cadf4306bda1f512d195aaa8b244a43465_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgULqdXcw2de6SuQc6 +sVK1S4XYORc1vhRWo0dZbXAydjOhRANCAARjPszpIDqRKbp4AWEhCefjmIxxfjWP +tfw7A357X5H8ymOMvXkf/3xTRB2b+ZLwpNKizkFtiPcufzMRPvPR8ajF +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/signcerts/orderer.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/signcerts/orderer.example.com-cert.pem new file mode 100644 index 0000000..0bf7de0 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/signcerts/orderer.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICHjCCAcWgAwIBAgIRAJ0AQ7e8Sd0Od+iNhwj5GtUwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGoxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRAwDgYDVQQLEwdvcmRlcmVyMRwwGgYDVQQDExNvcmRlcmVyLmV4YW1wbGUu +Y29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYz7M6SA6kSm6eAFhIQnn45iM +cX41j7X8OwN+e1+R/MpjjL15H/98U0Qdm/mS8KTSos5BbYj3Ln8zET7z0fGoxaNN +MEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgu3mQ +IX71pw+u5qnGFdwx3aOUhM/m+e2UdZOvQpAiYEIwCgYIKoZIzj0EAwIDRwAwRAIg +ELooJusojKDat5jYEHkvpGGILz6u8oDnjhe6jLpFH90CIA4j0DZvTMRZLfzlDwog +JoWVju64CHXGil9ktVmDdOi8 +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt new file mode 100644 index 0000000..a5d0207 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICWTCCAf+gAwIBAgIQW68cZFpjroJy9ZOPtCqoejAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowWDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xHDAaBgNVBAMTE29yZGVyZXIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIB +BggqhkjOPQMBBwNCAARbQ+XviQVwMSOkTJaki06bfjvPLFAcm2/z7tgk+mVrCrBh +XWQpaM/N7R0SS6E1n0tO939W+9naJDAR+jYXZF2Jo4GWMIGTMA4GA1UdDwEB/wQE +AwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIw +ADArBgNVHSMEJDAigCCE7En/4Eyn0sneWGJD76/WGSidtPHE4Sj5bxRiuSywKzAn +BgNVHREEIDAeghNvcmRlcmVyLmV4YW1wbGUuY29tggdvcmRlcmVyMAoGCCqGSM49 +BAMCA0gAMEUCIQDWtw9LAuVYcmC2bBzQPyyUWv9cMF4J5zoRu4ZcWbMi+gIgBz0i +woW+I5PcquMBNipd0Fi/voYP1CESHOD0y1v3PUM= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.key b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.key new file mode 100644 index 0000000..e0f0be8 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgKxM1+n5cjOMHRnHX +YcAiPaktR+8HoJU1mYTgPFT3wkWhRANCAARbQ+XviQVwMSOkTJaki06bfjvPLFAc +m2/z7tgk+mVrCrBhXWQpaM/N7R0SS6E1n0tO939W+9naJDAR+jYXZF2J +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/cacerts/ca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/cacerts/ca.example.com-cert.pem new file mode 100644 index 0000000..46efe32 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/cacerts/ca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICPjCCAeSgAwIBAgIRAIf9dfJAIJU4ifbMzI/XirYwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGkxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5j +b20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBL2cwR5XZ50nGpVYRTLphxPgA +4BUXpBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FDo20w +azAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEILt5kCF+9acPruapxhXcMd2jlITP +5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUCIQC3BrVEH6HKaw/DoUG6V0JZ +0k+qbtxXYAvXt340/ofoHQIgfecfvbSxPbYi4x1H1RUY02zBkbU6bpGhnY10j6v5 +gM8= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/config.yaml b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/config.yaml new file mode 100644 index 0000000..8846e9d --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/keystore/50b25bca7b731953c98df5984ac89da8860777442210ee3e3661189f215ac11c_sk b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/keystore/50b25bca7b731953c98df5984ac89da8860777442210ee3e3661189f215ac11c_sk new file mode 100644 index 0000000..8bda5c3 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/keystore/50b25bca7b731953c98df5984ac89da8860777442210ee3e3661189f215ac11c_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg7X7lwk1tSBk/mg+k +KLI82CNPYUp8Leo+RZiHU5pGdLmhRANCAASdeLLaroVdQs8dZ16Z30J/cL7K4Qtz +L9ur7VNZvBBXwlHYR3q+7b3cdN0vKx3JqSf7Xb3wYFlHdp94bcy/zvSG +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/signcerts/orderer2.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/signcerts/orderer2.example.com-cert.pem new file mode 100644 index 0000000..8ed458b --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/signcerts/orderer2.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICHjCCAcWgAwIBAgIQQi/Sq1DjFsF5CtQIfD2XNDAKBggqhkjOPQQDAjBpMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xFzAVBgNVBAMTDmNhLmV4YW1w +bGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowazELMAkGA1UE +BhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lz +Y28xEDAOBgNVBAsTB29yZGVyZXIxHTAbBgNVBAMTFG9yZGVyZXIyLmV4YW1wbGUu +Y29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEnXiy2q6FXULPHWdemd9Cf3C+ +yuELcy/bq+1TWbwQV8JR2Ed6vu293HTdLysdyakn+1298GBZR3afeG3Mv870hqNN +MEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgu3mQ +IX71pw+u5qnGFdwx3aOUhM/m+e2UdZOvQpAiYEIwCgYIKoZIzj0EAwIDRwAwRAIg +AlpWtRJeDLZYAjKT58G/fMTqEr+qWuKN3fCIU4c/lAkCIAlYjfxLgd6DQTmYa6p8 +NELOI7I9IaO6bqSRpoVgHEbX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/tlscacerts/tlsca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/tlscacerts/tlsca.example.com-cert.pem new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/tlscacerts/tlsca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/ca.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/ca.crt new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt new file mode 100644 index 0000000..febf883 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICXDCCAgKgAwIBAgIQXL16h55IXHpoavjJ4a4tiTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowWTELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xHTAbBgNVBAMTFG9yZGVyZXIyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0C +AQYIKoZIzj0DAQcDQgAEqqSIyfQLzSYjFjbe7ZrfqY/mKCEispsTtgciXjvKLguS +ryvaNp6DONtVGZ0Uw+4rK6J5QrcX20ydF4gBcj/zJ6OBmDCBlTAOBgNVHQ8BAf8E +BAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQC +MAAwKwYDVR0jBCQwIoAghOxJ/+BMp9LJ3lhiQ++v1hkonbTxxOEo+W8UYrkssCsw +KQYDVR0RBCIwIIIUb3JkZXJlcjIuZXhhbXBsZS5jb22CCG9yZGVyZXIyMAoGCCqG +SM49BAMCA0gAMEUCIQCX4bOMP18f6QKUU1j2sMJ6BbSYdq+w3iHZcbsezF9pbAIg +XXJyO8NinQB7+IUGruC1Z9OLKQ4mZ8XA+myYUdvlhKM= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.key b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.key new file mode 100644 index 0000000..fc98181 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgCRCJFa2M5f0Z+JCX +xui/aiZg/Ri5izXhLdzu3Uz4B/mhRANCAASqpIjJ9AvNJiMWNt7tmt+pj+YoISKy +mxO2ByJeO8ouC5KvK9o2noM421UZnRTD7isronlCtxfbTJ0XiAFyP/Mn +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/cacerts/ca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/cacerts/ca.example.com-cert.pem new file mode 100644 index 0000000..46efe32 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/cacerts/ca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICPjCCAeSgAwIBAgIRAIf9dfJAIJU4ifbMzI/XirYwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGkxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5j +b20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBL2cwR5XZ50nGpVYRTLphxPgA +4BUXpBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FDo20w +azAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEILt5kCF+9acPruapxhXcMd2jlITP +5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUCIQC3BrVEH6HKaw/DoUG6V0JZ +0k+qbtxXYAvXt340/ofoHQIgfecfvbSxPbYi4x1H1RUY02zBkbU6bpGhnY10j6v5 +gM8= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/config.yaml b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/config.yaml new file mode 100644 index 0000000..8846e9d --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/keystore/e8e5a67158a44bf6aa15463f6afa84d10f407936afb5581e46324a3d10349346_sk b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/keystore/e8e5a67158a44bf6aa15463f6afa84d10f407936afb5581e46324a3d10349346_sk new file mode 100644 index 0000000..b690434 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/keystore/e8e5a67158a44bf6aa15463f6afa84d10f407936afb5581e46324a3d10349346_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgJCrBP2WBTkk8vxGE +US4ODhs4ABUcZvERN6aV5w2JPyKhRANCAARozjjCN2WZlrBKcyJdxnprrT6J878o +0stivrYdoDgn6TzvgsJnavNdDV9QpU5iOUPhNnqqk7ypO5TG61DHMwqC +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/signcerts/orderer3.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/signcerts/orderer3.example.com-cert.pem new file mode 100644 index 0000000..4c6692f --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/signcerts/orderer3.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICHzCCAcWgAwIBAgIQHVpqwQ1AEnixwQGiYrkLoDAKBggqhkjOPQQDAjBpMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xFzAVBgNVBAMTDmNhLmV4YW1w +bGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowazELMAkGA1UE +BhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lz +Y28xEDAOBgNVBAsTB29yZGVyZXIxHTAbBgNVBAMTFG9yZGVyZXIzLmV4YW1wbGUu +Y29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaM44wjdlmZawSnMiXcZ6a60+ +ifO/KNLLYr62HaA4J+k874LCZ2rzXQ1fUKVOYjlD4TZ6qpO8qTuUxutQxzMKgqNN +MEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgu3mQ +IX71pw+u5qnGFdwx3aOUhM/m+e2UdZOvQpAiYEIwCgYIKoZIzj0EAwIDSAAwRQIh +AJL3aATdsFlKvKkAom0ZkyYpfRBjTeIjQyiuc75K/srqAiA2wc3QI5LrGD9xGu/d +Dwpooqb3PnAFMLCJgjpgAHPlPA== +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/tlscacerts/tlsca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/tlscacerts/tlsca.example.com-cert.pem new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/tlscacerts/tlsca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/ca.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/ca.crt new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt new file mode 100644 index 0000000..2dad22f --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICWzCCAgKgAwIBAgIQV1KTNn1gHDFxDX3T3s6FlDAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowWTELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xHTAbBgNVBAMTFG9yZGVyZXIzLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0C +AQYIKoZIzj0DAQcDQgAEbSnIE6I5yC7jzIMHhZ5IRRHwQxWOwT4DyjgnNO7UlWoZ +AQ4vgjO6g7D5iThamtjK7vAvvsNBG6kBG+ig/7Ppl6OBmDCBlTAOBgNVHQ8BAf8E +BAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQC +MAAwKwYDVR0jBCQwIoAghOxJ/+BMp9LJ3lhiQ++v1hkonbTxxOEo+W8UYrkssCsw +KQYDVR0RBCIwIIIUb3JkZXJlcjMuZXhhbXBsZS5jb22CCG9yZGVyZXIzMAoGCCqG +SM49BAMCA0cAMEQCIBTs8h+2KQpJUS/SUN5IcM4BtVzh0ohNkhIeSJ+BOVnnAiAY +OR+9Pd0m+0PVHQn5j5eRhZw8mbJbll0qegl17nlm1A== +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.key b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.key new file mode 100644 index 0000000..a50d988 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgdhjMykKLmUxqySBi +DfaDKy0oa/x26ak9XRzsM4b+8UOhRANCAARtKcgTojnILuPMgweFnkhFEfBDFY7B +PgPKOCc07tSVahkBDi+CM7qDsPmJOFqa2Mru8C++w0EbqQEb6KD/s+mX +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/cacerts/ca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/cacerts/ca.example.com-cert.pem new file mode 100644 index 0000000..46efe32 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/cacerts/ca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICPjCCAeSgAwIBAgIRAIf9dfJAIJU4ifbMzI/XirYwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGkxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5j +b20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBL2cwR5XZ50nGpVYRTLphxPgA +4BUXpBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FDo20w +azAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEILt5kCF+9acPruapxhXcMd2jlITP +5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUCIQC3BrVEH6HKaw/DoUG6V0JZ +0k+qbtxXYAvXt340/ofoHQIgfecfvbSxPbYi4x1H1RUY02zBkbU6bpGhnY10j6v5 +gM8= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/config.yaml b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/config.yaml new file mode 100644 index 0000000..8846e9d --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/keystore/eded663f54840feeb4910d7c6fa683f66cabcf58ab3cc2fd6f2f7915ed3aca68_sk b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/keystore/eded663f54840feeb4910d7c6fa683f66cabcf58ab3cc2fd6f2f7915ed3aca68_sk new file mode 100644 index 0000000..cac2a43 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/keystore/eded663f54840feeb4910d7c6fa683f66cabcf58ab3cc2fd6f2f7915ed3aca68_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgNmDzUSS+5iFGATA6 +4yKHcurtAZZEV4tv6Vp31d10MxihRANCAAT0tmxXZPu2pFN5ysfEWJsTlZOj+MYj +2x0/OVE3R8gVOvgXbcpMGuUZq2pDQgItx/oSw/93tVoTvCTxasw1eh05 +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/signcerts/orderer4.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/signcerts/orderer4.example.com-cert.pem new file mode 100644 index 0000000..4a58912 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/signcerts/orderer4.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICHzCCAcagAwIBAgIRAJct+yeJ6sG2ktY5T4gJPHEwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGsxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRAwDgYDVQQLEwdvcmRlcmVyMR0wGwYDVQQDExRvcmRlcmVyNC5leGFtcGxl +LmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPS2bFdk+7akU3nKx8RYmxOV +k6P4xiPbHT85UTdHyBU6+Bdtykwa5RmrakNCAi3H+hLD/3e1WhO8JPFqzDV6HTmj +TTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAILt5 +kCF+9acPruapxhXcMd2jlITP5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0cAMEQC +IDrCs3InTtL+C6RGEseQCoMu9gJuZ4Ucqw4emDjb9PYjAiAgjaMsUFu4N6WZ+way +QSWSjqeXaUXtz8gF7HsEKDLtRw== +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/tlscacerts/tlsca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/tlscacerts/tlsca.example.com-cert.pem new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/tlscacerts/tlsca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/ca.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/ca.crt new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt new file mode 100644 index 0000000..0e4d17b --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICWzCCAgKgAwIBAgIQIIXTJWiFhkDABU49h4XACzAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowWTELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xHTAbBgNVBAMTFG9yZGVyZXI0LmV4YW1wbGUuY29tMFkwEwYHKoZIzj0C +AQYIKoZIzj0DAQcDQgAE7xeADGGexdj1eD5F7nwDeByceSMYqLhH4dvfH3i3JC2e +tpG6PMztMcqr0Nv4LVXD+Mv5rnxZcMvm2BQabxYzgKOBmDCBlTAOBgNVHQ8BAf8E +BAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQC +MAAwKwYDVR0jBCQwIoAghOxJ/+BMp9LJ3lhiQ++v1hkonbTxxOEo+W8UYrkssCsw +KQYDVR0RBCIwIIIUb3JkZXJlcjQuZXhhbXBsZS5jb22CCG9yZGVyZXI0MAoGCCqG +SM49BAMCA0cAMEQCIHCa1RrQcHkqlFYY649TUZOAiEY0r6s4QRNKqlKI1FuUAiBO +Wc+2Dmp/FD75FpE2gkGwCYrIbS69kcGXOAUjjwsryg== +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.key b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.key new file mode 100644 index 0000000..ecd919e --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQggjoiG4vtlylR+Q9u +vARGGK8+VF9J16rLai42ZhtVBbuhRANCAATvF4AMYZ7F2PV4PkXufAN4HJx5Ixio +uEfh298feLckLZ62kbo8zO0xyqvQ2/gtVcP4y/mufFlwy+bYFBpvFjOA +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/cacerts/ca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/cacerts/ca.example.com-cert.pem new file mode 100644 index 0000000..46efe32 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/cacerts/ca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICPjCCAeSgAwIBAgIRAIf9dfJAIJU4ifbMzI/XirYwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGkxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5j +b20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBL2cwR5XZ50nGpVYRTLphxPgA +4BUXpBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FDo20w +azAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEILt5kCF+9acPruapxhXcMd2jlITP +5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUCIQC3BrVEH6HKaw/DoUG6V0JZ +0k+qbtxXYAvXt340/ofoHQIgfecfvbSxPbYi4x1H1RUY02zBkbU6bpGhnY10j6v5 +gM8= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/config.yaml b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/config.yaml new file mode 100644 index 0000000..8846e9d --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/keystore/e87eb364ae6fcc407fc2300acaa24cb7c08b9708dd0e3869c73c3182ef2f24d3_sk b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/keystore/e87eb364ae6fcc407fc2300acaa24cb7c08b9708dd0e3869c73c3182ef2f24d3_sk new file mode 100644 index 0000000..14b62b5 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/keystore/e87eb364ae6fcc407fc2300acaa24cb7c08b9708dd0e3869c73c3182ef2f24d3_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgst39Ru8LRUbIh0gf +o13xuqErLurPIKGUhXF185ouj52hRANCAASQycukNf3iZELe3uE9cRZpT0a21B8H +jhdESc9SVHrvmBXlhV/r59UgiqD9w31fVug1UV9QB/xukFT6089XEaiD +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/signcerts/orderer5.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/signcerts/orderer5.example.com-cert.pem new file mode 100644 index 0000000..65a9843 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/signcerts/orderer5.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICIDCCAcagAwIBAgIRAISxEKmggLux6yad95G1zJ8wCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGsxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRAwDgYDVQQLEwdvcmRlcmVyMR0wGwYDVQQDExRvcmRlcmVyNS5leGFtcGxl +LmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJDJy6Q1/eJkQt7e4T1xFmlP +RrbUHweOF0RJz1JUeu+YFeWFX+vn1SCKoP3DfV9W6DVRX1AH/G6QVPrTz1cRqIOj +TTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAILt5 +kCF+9acPruapxhXcMd2jlITP5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUC +IQDFF50HGLkDvj3X5g6PNDFdMb2pWvuprokxDu7trLvC5gIge5RKNsUR+n/ZCKsL +7572h6ZktHe6OfyF2kaf+4XlU5I= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/tlscacerts/tlsca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/tlscacerts/tlsca.example.com-cert.pem new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/msp/tlscacerts/tlsca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/ca.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/ca.crt new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt new file mode 100644 index 0000000..2ba87a3 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICXTCCAgOgAwIBAgIRAIKzRRb2ufvIxsyl0GJyLj8wCgYIKoZIzj0EAwIwbDEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5l +eGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMFkxCzAJ +BgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJh +bmNpc2NvMR0wGwYDVQQDExRvcmRlcmVyNS5leGFtcGxlLmNvbTBZMBMGByqGSM49 +AgEGCCqGSM49AwEHA0IABDKM1YK8NH7kj07uZhACoTkbJKdjhjU0fKUODt6TRh0m +OShc+wWkGOsOFcPPhR+pC+wfbZ3XrABvxnYcz64gFSCjgZgwgZUwDgYDVR0PAQH/ +BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8E +AjAAMCsGA1UdIwQkMCKAIITsSf/gTKfSyd5YYkPvr9YZKJ208cThKPlvFGK5LLAr +MCkGA1UdEQQiMCCCFG9yZGVyZXI1LmV4YW1wbGUuY29tgghvcmRlcmVyNTAKBggq +hkjOPQQDAgNIADBFAiEA5rzBbupHxUWVYPxPI2j0/thJYgb2b5YP1xDMK5HJOxkC +IAT0nLU1yVozAZmDQOoXGOgyNrln1WCM7qWbWukIuRrO +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.key b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.key new file mode 100644 index 0000000..ea84947 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgr0Qofaj595JcCw9g +RRJJ8KALnWXGQ85fGaPKItmHjAShRANCAAQyjNWCvDR+5I9O7mYQAqE5GySnY4Y1 +NHylDg7ek0YdJjkoXPsFpBjrDhXDz4UfqQvsH22d16wAb8Z2HM+uIBUg +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/tlsca/84ec49ffe04ca7d2c9de586243efafd619289db4f1c4e128f96f1462b92cb02b_sk b/crypto-config/ordererOrganizations/example.com/tlsca/84ec49ffe04ca7d2c9de586243efafd619289db4f1c4e128f96f1462b92cb02b_sk new file mode 100644 index 0000000..1f51698 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/tlsca/84ec49ffe04ca7d2c9de586243efafd619289db4f1c4e128f96f1462b92cb02b_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgcRBG1uxi9D/CHISH +ENrW0cTZ9zzk3i/OcA0pTw2EGRehRANCAASdU7/wg/EggRPITIFcn9OjP18UeEHC +MylbctFySb3rITvxfOGOy0OZBryJIzIYZnKg+c/dqtw07RnhpxIgBAZD +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/cacerts/ca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/cacerts/ca.example.com-cert.pem new file mode 100644 index 0000000..46efe32 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/cacerts/ca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICPjCCAeSgAwIBAgIRAIf9dfJAIJU4ifbMzI/XirYwCgYIKoZIzj0EAwIwaTEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt +cGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBaMGkxCzAJBgNV +BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp +c2NvMRQwEgYDVQQKEwtleGFtcGxlLmNvbTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5j +b20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBL2cwR5XZ50nGpVYRTLphxPgA +4BUXpBQne8ru56FFKN/J/mR0pVDRuuMZyMnFeQ5pFUQQCzHBdlayv0Ng07FDo20w +azAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMB +MA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEILt5kCF+9acPruapxhXcMd2jlITP +5vntlHWTr0KQImBCMAoGCCqGSM49BAMCA0gAMEUCIQC3BrVEH6HKaw/DoUG6V0JZ +0k+qbtxXYAvXt340/ofoHQIgfecfvbSxPbYi4x1H1RUY02zBkbU6bpGhnY10j6v5 +gM8= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/config.yaml b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/config.yaml new file mode 100644 index 0000000..8846e9d --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/6a0d6c1f7081d3837d23cf772efe4c7c5cb1b955953081b8ac94b0612cc716bb_sk b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/6a0d6c1f7081d3837d23cf772efe4c7c5cb1b955953081b8ac94b0612cc716bb_sk new file mode 100644 index 0000000..37b1f69 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/6a0d6c1f7081d3837d23cf772efe4c7c5cb1b955953081b8ac94b0612cc716bb_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgsUtG9mMJg7nSDFF+ +Z0nf5o15RASWiMN6B79IGlLqtnyhRANCAAQPcNNzQvxigESCO+1wsaF5Zhcm+uxN +o/Zf6kugv1oV3O3FoksSfAZc4Jr9AY1PlYgfllH34M/ue4Asb+pc72s+ +-----END PRIVATE KEY----- diff --git a/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts/Admin@example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts/Admin@example.com-cert.pem new file mode 100644 index 0000000..f452793 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts/Admin@example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICGjCCAcGgAwIBAgIQY3IT4OVv0KaNrsGXxKSaFDAKBggqhkjOPQQDAjBpMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xFzAVBgNVBAMTDmNhLmV4YW1w +bGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowZzELMAkGA1UE +BhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lz +Y28xDzANBgNVBAsTBmNsaWVudDEaMBgGA1UEAwwRQWRtaW5AZXhhbXBsZS5jb20w +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQPcNNzQvxigESCO+1wsaF5Zhcm+uxN +o/Zf6kugv1oV3O3FoksSfAZc4Jr9AY1PlYgfllH34M/ue4Asb+pc72s+o00wSzAO +BgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCC7eZAhfvWn +D67mqcYV3DHdo5SEz+b57ZR1k69CkCJgQjAKBggqhkjOPQQDAgNHADBEAiBvpdDL +ikFJWR3GMAzPZ6YvoLYVxWtCO3zkPQ0Q3HWwcAIgfaTKGx9v4Gv2UxfSV/cnjgxF +5XVflmM68tnVu/K8fEM= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/tlscacerts/tlsca.example.com-cert.pem b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/tlscacerts/tlsca.example.com-cert.pem new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/tlscacerts/tlsca.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/ca.crt b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/ca.crt new file mode 100644 index 0000000..d0bfb3c --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICQjCCAemgAwIBAgIQTeiId4id5aS1kqntehDDKTAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowbDELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt +cGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1Tv/CD8SCBE8hMgVyf +06M/XxR4QcIzKVty0XJJveshO/F84Y7LQ5kGvIkjMhhmcqD5z92q3DTtGeGnEiAE +BkOjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB +BQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghOxJ/+BMp9LJ3lhiQ++v +1hkonbTxxOEo+W8UYrkssCswCgYIKoZIzj0EAwIDRwAwRAIgRPADNLUyYMm4mI42 +Pv06zcVduvZo2qIZVNld+IshhTwCIGeeYRnfzsx+MdLLQEydckYuRdnDJYllJ/R5 +60+Fh4sX +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.crt b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.crt new file mode 100644 index 0000000..d54a140 --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.crt @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICLDCCAdKgAwIBAgIQOJ5238TrpUs56dDNq4ZRWzAKBggqhkjOPQQDAjBsMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMB4XDTIwMDMzMDA4NTcwMFoXDTMwMDMyODA4NTcwMFowVjELMAkG +A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu +Y2lzY28xGjAYBgNVBAMMEUFkbWluQGV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYI +KoZIzj0DAQcDQgAEcr+DWpmyPTXfS2FmPa8uQ8FlMxp5fc0mz6lEW6/xR8BF0GgF +YYeIQFWQjQWDPBleefeXmrW1Qw7lpx2DnEDvpaNsMGowDgYDVR0PAQH/BAQDAgWg +MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMCsG +A1UdIwQkMCKAIITsSf/gTKfSyd5YYkPvr9YZKJ208cThKPlvFGK5LLArMAoGCCqG +SM49BAMCA0gAMEUCIQCkoVKeru+GJdiszR3nXSjyLQBIBvJ/YjoQE7B1g3OfTQIg +T7b680lhJfK3tWA5hjdjfwal2czMNlXMigcu/khnNFI= +-----END CERTIFICATE----- diff --git a/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.key b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.key new file mode 100644 index 0000000..c7d0f1a --- /dev/null +++ b/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgkq/xzD6d0w6wqmDy +lFVena3qF1RBFojw13Cv6dkly4OhRANCAARyv4NambI9Nd9LYWY9ry5DwWUzGnl9 +zSbPqURbr/FHwEXQaAVhh4hAVZCNBYM8GV5595eatbVDDuWnHYOcQO+l +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/ca/144ef3d5991a9ecdacac349112037f79c71f6b732765ddb78980267d7b7811c0_sk b/crypto-config/peerOrganizations/org1.example.com/ca/144ef3d5991a9ecdacac349112037f79c71f6b732765ddb78980267d7b7811c0_sk new file mode 100644 index 0000000..e570532 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/ca/144ef3d5991a9ecdacac349112037f79c71f6b732765ddb78980267d7b7811c0_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg6AurxtFGQHFjYXKH +Y5tyrfDL5BsF6ljp9+I6eTGXr0qhRANCAAQKQiyboYFVZzUL63FiGE4EkshkEXLp +ucYXPjssBT6j4a/7dsn3GBieUhE2zSfAjiHKks7BQx2oi99RrICPV4E0 +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem new file mode 100644 index 0000000..0e864be --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUTCCAfegAwIBAgIQZaTo4iHkZ7CR6PMG/Ry4oTAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBa +MHMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMRwwGgYDVQQD +ExNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +CkIsm6GBVWc1C+txYhhOBJLIZBFy6bnGFz47LAU+o+Gv+3bJ9xgYnlIRNs0nwI4h +ypLOwUMdqIvfUayAj1eBNKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG +CCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCAU +TvPVmRqezaysNJESA395xx9rcydl3beJgCZ9e3gRwDAKBggqhkjOPQQDAgNIADBF +AiEAgFqvFjqB198IvxaymS4s5+LK9wjC7OdM9pvgAWrc6f0CICivdM7FPKkEzq4b +HC7RnXnu9we2quliLZgxEmy89tlZ +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem new file mode 100644 index 0000000..0e864be --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUTCCAfegAwIBAgIQZaTo4iHkZ7CR6PMG/Ry4oTAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBa +MHMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMRwwGgYDVQQD +ExNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +CkIsm6GBVWc1C+txYhhOBJLIZBFy6bnGFz47LAU+o+Gv+3bJ9xgYnlIRNs0nwI4h +ypLOwUMdqIvfUayAj1eBNKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG +CCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCAU +TvPVmRqezaysNJESA395xx9rcydl3beJgCZ9e3gRwDAKBggqhkjOPQQDAgNIADBF +AiEAgFqvFjqB198IvxaymS4s5+LK9wjC7OdM9pvgAWrc6f0CICivdM7FPKkEzq4b +HC7RnXnu9we2quliLZgxEmy89tlZ +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org1.example.com/msp/config.yaml new file mode 100644 index 0000000..13af53a --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem new file mode 100644 index 0000000..0e864be --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUTCCAfegAwIBAgIQZaTo4iHkZ7CR6PMG/Ry4oTAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBa +MHMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMRwwGgYDVQQD +ExNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +CkIsm6GBVWc1C+txYhhOBJLIZBFy6bnGFz47LAU+o+Gv+3bJ9xgYnlIRNs0nwI4h +ypLOwUMdqIvfUayAj1eBNKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG +CCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCAU +TvPVmRqezaysNJESA395xx9rcydl3beJgCZ9e3gRwDAKBggqhkjOPQQDAgNIADBF +AiEAgFqvFjqB198IvxaymS4s5+LK9wjC7OdM9pvgAWrc6f0CICivdM7FPKkEzq4b +HC7RnXnu9we2quliLZgxEmy89tlZ +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/config.yaml new file mode 100644 index 0000000..13af53a --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/89dfd656cbb28fb94381efbfc4c6a3ce21a834bc0d9399fcc048b4aca441bf39_sk b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/89dfd656cbb28fb94381efbfc4c6a3ce21a834bc0d9399fcc048b4aca441bf39_sk new file mode 100644 index 0000000..601faef --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/89dfd656cbb28fb94381efbfc4c6a3ce21a834bc0d9399fcc048b4aca441bf39_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg0CokpC9iTOLc6HmD +g8pmb0UHwD7TJSwzH8CxLOpIG8ihRANCAARD0m997wU7O3+7ObjUmdY2w88qwMeU +ntInxTDYjQ8bsyELlE7Lnznn7k9Pn8pnemx5beIFX0w5fgndP4wpfWGN +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/signcerts/peer0.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/signcerts/peer0.org1.example.com-cert.pem new file mode 100644 index 0000000..01e8276 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/signcerts/peer0.org1.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICKDCCAc+gAwIBAgIRAJLm3QFDrZZ/V0H6sSC6+50wCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBqMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzENMAsGA1UECxMEcGVlcjEfMB0GA1UEAxMWcGVlcjAub3Jn +MS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEPSb33vBTs7 +f7s5uNSZ1jbDzyrAx5Se0ifFMNiNDxuzIQuUTsufOefuT0+fymd6bHlt4gVfTDl+ +Cd0/jCl9YY2jTTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1Ud +IwQkMCKAIBRO89WZGp7NrKw0kRIDf3nHH2tzJ2Xdt4mAJn17eBHAMAoGCCqGSM49 +BAMCA0cAMEQCIBuNT/xuW35lKIZmm71AqdlwKoNKkC18dbZPHsRcfcB+AiBOGzaU +/EML5qLuEp+n9ABFJMjmoy4ryQTsUR6I6AoJQw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt new file mode 100644 index 0000000..fb35d85 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICZzCCAg2gAwIBAgIQNFKinaplKzC2SDuNgy4AjjAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMFsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMR8wHQYDVQQDExZwZWVyMC5vcmcxLmV4YW1wbGUuY29t +MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE/ZE7rkDhGOTzgi/5K4jPIlIXJNhL +7P/CFluzoJQYKvD+EJV2XNoIvkMbKlt6Esm5bwv1DhcK2SBqYv7l3Y03zKOBlzCB +lDAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMC +MAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgbnWDVe1j8iA+eFpoUYPWLNKrgZTX +ymXvWiQdzY7uEy4wKAYDVR0RBCEwH4IWcGVlcjAub3JnMS5leGFtcGxlLmNvbYIF +cGVlcjAwCgYIKoZIzj0EAwIDSAAwRQIhANDAtVivrUl7j6I7V5odZElNM1nGYp6z +XdoudbC1xUDLAiBhI+s1vCw6JIkXhJcoR1rnmAWXsDEpvNifBiw6z9reDA== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key new file mode 100644 index 0000000..3a0e392 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgV5P2S4WbM4BgKY0E +pPNKtqdWKolCRCCVl1Gu3a+oG8ihRANCAAT9kTuuQOEY5POCL/kriM8iUhck2Evs +/8IWW7OglBgq8P4QlXZc2gi+QxsqW3oSyblvC/UOFwrZIGpi/uXdjTfM +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem new file mode 100644 index 0000000..0e864be --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUTCCAfegAwIBAgIQZaTo4iHkZ7CR6PMG/Ry4oTAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBa +MHMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMRwwGgYDVQQD +ExNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +CkIsm6GBVWc1C+txYhhOBJLIZBFy6bnGFz47LAU+o+Gv+3bJ9xgYnlIRNs0nwI4h +ypLOwUMdqIvfUayAj1eBNKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG +CCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCAU +TvPVmRqezaysNJESA395xx9rcydl3beJgCZ9e3gRwDAKBggqhkjOPQQDAgNIADBF +AiEAgFqvFjqB198IvxaymS4s5+LK9wjC7OdM9pvgAWrc6f0CICivdM7FPKkEzq4b +HC7RnXnu9we2quliLZgxEmy89tlZ +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/config.yaml new file mode 100644 index 0000000..13af53a --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/keystore/04427bb234a9970785b34ab99155a85e56f4abce760c6559bbfbbf5e9bc6bd86_sk b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/keystore/04427bb234a9970785b34ab99155a85e56f4abce760c6559bbfbbf5e9bc6bd86_sk new file mode 100644 index 0000000..99782f4 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/keystore/04427bb234a9970785b34ab99155a85e56f4abce760c6559bbfbbf5e9bc6bd86_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg4rXVdNwVJ6Jupt4u +yMbpEVrrznJ+9SNeW6wOBUsOwuShRANCAAQgF5mARwd/n7XdIhtoM690wWwUDSkg +Wm09JDyqu7i3icnPXHISQ36MHKEWEnSUvOSX3jmCjKjsM+80GwhrDzhU +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/signcerts/peer1.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/signcerts/peer1.org1.example.com-cert.pem new file mode 100644 index 0000000..e93b899 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/signcerts/peer1.org1.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICJzCCAc6gAwIBAgIQQbZQHtGwf5GMrDQYkZZAFzAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBa +MGoxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMQ0wCwYDVQQLEwRwZWVyMR8wHQYDVQQDExZwZWVyMS5vcmcx +LmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEIBeZgEcHf5+1 +3SIbaDOvdMFsFA0pIFptPSQ8qru4t4nJz1xyEkN+jByhFhJ0lLzkl945goyo7DPv +NBsIaw84VKNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0j +BCQwIoAgFE7z1Zkans2srDSREgN/eccfa3MnZd23iYAmfXt4EcAwCgYIKoZIzj0E +AwIDRwAwRAIgCon/ZMCfKFLJbNlR0fVWl+QrfXMRzyfM/ZhBHTlJdlwCIHUpWEtT +UPRgDyaqAc66BwcDyn/BAaWTcH6B/JwFrzkJ +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.crt b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.crt new file mode 100644 index 0000000..3be9353 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICZzCCAg6gAwIBAgIRAJluH6avRWoi3I3rHK8hetEwCgYIKoZIzj0EAwIwdjEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs +c2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1 +NzAwWjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEfMB0GA1UEAxMWcGVlcjEub3JnMS5leGFtcGxlLmNv +bTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCsVeC8AL73xHe2wzVvgrVF71JHN +2Uj/bt6mymlIMIjvAZAoKEDb//fi1R32qUJwok4XBKzPzFBGKV+IdKi4Wd6jgZcw +gZQwDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcD +AjAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIG51g1XtY/IgPnhaaFGD1izSq4GU +18pl71okHc2O7hMuMCgGA1UdEQQhMB+CFnBlZXIxLm9yZzEuZXhhbXBsZS5jb22C +BXBlZXIxMAoGCCqGSM49BAMCA0cAMEQCIELNBA0wsj/dK1Di8nI9LJ67BsMMmvxk +b5/fYC8BP91IAiBYHZdOF4nM7JIbQ7UStjMee+1a2th5dRBrWq+JsU+iWw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.key b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.key new file mode 100644 index 0000000..9dc52b0 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgnlD0PruoEGUIyKnE +mQe78CfXOdY9U1MMv3q0Tjb5GMahRANCAAQrFXgvAC+98R3tsM1b4K1Re9SRzdlI +/27epsppSDCI7wGQKChA2//34tUd9qlCcKJOFwSsz8xQRilfiHSouFne +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/tlsca/6e758355ed63f2203e785a685183d62cd2ab8194d7ca65ef5a241dcd8eee132e_sk b/crypto-config/peerOrganizations/org1.example.com/tlsca/6e758355ed63f2203e785a685183d62cd2ab8194d7ca65ef5a241dcd8eee132e_sk new file mode 100644 index 0000000..221b242 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/tlsca/6e758355ed63f2203e785a685183d62cd2ab8194d7ca65ef5a241dcd8eee132e_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgzD5WpZgIA7yc2yfG +TitoxtQ0jISD9dC2kuk9jF0fyZqhRANCAAQuHR1xIRv5AOZHSH8X19giQvXxJ9Ki +zuaIT/Qb0YQztUNVgfCjAnhzQKRii0BeRfk8gtVrxy6oFaFh6EGEYT6k +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem new file mode 100644 index 0000000..0e864be --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUTCCAfegAwIBAgIQZaTo4iHkZ7CR6PMG/Ry4oTAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBa +MHMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMRwwGgYDVQQD +ExNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +CkIsm6GBVWc1C+txYhhOBJLIZBFy6bnGFz47LAU+o+Gv+3bJ9xgYnlIRNs0nwI4h +ypLOwUMdqIvfUayAj1eBNKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG +CCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCAU +TvPVmRqezaysNJESA395xx9rcydl3beJgCZ9e3gRwDAKBggqhkjOPQQDAgNIADBF +AiEAgFqvFjqB198IvxaymS4s5+LK9wjC7OdM9pvgAWrc6f0CICivdM7FPKkEzq4b +HC7RnXnu9we2quliLZgxEmy89tlZ +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml new file mode 100644 index 0000000..13af53a --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/7ea3345950f939023bd3cfe33744136dadf18ab8f7f25b5e8de14bead77f6119_sk b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/7ea3345950f939023bd3cfe33744136dadf18ab8f7f25b5e8de14bead77f6119_sk new file mode 100644 index 0000000..15f744b --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/7ea3345950f939023bd3cfe33744136dadf18ab8f7f25b5e8de14bead77f6119_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgeUsgy+LFwDB4FAnX +/GeA0xBCPGMQik0k32mjbic5XCuhRANCAAQtM7UvvH1VL6gzmDPR0sse+OLDpBeL +Kz+LnYe+JrVAY+Ore/Jeth4W1ioxlTjajyEsLY6QIg0TZWcYRz6orn+e +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem new file mode 100644 index 0000000..1add1f0 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICKDCCAc+gAwIBAgIQZt0nkXxdT0RLuSaN8l7ZpDAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBa +MGsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMQ4wDAYDVQQLEwVhZG1pbjEfMB0GA1UEAwwWQWRtaW5Ab3Jn +MS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABC0ztS+8fVUv +qDOYM9HSyx744sOkF4srP4udh74mtUBj46t78l62HhbWKjGVONqPISwtjpAiDRNl +ZxhHPqiuf56jTTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1Ud +IwQkMCKAIBRO89WZGp7NrKw0kRIDf3nHH2tzJ2Xdt4mAJn17eBHAMAoGCCqGSM49 +BAMCA0cAMEQCIE4O2EjAxwmIXi0VxQFvr7Q0watg6olYLss/FJP2gmSIAiBZAuzE +VAZ3BrFEaDPcyzL3FTKkksU1aRKEZpL+Aq3S1A== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/ca.crt b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/ca.crt new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.crt b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.crt new file mode 100644 index 0000000..32c884d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.crt @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICPDCCAeKgAwIBAgIRAOvZCwCSreYoUX4hMwu+chMwCgYIKoZIzj0EAwIwdjEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs +c2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1 +NzAwWjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEfMB0GA1UEAwwWQWRtaW5Ab3JnMS5leGFtcGxlLmNv +bTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABLSBFSoZIN1m5x2C9wwKpns5CXat +QxQ+rvJZMDvCifLY2C42X4DmZYtn42dfbsHHvsjnB2ePyot0XQ89AktfY0ijbDBq +MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw +DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCBudYNV7WPyID54WmhRg9Ys0quBlNfK +Ze9aJB3Nju4TLjAKBggqhkjOPQQDAgNIADBFAiEAk4dGTopsT5HTssO8CBY7hoUU +BMzs3PRtDQEPom67zuQCIF9Qu5jsSCcUllfMG0Br532+BdV5GYM646CRP23kM5xL +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.key b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.key new file mode 100644 index 0000000..080396c --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgwyTigQBX+p/E682b +puM0npQ43OWMg5nG/vrwmEas6n6hRANCAAS0gRUqGSDdZucdgvcMCqZ7OQl2rUMU +Pq7yWTA7wony2NguNl+A5mWLZ+NnX27Bx77I5wdnj8qLdF0PPQJLX2NI +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem new file mode 100644 index 0000000..0e864be --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUTCCAfegAwIBAgIQZaTo4iHkZ7CR6PMG/Ry4oTAKBggqhkjOPQQDAjBzMQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu +b3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3MDBa +MHMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T +YW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMRwwGgYDVQQD +ExNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +CkIsm6GBVWc1C+txYhhOBJLIZBFy6bnGFz47LAU+o+Gv+3bJ9xgYnlIRNs0nwI4h +ypLOwUMdqIvfUayAj1eBNKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQG +CCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCAU +TvPVmRqezaysNJESA395xx9rcydl3beJgCZ9e3gRwDAKBggqhkjOPQQDAgNIADBF +AiEAgFqvFjqB198IvxaymS4s5+LK9wjC7OdM9pvgAWrc6f0CICivdM7FPKkEzq4b +HC7RnXnu9we2quliLZgxEmy89tlZ +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/config.yaml new file mode 100644 index 0000000..13af53a --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org1.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/ddc96e32370b8cc922f67537c8b35ad9c6c7a965ab2e20db48068d0ecfe34ab3_sk b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/ddc96e32370b8cc922f67537c8b35ad9c6c7a965ab2e20db48068d0ecfe34ab3_sk new file mode 100644 index 0000000..98843a4 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/ddc96e32370b8cc922f67537c8b35ad9c6c7a965ab2e20db48068d0ecfe34ab3_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg/IIhEtDcAQuMFZxE +9L1UeVu6CAV/EDLOJuoJWuUP/LahRANCAAR16vnGc9v2qF1tY93sy32mBcL7O3wH +XeFTXzWyAAw8q+aJ98b0S/DfSxSvmZx9YhTia1Tt9DHRjYD/QK2RmuNs +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/signcerts/User1@org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/signcerts/User1@org1.example.com-cert.pem new file mode 100644 index 0000000..ea32dc4 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/signcerts/User1@org1.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICKjCCAdGgAwIBAgIRAPXf2fzveCQ3FK9YEuNrr1swCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBsMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEPMA0GA1UECxMGY2xpZW50MR8wHQYDVQQDDBZVc2VyMUBv +cmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEder5xnPb +9qhdbWPd7Mt9pgXC+zt8B13hU181sgAMPKvmiffG9Evw30sUr5mcfWIU4mtU7fQx +0Y2A/0CtkZrjbKNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYD +VR0jBCQwIoAgFE7z1Zkans2srDSREgN/eccfa3MnZd23iYAmfXt4EcAwCgYIKoZI +zj0EAwIDRwAwRAIgEViqM1q/gHOlr6OqieAw7+Dsi0bB7/Lq65/DvQHFXyICICEe +ZcbcLSjLace2IgIYzTAwiDVTUvw6bDx6paUZ9HhJ +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/ca.crt b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/ca.crt new file mode 100644 index 0000000..f17120d --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVzCCAf2gAwIBAgIQfaP/w1n7zNqAspukB4J3BzAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAELh0dcSEb+QDmR0h/F9fYIkL18SfSos7miE/0G9GEM7VDVYHwowJ4c0Ck +YotAXkX5PILVa8cuqBWhYehBhGE+pKNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCBudYNV7WPyID54WmhRg9Ys0quBlNfKZe9aJB3Nju4TLjAKBggqhkjOPQQD +AgNIADBFAiEAqJ9gYvhhvW1B+mTcUYp7Zdr4PC7VB4ozCZPedoILrA0CIDlhA9U1 +AW0njZQpJdaR9Cd/TEIKT3eyRMFZLXw0MD2V +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.crt b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.crt new file mode 100644 index 0000000..992f86e --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.crt @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICOzCCAeKgAwIBAgIRAJFZ/mfI0q5r+OkpbGw1ZpEwCgYIKoZIzj0EAwIwdjEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs +c2NhLm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1 +NzAwWjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEfMB0GA1UEAwwWVXNlcjFAb3JnMS5leGFtcGxlLmNv +bTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGePsxwru/K6/eL6IaUyrlSQH+Do +I0YcOfMD2dHjWuz+Hedr4WVjrAMKrix4p0/efw0b8ZZFhNUCSBwrDgS8dr2jbDBq +MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw +DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCBudYNV7WPyID54WmhRg9Ys0quBlNfK +Ze9aJB3Nju4TLjAKBggqhkjOPQQDAgNHADBEAiBlWbLTUrA8O+eG2yyfjREQN5md +kC6bIvvE/zDhh3uq3gIgWcVZBIiWVD/IQxekdWppJU5uG24h/mmsgblc2nZgTto= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.key b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.key new file mode 100644 index 0000000..6f2d2b3 --- /dev/null +++ b/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgBQIsR7SCV2555mZZ +HFmUjTyLidT1pN1Thz22M3goHcyhRANCAARnj7McK7vyuv3i+iGlMq5UkB/g6CNG +HDnzA9nR41rs/h3na+FlY6wDCq4seKdP3n8NG/GWRYTVAkgcKw4EvHa9 +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/ca/8418aecfae0e1f2a2c89146814f1813f1ce12085dfcc6dcfaffafaa7f8093d57_sk b/crypto-config/peerOrganizations/org2.example.com/ca/8418aecfae0e1f2a2c89146814f1813f1ce12085dfcc6dcfaffafaa7f8093d57_sk new file mode 100644 index 0000000..3bfb1e6 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/ca/8418aecfae0e1f2a2c89146814f1813f1ce12085dfcc6dcfaffafaa7f8093d57_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgr7+B1NlxqAX/ASUV +3l9Ew7TkVrJVdigWHmVQgBwmKi6hRANCAATzZryN9JaEXFwoWTZedCsX1jKbx6G1 +qCxwsRFj4rO9CsaMe+lJbHd4Ci+PMQK2wTlL9ToyyaexN6ocvc4/aexn +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem new file mode 100644 index 0000000..30f10b4 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUjCCAfigAwIBAgIRALI05Awkfgxkq6sScXNugXkwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UE +AxMTY2Eub3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA +BPNmvI30loRcXChZNl50KxfWMpvHobWoLHCxEWPis70Kxox76Ulsd3gKL48xArbB +OUv1OjLJp7E3qhy9zj9p7GejbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAU +BggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQg +hBiuz64OHyosiRRoFPGBPxzhIIXfzG3Pr/r6p/gJPVcwCgYIKoZIzj0EAwIDSAAw +RQIhAKZrrIq3Ul54/PR6uH3u/6JZAxoCE28EJJxsZ3Sli//FAiB5JepjNClYjDW8 +d7FYrdHfgI38YA9TmIzdBQgXq/tyYw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem new file mode 100644 index 0000000..30f10b4 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUjCCAfigAwIBAgIRALI05Awkfgxkq6sScXNugXkwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UE +AxMTY2Eub3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA +BPNmvI30loRcXChZNl50KxfWMpvHobWoLHCxEWPis70Kxox76Ulsd3gKL48xArbB +OUv1OjLJp7E3qhy9zj9p7GejbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAU +BggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQg +hBiuz64OHyosiRRoFPGBPxzhIIXfzG3Pr/r6p/gJPVcwCgYIKoZIzj0EAwIDSAAw +RQIhAKZrrIq3Ul54/PR6uH3u/6JZAxoCE28EJJxsZ3Sli//FAiB5JepjNClYjDW8 +d7FYrdHfgI38YA9TmIzdBQgXq/tyYw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org2.example.com/msp/config.yaml new file mode 100644 index 0000000..6bcd366 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem new file mode 100644 index 0000000..30f10b4 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUjCCAfigAwIBAgIRALI05Awkfgxkq6sScXNugXkwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UE +AxMTY2Eub3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA +BPNmvI30loRcXChZNl50KxfWMpvHobWoLHCxEWPis70Kxox76Ulsd3gKL48xArbB +OUv1OjLJp7E3qhy9zj9p7GejbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAU +BggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQg +hBiuz64OHyosiRRoFPGBPxzhIIXfzG3Pr/r6p/gJPVcwCgYIKoZIzj0EAwIDSAAw +RQIhAKZrrIq3Ul54/PR6uH3u/6JZAxoCE28EJJxsZ3Sli//FAiB5JepjNClYjDW8 +d7FYrdHfgI38YA9TmIzdBQgXq/tyYw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/config.yaml new file mode 100644 index 0000000..6bcd366 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/keystore/57d51c1394581a18f6c1db5dd4007e20a78c122291cc3b79c6035b43d4eb3858_sk b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/keystore/57d51c1394581a18f6c1db5dd4007e20a78c122291cc3b79c6035b43d4eb3858_sk new file mode 100644 index 0000000..2475f56 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/keystore/57d51c1394581a18f6c1db5dd4007e20a78c122291cc3b79c6035b43d4eb3858_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgloaXKJHENGbx2yG0 +r26wpI7Qaqkdx7XujZiUOAlwu7OhRANCAAQnWe2NC3k3vd2cKBL3G9urbZJaMJMA +bvnGCso+9vV95lZ2YQPjTdDGupWfd3S9W6gWYrFwIoRuc83SZq9kUb1Q +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/signcerts/peer0.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/signcerts/peer0.org2.example.com-cert.pem new file mode 100644 index 0000000..5c4e1df --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/signcerts/peer0.org2.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICKDCCAc+gAwIBAgIRAIOXk1R+ldZly8j83v+BLl4wCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBqMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzENMAsGA1UECxMEcGVlcjEfMB0GA1UEAxMWcGVlcjAub3Jn +Mi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCdZ7Y0LeTe9 +3ZwoEvcb26ttklowkwBu+cYKyj729X3mVnZhA+NN0Ma6lZ93dL1bqBZisXAihG5z +zdJmr2RRvVCjTTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1Ud +IwQkMCKAIIQYrs+uDh8qLIkUaBTxgT8c4SCF38xtz6/6+qf4CT1XMAoGCCqGSM49 +BAMCA0cAMEQCIASSnP2QOpvttWjRTi9zZ/wUCPpaVhcMRRXc9ddSowMOAiA44uoH +AYRp7xMHQLF6BW8E48E0ULyi7Q3dMN9XyFLnFw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.crt b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.crt new file mode 100644 index 0000000..1242890 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICaDCCAg6gAwIBAgIRAPkPlIXT8eV9m2A1Fc6SMXIwCgYIKoZIzj0EAwIwdjEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs +c2NhLm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1 +NzAwWjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEfMB0GA1UEAxMWcGVlcjAub3JnMi5leGFtcGxlLmNv +bTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGE0yRWGVGDmaxKwoew+lVd6TJq+ +FGTy8lJT75bsaD6Ox338dPpbi+MmIr8xZwBiST0bcCTarCPLZIowrYbNQRSjgZcw +gZQwDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcD +AjAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIDSrP8Si5FGd1Jqd+HDjwBaDWAjz +m5MhZTo+b88xPMEDMCgGA1UdEQQhMB+CFnBlZXIwLm9yZzIuZXhhbXBsZS5jb22C +BXBlZXIwMAoGCCqGSM49BAMCA0gAMEUCIQD97VgrTj8dLrsM0rx1YXRNpa5JYmpJ +btYZwDIAMvKKeQIgLGSKtCy3c1OdU/sv22aTT22CMVHeR53ByuWrSAJEDR0= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.key b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.key new file mode 100644 index 0000000..43f5f60 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgNDtTrPuJ46S5nhZT +8BPFWCJhcmGFFe7RIiYPgUPmN8ShRANCAARhNMkVhlRg5msSsKHsPpVXekyavhRk +8vJSU++W7Gg+jsd9/HT6W4vjJiK/MWcAYkk9G3Ak2qwjy2SKMK2GzUEU +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem new file mode 100644 index 0000000..30f10b4 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUjCCAfigAwIBAgIRALI05Awkfgxkq6sScXNugXkwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UE +AxMTY2Eub3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA +BPNmvI30loRcXChZNl50KxfWMpvHobWoLHCxEWPis70Kxox76Ulsd3gKL48xArbB +OUv1OjLJp7E3qhy9zj9p7GejbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAU +BggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQg +hBiuz64OHyosiRRoFPGBPxzhIIXfzG3Pr/r6p/gJPVcwCgYIKoZIzj0EAwIDSAAw +RQIhAKZrrIq3Ul54/PR6uH3u/6JZAxoCE28EJJxsZ3Sli//FAiB5JepjNClYjDW8 +d7FYrdHfgI38YA9TmIzdBQgXq/tyYw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/config.yaml new file mode 100644 index 0000000..6bcd366 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/keystore/89092f18ccd232e56d7b725bee53021631e914d37ef84ebe7545b3bf940e4622_sk b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/keystore/89092f18ccd232e56d7b725bee53021631e914d37ef84ebe7545b3bf940e4622_sk new file mode 100644 index 0000000..9b45d12 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/keystore/89092f18ccd232e56d7b725bee53021631e914d37ef84ebe7545b3bf940e4622_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgANAanEGDWHgUxVix +OVC5tOSx493obJihcMT0V3xKOVqhRANCAARlIEHkX3cnKVYoPmR2OqhemvpH7vE8 +uRV6f0K/aJfoKrac3jIKr4EihoDV+gOyhoWBk1HK7dVQjTdTYq1jLo28 +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/signcerts/peer1.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/signcerts/peer1.org2.example.com-cert.pem new file mode 100644 index 0000000..d573cd8 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/signcerts/peer1.org2.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICKTCCAc+gAwIBAgIRAIGG7dos58NcY3+QrqQLQqwwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBqMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzENMAsGA1UECxMEcGVlcjEfMB0GA1UEAxMWcGVlcjEub3Jn +Mi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGUgQeRfdycp +Vig+ZHY6qF6a+kfu8Ty5FXp/Qr9ol+gqtpzeMgqvgSKGgNX6A7KGhYGTUcrt1VCN +N1NirWMujbyjTTBLMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1Ud +IwQkMCKAIIQYrs+uDh8qLIkUaBTxgT8c4SCF38xtz6/6+qf4CT1XMAoGCCqGSM49 +BAMCA0gAMEUCIQCld2bKgNuZmUW6teZ/gK6rSvjoXwmgbe53StYyDWVwGAIge+49 +Am8oCMEoUCHKWoCvo8Isjuz1W3L+/Yaf0CKpqy4= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.crt b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.crt new file mode 100644 index 0000000..43e913a --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICZzCCAg6gAwIBAgIRAO07+ReZlGsWYanl1Aj62JEwCgYIKoZIzj0EAwIwdjEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs +c2NhLm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1 +NzAwWjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEfMB0GA1UEAxMWcGVlcjEub3JnMi5leGFtcGxlLmNv +bTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABHv139nhrpY0lYrCdNC0iAN3Z+RC +Y/BvSFeIMsaeLhzIaUJZ5IdoFOMb3dJP3SedgXZ7qgexFJYHtQyX1sYQGc2jgZcw +gZQwDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcD +AjAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIDSrP8Si5FGd1Jqd+HDjwBaDWAjz +m5MhZTo+b88xPMEDMCgGA1UdEQQhMB+CFnBlZXIxLm9yZzIuZXhhbXBsZS5jb22C +BXBlZXIxMAoGCCqGSM49BAMCA0cAMEQCIFvSXQoYYGUd2uJInC4W8bffCjxwvNjG +sWq/w784+JE/AiB9qrKtU526jz+pyNLKtvRchERVVwe15k0bPQAcWxaQew== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.key b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.key new file mode 100644 index 0000000..5529fbe --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgJYwocsLePUirEOR+ +LR1DdanU+Uvm9qV5TleF0aMUi0ahRANCAAR79d/Z4a6WNJWKwnTQtIgDd2fkQmPw +b0hXiDLGni4cyGlCWeSHaBTjG93ST90nnYF2e6oHsRSWB7UMl9bGEBnN +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/tlsca/34ab3fc4a2e4519dd49a9df870e3c016835808f39b9321653a3e6fcf313cc103_sk b/crypto-config/peerOrganizations/org2.example.com/tlsca/34ab3fc4a2e4519dd49a9df870e3c016835808f39b9321653a3e6fcf313cc103_sk new file mode 100644 index 0000000..4b66a3a --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/tlsca/34ab3fc4a2e4519dd49a9df870e3c016835808f39b9321653a3e6fcf313cc103_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgxOBpSQYMKcgaeYC1 +LizP0vfB4BktJkkYfhFgTnTcOsihRANCAASjCEA/fBERy+hBV2htgFvxtdap5k87 +6yHguE+mWHHhXPsWRof77bZXDbNa84TdyQ+Tjt4fXpsiDGIHYvTAf1n5 +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem new file mode 100644 index 0000000..30f10b4 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUjCCAfigAwIBAgIRALI05Awkfgxkq6sScXNugXkwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UE +AxMTY2Eub3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA +BPNmvI30loRcXChZNl50KxfWMpvHobWoLHCxEWPis70Kxox76Ulsd3gKL48xArbB +OUv1OjLJp7E3qhy9zj9p7GejbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAU +BggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQg +hBiuz64OHyosiRRoFPGBPxzhIIXfzG3Pr/r6p/gJPVcwCgYIKoZIzj0EAwIDSAAw +RQIhAKZrrIq3Ul54/PR6uH3u/6JZAxoCE28EJJxsZ3Sli//FAiB5JepjNClYjDW8 +d7FYrdHfgI38YA9TmIzdBQgXq/tyYw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/config.yaml new file mode 100644 index 0000000..6bcd366 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/b96523042b55ef9129309a188182b2fb82eb729c30bdccde67f9a212e90c6059_sk b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/b96523042b55ef9129309a188182b2fb82eb729c30bdccde67f9a212e90c6059_sk new file mode 100644 index 0000000..5751b3c --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/b96523042b55ef9129309a188182b2fb82eb729c30bdccde67f9a212e90c6059_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg8/2M3XcsxcVM7ncE +KZgHkz6KUDviAwv9WQbtvk/T8pihRANCAAQSXkZPP30l8ZMVwHqqXy38Gqd/nVl2 +NntTfofNwkWUP+tSKJ3f2EkR3BrAtt1osgYONlOAgLozxoyp71OBJQx6 +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/Admin@org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/Admin@org2.example.com-cert.pem new file mode 100644 index 0000000..a500638 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/Admin@org2.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICKTCCAdCgAwIBAgIRALg0zkvHBKNjBKSD44VWNrgwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEOMAwGA1UECxMFYWRtaW4xHzAdBgNVBAMMFkFkbWluQG9y +ZzIuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQSXkZPP30l +8ZMVwHqqXy38Gqd/nVl2NntTfofNwkWUP+tSKJ3f2EkR3BrAtt1osgYONlOAgLoz +xoyp71OBJQx6o00wSzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADArBgNV +HSMEJDAigCCEGK7Prg4fKiyJFGgU8YE/HOEghd/Mbc+v+vqn+Ak9VzAKBggqhkjO +PQQDAgNHADBEAiBclTgPZoqrWfUd3ZEUy5QX16aFmZuuTtboHnIAEdT9LgIgDJIK +r9Osz74N/3zfns7tmkVV2xVrNSHKddv/Izx3cto= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/ca.crt b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/ca.crt new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.crt b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.crt new file mode 100644 index 0000000..88de44f --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.crt @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICOzCCAeKgAwIBAgIRALrdipRQPSm5datNyBaTNIEwCgYIKoZIzj0EAwIwdjEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs +c2NhLm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1 +NzAwWjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEfMB0GA1UEAwwWQWRtaW5Ab3JnMi5leGFtcGxlLmNv +bTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCH2+Xsfa6KB2oni9f+VToHic/dt +ouaA7lKa063Y1Zm6kXzFXLZvUrfk8eUds5HAnxi9+86A+nXW9yt50mehZnOjbDBq +MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw +DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCA0qz/EouRRndSanfhw48AWg1gI85uT +IWU6Pm/PMTzBAzAKBggqhkjOPQQDAgNHADBEAiA5gQtvjtBYAVCLzf4athifT3sa +OhwYXWY1dVZc8tuwawIgUV7BbvIP0gpcg4UNkPnjI8zBpfsIjSBPn+eDRA7IHm0= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.key b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.key new file mode 100644 index 0000000..42f3070 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/server.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgsrTBZeOr9JAjP1F3 +6HtNkgIGK+ljqhckx9bBo3tFdK6hRANCAAQh9vl7H2uigdqJ4vX/lU6B4nP3baLm +gO5SmtOt2NWZupF8xVy2b1K35PHlHbORwJ8YvfvOgPp11vcredJnoWZz +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem new file mode 100644 index 0000000..30f10b4 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICUjCCAfigAwIBAgIRALI05Awkfgxkq6sScXNugXkwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UE +AxMTY2Eub3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA +BPNmvI30loRcXChZNl50KxfWMpvHobWoLHCxEWPis70Kxox76Ulsd3gKL48xArbB +OUv1OjLJp7E3qhy9zj9p7GejbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAU +BggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQg +hBiuz64OHyosiRRoFPGBPxzhIIXfzG3Pr/r6p/gJPVcwCgYIKoZIzj0EAwIDSAAw +RQIhAKZrrIq3Ul54/PR6uH3u/6JZAxoCE28EJJxsZ3Sli//FAiB5JepjNClYjDW8 +d7FYrdHfgI38YA9TmIzdBQgXq/tyYw== +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/config.yaml b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/config.yaml new file mode 100644 index 0000000..6bcd366 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/config.yaml @@ -0,0 +1,14 @@ +NodeOUs: + Enable: true + ClientOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: client + PeerOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: peer + AdminOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: admin + OrdererOUIdentifier: + Certificate: cacerts/ca.org2.example.com-cert.pem + OrganizationalUnitIdentifier: orderer diff --git a/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/7cb37895c5178829a655ef14c0dfd85423c7d39dbec410af35b369f445e6a8c7_sk b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/7cb37895c5178829a655ef14c0dfd85423c7d39dbec410af35b369f445e6a8c7_sk new file mode 100644 index 0000000..80407bc --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/7cb37895c5178829a655ef14c0dfd85423c7d39dbec410af35b369f445e6a8c7_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgzk+vnl9ms3TEsjr4 ++ARz6tqu3G6m2gxo/7oJ/hHYcx+hRANCAATo191KnlITAJlvn6Z73XKAQXDKHU80 +a8lc63pREBI+5RFtYWs2BR4YD2Nl1k/zHTPqpqDlryxVCXt7psc6f72R +-----END PRIVATE KEY----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/signcerts/User1@org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/signcerts/User1@org2.example.com-cert.pem new file mode 100644 index 0000000..18164c6 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/signcerts/User1@org2.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICKjCCAdGgAwIBAgIRAMJaEvNorm8a7Q2w3wAVqDEwCgYIKoZIzj0EAwIwczEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh +Lm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1NzAw +WjBsMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN +U2FuIEZyYW5jaXNjbzEPMA0GA1UECxMGY2xpZW50MR8wHQYDVQQDDBZVc2VyMUBv +cmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6NfdSp5S +EwCZb5+me91ygEFwyh1PNGvJXOt6URASPuURbWFrNgUeGA9jZdZP8x0z6qag5a8s +VQl7e6bHOn+9kaNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYD +VR0jBCQwIoAghBiuz64OHyosiRRoFPGBPxzhIIXfzG3Pr/r6p/gJPVcwCgYIKoZI +zj0EAwIDRwAwRAIgf9Yw6L4UkdfbrpqGe6CYH2CCfkYOsGNcxjJxf4lwiJkCIFfu +JyE2qkUoe291V87LW41imyQjjN1uhVO2TFmYHn2o +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/tlscacerts/tlsca.org2.example.com-cert.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/ca.crt b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/ca.crt new file mode 100644 index 0000000..fb2efc7 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/ca.crt @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICVjCCAf2gAwIBAgIQXbcM5JagwDZzguJL6j50RTAKBggqhkjOPQQDAjB2MQsw +CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy +YW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAeFw0yMDAzMzAwODU3MDBaFw0zMDAzMjgwODU3 +MDBaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYD +VQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D +AQcDQgAEowhAP3wREcvoQVdobYBb8bXWqeZPO+sh4LhPplhx4Vz7FkaH++22Vw2z +WvOE3ckPk47eH16bIgxiB2L0wH9Z+aNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1Ud +JQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1Ud +DgQiBCA0qz/EouRRndSanfhw48AWg1gI85uTIWU6Pm/PMTzBAzAKBggqhkjOPQQD +AgNHADBEAiBysxl6TSos+zSMkIB+gPQbXihGjOH/YEN+V94I0xPCwQIgCUKKb16Q +u3NOwG/xWGuuxBc6zZoBGiDPiWXwAyZm8IU= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.crt b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.crt new file mode 100644 index 0000000..0331ee9 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.crt @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICOzCCAeKgAwIBAgIRAPz4DdBZwQiju9KfAb0fMr8wCgYIKoZIzj0EAwIwdjEL +MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG +cmFuY2lzY28xGTAXBgNVBAoTEG9yZzIuZXhhbXBsZS5jb20xHzAdBgNVBAMTFnRs +c2NhLm9yZzIuZXhhbXBsZS5jb20wHhcNMjAwMzMwMDg1NzAwWhcNMzAwMzI4MDg1 +NzAwWjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEfMB0GA1UEAwwWVXNlcjFAb3JnMi5leGFtcGxlLmNv +bTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJwc3/Zep4V4qkFuMG6LNUv/2Fn0 +lZTXb6VnUWvet5aieM6gVX4Out/vl0rim31JgfaJjNbX6IJ8mUygvyybdH2jbDBq +MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw +DAYDVR0TAQH/BAIwADArBgNVHSMEJDAigCA0qz/EouRRndSanfhw48AWg1gI85uT +IWU6Pm/PMTzBAzAKBggqhkjOPQQDAgNHADBEAiA/MZS+JaSe1G0xvW9468Qety5M +ajxoel2Fg08/eJ8SoAIgHrKFZna3Io2eVC+QP0lila1Y4mN1OUDPDChU5v8jfRg= +-----END CERTIFICATE----- diff --git a/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.key b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.key new file mode 100644 index 0000000..62d7479 --- /dev/null +++ b/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgv73zU0wTcUVNpe6o +94p0ealofXlxgzeJPn39fOhzH/ihRANCAAScHN/2XqeFeKpBbjBuizVL/9hZ9JWU +12+lZ1Fr3reWonjOoFV+Drrf75dK4pt9SYH2iYzW1+iCfJlMoL8sm3R9 +-----END PRIVATE KEY----- diff --git a/fabric-samples b/fabric-samples new file mode 160000 index 0000000..6f853b5 --- /dev/null +++ b/fabric-samples @@ -0,0 +1 @@ +Subproject commit 6f853b56a462752186920d8d9e46f6a854d41a0f