From 0115e8175c259527ab0f4b38a7abac408e35b358 Mon Sep 17 00:00:00 2001 From: Baohua Yang Date: Fri, 12 Oct 2018 21:31:06 +0800 Subject: [PATCH] Generated credential's cn has no suffix --- .../example.com/ca/IssuerPublicKey | Bin 0 -> 843 bytes .../example.com/ca/IssuerRevocationPublicKey | 5 + .../example.com/ca/ca.example.com-cert.pem | 14 + .../example.com/ca/ca.example.com_sk | 5 + .../ca/fabric-ca-server-config.yaml | 134 +++++++++ .../example.com/ca/fabric-ca-server.db | Bin 0 -> 61440 bytes ...8d4bf2e735befe20a1138c57cdd2b74c48da14d_sk | 5 + .../msp/keystore/IssuerRevocationPrivateKey | 6 + .../ca/msp/keystore/IssuerSecretKey | 1 + .../example.com/tlsca/IssuerPublicKey | Bin 0 -> 843 bytes .../tlsca/IssuerRevocationPublicKey | 5 + .../tlsca/fabric-ca-server-config.yaml | 134 +++++++++ .../example.com/tlsca/fabric-ca-server.db | Bin 0 -> 61440 bytes ...7fb743d43988f16fa0b8a1ff6cc6bea7c863162_sk | 5 + .../msp/keystore/IssuerRevocationPrivateKey | 6 + .../tlsca/msp/keystore/IssuerSecretKey | Bin 0 -> 32 bytes .../tlsca/tlsca.example.com-cert.pem | 14 + .../example.com/tlsca/tlsca.example.com_sk | 5 + .../fabric-ca-client-config.yaml | 162 +++++++++++ ...a798a30ef7e72c099dc45d5af032767bc56db90_sk | 5 + .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org1-example-com-7054.pem | 14 + ...7ae6ab6beed584000c446a5a22373fb366a4987_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 162 +++++++++++ ...333a68dd0a48c3f71df817b7ae26bb1bd42e86d_sk | 5 + .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org1-example-com-7054.pem | 14 + ...87de44c9d630428d49fe82ac730959ada6d3eb7_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 2 +- ...918cc736d8a92658e79ae92d42d30a7ac98f9a0_sk | 5 + .../fabric-ca-client-config.yaml | 2 +- .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org1-example-com-7054.pem | 14 + ...a21ceba15d8a8c9797d683b2d1436889dda4e1d_sk | 5 + .../msp/signcerts/cert.pem | 16 ++ .../org1.example.com/ca/IssuerPublicKey | Bin 843 -> 843 bytes .../ca/IssuerRevocationPublicKey | 6 +- .../ca/ca.org1.example.com-cert.pem | 20 +- .../ca/ca.org1.example.com_sk | 6 +- .../ca/fabric-ca-server-config.yaml | 16 +- .../org1.example.com/ca/fabric-ca-server.db | Bin 61440 -> 61440 bytes .../msp/keystore/IssuerRevocationPrivateKey | 8 +- .../ca/msp/keystore/IssuerSecretKey | 2 +- ...bbca7d9485e5f138aa75f4c82cd0f74c14b5e56_sk | 5 + ...c5b0f72b198ffd1eb24c33e861371cea66a2c2d_sk | 5 - .../fabric-ca-client-config.yaml | 162 +++++++++++ ...105fb7a47ae89aae2bb5a6d7fcd13b15a57a0e1_sk | 5 + .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org1-example-com-7054.pem | 14 + ...e74f7dd8f37ec0aef715a96579fb8aa941f6f4e_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 162 +++++++++++ ...7b2de914ffa80eda3f97ba0f84ba3a6c9a4e892_sk | 5 + .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org1-example-com-7054.pem | 14 + ...821de931526774ad9c6aa12865161208628bb4a_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../org1.example.com/tlsca/IssuerPublicKey | Bin 843 -> 843 bytes .../tlsca/IssuerRevocationPublicKey | 6 +- .../tlsca/fabric-ca-server-config.yaml | 16 +- .../tlsca/fabric-ca-server.db | Bin 61440 -> 61440 bytes ...225b288793b1840a2536cfaeb90d0d14520b8c4_sk | 5 - .../msp/keystore/IssuerRevocationPrivateKey | 8 +- .../tlsca/msp/keystore/IssuerSecretKey | 2 +- ...253fa86a004a246b452decd4f6aae2f1013583f_sk | 5 + .../tlsca/tlsca.org1.example.com-cert.pem | 20 +- .../tlsca/tlsca.org1.example.com_sk | 6 +- .../msp/IssuerPublicKey | 18 -- .../msp/IssuerRevocationPublicKey | 5 - .../msp/cacerts/ca-org1-example-com-7054.pem | 14 - ...d96fef2d7abff5f0fdb457579d55a07e643bb8e_sk | 5 - .../msp/signcerts/cert.pem | 15 - .../msp/IssuerPublicKey | Bin 843 -> 0 bytes .../msp/IssuerRevocationPublicKey | 5 - .../cacerts/tlsca-org1-example-com-7054.pem | 14 - ...4378b54feada09689fe092a7c1a14267b52958e_sk | 5 - .../msp/signcerts/cert.pem | 15 - .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../msp/cacerts/ca-org2-example-com-7054.pem | 14 + ...882fffd5d689e95e249b1ea1c8da2b631f47fc9_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org2-example-com-7054.pem | 14 + ...90da9b01265e5e06e555889ea72e8b1925271f6_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../msp/cacerts/ca-org2-example-com-7054.pem | 14 + ...0e74d67380e9ea6514c6620cf570f8caa27b9b9_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org2-example-com-7054.pem | 14 + ...8cc6f90f9aa11513ab46453f26b2751fca86458_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 4 +- .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../msp/cacerts/ca-org2-example-com-7054.pem | 14 + ...c4f7cd804ad237fd6759fc58d7bdfe070489749_sk | 5 + .../msp/signcerts/cert.pem | 16 ++ .../fabric-ca-client-config.yaml | 4 +- .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org2-example-com-7054.pem | 14 + ...47c4bfba74bf006c94ec88d283e9d4850ba3c28_sk | 5 + .../msp/signcerts/cert.pem | 16 ++ .../org2.example.com/ca/IssuerPublicKey | Bin 0 -> 843 bytes .../ca/IssuerRevocationPublicKey | 5 + .../ca/ca.org2.example.com-cert.pem | 14 + .../ca/ca.org2.example.com_sk | 5 + .../ca/fabric-ca-server-config.yaml | 134 +++++++++ .../org2.example.com/ca/fabric-ca-server.db | Bin 0 -> 61440 bytes ...3e73807cda5f167f219b0c7687bb06baf3b5e60_sk | 5 + .../msp/keystore/IssuerRevocationPrivateKey | 6 + .../ca/msp/keystore/IssuerSecretKey | 1 + .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../msp/cacerts/ca-org2-example-com-7054.pem | 14 + ...959dfd2ecaa5135b935a001a4164a19a04ef791_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org2-example-com-7054.pem | 14 + ...7c3bd09974abc6156c0968ec242e31c90a3b22a_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../msp/cacerts/ca-org2-example-com-7054.pem | 14 + ...a630ece99c0354257389a79ee3d89b2043a4e51_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../fabric-ca-client-config.yaml | 162 +++++++++++ .../msp/IssuerPublicKey | Bin 0 -> 843 bytes .../msp/IssuerRevocationPublicKey | 5 + .../cacerts/tlsca-org2-example-com-7054.pem | 14 + ...46a489481db47142530f5acce617b92d911a9a8_sk | 5 + .../msp/signcerts/cert.pem | 19 ++ .../org2.example.com/tlsca/IssuerPublicKey | Bin 0 -> 843 bytes .../tlsca/IssuerRevocationPublicKey | 5 + .../tlsca/fabric-ca-server-config.yaml | 134 +++++++++ .../tlsca/fabric-ca-server.db | Bin 0 -> 61440 bytes ...e6b0fa8845ef93eb7f2e9b801e11f5b07852aeb_sk | 5 + .../msp/keystore/IssuerRevocationPrivateKey | 6 + .../tlsca/msp/keystore/IssuerSecretKey | Bin 0 -> 32 bytes .../tlsca/tlsca.org2.example.com-cert.pem | 14 + .../tlsca/tlsca.org2.example.com_sk | 5 + .../latest/ca-test/docker-compose.yaml | 67 +++-- .../latest/ca-test/scripts/ca_server_start.sh | 62 +++-- .../latest/ca-test/scripts/client-test.sh | 263 +++++++++--------- .../latest/ca-test/scripts/env.sh | 161 ++++++++++- ...8105134e66ac0aef9a8dc96dcb59bb5f71428a5_sk | 5 - ...cd0053d4128c85cc3f06c913118a063b7a2dbc2_sk | 5 - 172 files changed, 4388 insertions(+), 350 deletions(-) create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/ca.example.com-cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/ca.example.com_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/fabric-ca-server-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/fabric-ca-server.db create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/msp/keystore/05f1c88abe3ae35edf814c2d68d4bf2e735befe20a1138c57cdd2b74c48da14d_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/msp/keystore/IssuerRevocationPrivateKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/msp/keystore/IssuerSecretKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/fabric-ca-server-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/fabric-ca-server.db create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/3295981bd696e06db41db48b17fb743d43988f16fa0b8a1ff6cc6bea7c863162_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/IssuerSecretKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@ca.org1.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@ca.org1.example.com/msp/keystore/73cc881ad56def29c760c1bb0a798a30ef7e72c099dc45d5af032767bc56db90_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/keystore/44ac4b3d7f237351157123fe27ae6ab6beed584000c446a5a22373fb366a4987_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@ca.org1.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@ca.org1.example.com/msp/keystore/cfdbc7a7f70d040af5879f1b7333a68dd0a48c3f71df817b7ae26bb1bd42e86d_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/keystore/c193ca45e88d8a6602450a05c87de44c9d630428d49fe82ac730959ada6d3eb7_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/signcerts/cert.pem rename hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/{users/admin-default@ca.org1.example.com => boot-admin@ca.org1.example.com}/fabric-ca-client-config.yaml (99%) create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@ca.org1.example.com/msp/keystore/34e439a8c5fb85419ae4bb629918cc736d8a92658e79ae92d42d30a7ac98f9a0_sk rename hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/{users/admin-default@tlsca.org1.example.com => boot-admin@tlsca.org1.example.com}/fabric-ca-client-config.yaml (99%) create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/keystore/8536a2b7d0da5fc40122f75d0a21ceba15d8a8c9797d683b2d1436889dda4e1d_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/msp/keystore/b089a01c9180d928900a3d03fbbca7d9485e5f138aa75f4c82cd0f74c14b5e56_sk delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/msp/keystore/d7a7220eac58b7cf7284e8b6dc5b0f72b198ffd1eb24c33e861371cea66a2c2d_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@ca.org1.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@ca.org1.example.com/msp/keystore/572d73d7a08d9992a2e3024a6105fb7a47ae89aae2bb5a6d7fcd13b15a57a0e1_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/keystore/45b0f55480bae0cc9882a3563e74f7dd8f37ec0aef715a96579fb8aa941f6f4e_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@ca.org1.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@ca.org1.example.com/msp/keystore/484740728e8bf55fe3364ea317b2de914ffa80eda3f97ba0f84ba3a6c9a4e892_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/keystore/7f968e1134e56a058245eba2f821de931526774ad9c6aa12865161208628bb4a_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/signcerts/cert.pem delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/5369ac7f33ebd7230f14f8508225b288793b1840a2536cfaeb90d0d14520b8c4_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/c5dbb6f8b9c60fd02eaa67d59253fa86a004a246b452decd4f6aae2f1013583f_sk delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/IssuerPublicKey delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/IssuerRevocationPublicKey delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/cacerts/ca-org1-example-com-7054.pem delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/keystore/1a13b359cfb23064eb355966ed96fef2d7abff5f0fdb457579d55a07e643bb8e_sk delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/signcerts/cert.pem delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/IssuerPublicKey delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/IssuerRevocationPublicKey delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/keystore/ae4539569e09f97647c3244c74378b54feada09689fe092a7c1a14267b52958e_sk delete mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/keystore/56f4dfd8ed402361df82f0b52882fffd5d689e95e249b1ea1c8da2b631f47fc9_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/msp/cacerts/tlsca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/msp/keystore/838272d7e4bcce70c0f465ccc90da9b01265e5e06e555889ea72e8b1925271f6_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/keystore/f135965b31ce005ce936b9b710e74d67380e9ea6514c6620cf570f8caa27b9b9_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/msp/cacerts/tlsca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/msp/keystore/9b123a706dc6ebe86e44dac468cc6f90f9aa11513ab46453f26b2751fca86458_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/msp/signcerts/cert.pem rename hyperledger_fabric/latest/ca-test/{scripts/users/admin-default@ca.example.com => crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com}/fabric-ca-client-config.yaml (99%) create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/keystore/aa805db6dcb6fb4da673f5a04c4f7cd804ad237fd6759fc58d7bdfe070489749_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/signcerts/cert.pem rename hyperledger_fabric/latest/ca-test/{scripts/users/admin-default@tlsca.example.com => crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com}/fabric-ca-client-config.yaml (99%) create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/msp/cacerts/tlsca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/msp/keystore/7a4420664b066c549cf1a30b247c4bfba74bf006c94ec88d283e9d4850ba3c28_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/fabric-ca-server-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/fabric-ca-server.db create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/msp/keystore/6fa68ee91c7b1584ed81827073e73807cda5f167f219b0c7687bb06baf3b5e60_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/msp/keystore/IssuerRevocationPrivateKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/msp/keystore/IssuerSecretKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/keystore/ffeeedde30216824902d1339d959dfd2ecaa5135b935a001a4164a19a04ef791_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/msp/cacerts/tlsca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/msp/keystore/063ffaae647ace1302ffa661a7c3bd09974abc6156c0968ec242e31c90a3b22a_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/keystore/06b52b2b721d0d0914d5133eaa630ece99c0354257389a79ee3d89b2043a4e51_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/fabric-ca-client-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/msp/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/msp/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/msp/cacerts/tlsca-org2-example-com-7054.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/msp/keystore/99c61eb8924af634e48b559c346a489481db47142530f5acce617b92d911a9a8_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/msp/signcerts/cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/IssuerPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/IssuerRevocationPublicKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/fabric-ca-server-config.yaml create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/fabric-ca-server.db create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/msp/keystore/290d8e2b87492d1502dc438a9e6b0fa8845ef93eb7f2e9b801e11f5b07852aeb_sk create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/msp/keystore/IssuerSecretKey create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem create mode 100644 hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com_sk delete mode 100644 hyperledger_fabric/latest/ca-test/scripts/users/admin-default@ca.example.com/msp/keystore/759509b62b351acf38a9e79b78105134e66ac0aef9a8dc96dcb59bb5f71428a5_sk delete mode 100644 hyperledger_fabric/latest/ca-test/scripts/users/admin-default@tlsca.example.com/msp/keystore/13e4f564761eb0c996ee0ed2ccd0053d4128c85cc3f06c913118a063b7a2dbc2_sk diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..2efdf85e0eae9492ed0e972d824d2e74ba57bfd8 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zARVwUTrz%e*?k%KO#g5AZEsl$~wQk@Pnd;Ls45` z7?d!;N91pd7vJ+Go?GN+t`Z=u##5|zSh(f{w_)Q?^b@>YiZ$j~`oUZV(X^%zR@rJI zL<%6IOR+^py6y;}2%s%Rprm~v$SHaw$EpD^D!X)>GAVWvATO!054lX{T7?_Jxyh<*2BeDb)h7+n$9^^NtQ zN)jM=?el)FW3xki+^8>-w>o}^e)*w-@WH5n{qp2P4Mh?nL<%6xtpmIQVl2D}v!1m+ zDky-NL2&YNa!w{QAkqwRN#_U>AoScsv!bXTStamlD>cn@fLRt~wp)WTcBiWf(6h$H z%_@ii3LrN&0@~C9eq?-~Q__+zy-cx)j%~J|igaT!d@Nlags>7I>DL~8X%kW5hcBB-9YLwfkgp9ASGS5&Tp0 zKU^Xp+G4PvQ^)u(xDyqef2$SVXG-8JCxFWNr=@Q|8Ul9jGDHd>ywXBI^g+)~dsB$~ z_AI%2{p;)cD3co!v7km3Xm7Bb5+FD`$;F@KTR$ z`_4K<3Lq!C+_dsB7Y}U9KtQId^H!1_o6#h+Qk#NA&CHw*RW%YIpD~jn>7I5ndCrbk zik`Xd{HGWSfk$3@iJ;oS$adUGLLf|&{6y6_oh->J#HJEyc1;ld6z_@j_T=9uz&l-a zq:@:/ + tls: + certfiles: null + client: + certfile: null + keyfile: null + attribute: + names: + - uid + - member + converters: + - name: null + value: null + maps: + groups: + - name: null + value: null +affiliations: + org1: + - department1 + - department2 + org2: + - department1 +signing: + default: + usage: + - digital signature + - cert sign + - crl sign + expiry: 87600h + profiles: + ca: + usage: + - cert sign + - crl sign + expiry: 43800h + caconstraint: + isca: true + maxpathlen: 0 + tls: + usage: + - signing + - key encipherment + - server auth + - client auth + - key agreement + expiry: 87600h +csr: + cn: ca.example.com + keyrequest: + algo: ecdsa + size: 256 + names: + - C: US + ST: North Carolina + L: null + O: example.com + OU: ca + hosts: + - fabric-ca-server + - localhost + ca: + expiry: 1314000h + pathlength: 1 +idemix: + rhpoolsize: 1000 + nonceexpiration: 15s + noncesweepinterval: 15m +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + keystore: msp/keystore +cacount: null +cafiles: null +intermediate: + parentserver: + url: null + caname: null + enrollment: + hosts: null + profile: null + label: null + tls: + certfiles: null + client: + certfile: null + keyfile: null diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/fabric-ca-server.db b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/ca/fabric-ca-server.db new file mode 100644 index 0000000000000000000000000000000000000000..64c75634968bf1e5295bcfe84a70eb3dc8b9b44b GIT binary patch literal 61440 zcmeI)&u`mQ00(fp&d;{#>!wv%Z?EYpHIQ~owr-3|$+pmib={V>h=Ra+NnTnr$Icw5 zw3;}il-sy+VdBgMG;!hp9FX`2CLtljjSCV8iOb-E;MqwRJ8ili)=4YhtWNFc_nzPT zyys`fFYDs1dClguVp>&Z)3egBB+Jq(luD8`Di$J^kXZV}GAx#WSax3W&dNT&N2RHM zYO%Hi}7XMZy~8~vJ`i-d>1jH!`toPYb|fn5-Q00bcLzZKYeClHQL zP08D)&5AlNam&^!T8Y`bu9|wedpmf!kjpOR=u-C5e2yl%cPHqiR;I6K3zx5E3zM0d znPiIAxur2(H5%0-w`fr}i*(_}5?xrHpHETNu-8mWvp3b-d{foR+;9%RJ6?&YIxBMB zO)v7ancb*&XJ&C$Hw~&8c8cH@P$MbkBA zYo<~6uJ`$1y?f}S!K(Z*YWhs(T=KCXU0%rFTF#|t&Ei7PA1g(BR3#aCB#k+(-V`>X z)xC#vTAfuc91F#-O~{gFl=(*ejxO$GRMA$ZyRG_~J?-5J3_g_d&dD?z48<3x4wQj7 zpz6!SDMIM(KsY`&CO5Ng32T;FbGjz4ch&}dWSww2*6gBvUt*$Yntn*Hw&gyn6Ow|mvW}1)B$DV!K58xgoncO-N z3dhIC zQT&bTxx78i!gw!fht}GMeyO@Z_8atl7m2iY%lRnV8uXR@27PZ5XNXsQnK&VVWdrIIRc*OlVW^BGD?_P`P25x?UAGDRs|SwfF5pGA2}lT)QPWH9q zWIU;zIGKptj+1dd|GP8$&$M1R7z7{y0SG_<0uX=z1Rwwb2tWV=&r+b@Ihga!eo0c? zcf3IW0uX=z1Rwwb2tWV=5P$##AaLXaF#mt#niLg+00bZa0SG_<0uX=z1Rwwb2=o$g z{+3^`*G_~(00Izz00bZa0SG_<0uX=z1R(Hy3t;~L`EEay9s&@600bZa0SG_<0uX=z z1R!t_0nh*cKS*@MfdB*`009U<00Izz00bZa0SG|gITUc_|7G%*B!2LM00bZa0SG_< z0uX=z1Rwwb2teRy354aK6zz*DzvBDP~1Rwwb2tWV= z5P$##AOHafK;Y>MkdQJ?4AUs_X`QcgJv|&$CWuwijEdO~IT28%NXg=5ZrB>r+o2nJfZz#bO74CJ5ExNT z%ex){C{F0ECjfoNlw{QZ0KonGe?!}n_`wST5P$##AOHafKmY;|fB*y_aHs-XoASU| zGcX$4z7dh5MbosWSh=bhr!wqR`pl^}*`4Le>BSB6Vy^UBy?X7nOY_#%8!P$3!gOYF z^&+1sr5h~&-uc2De|Oo+zjSV8Zk?BOP0WB;Hz5QwwN_tFm+z{#C)M=%qv{yt6~QJ$tl*&+kC&H=M9@%RbCcT_xy6! zbMWqB&T->%VSb+ooqA+#+tP{+ySp-P|Le^E2gw78{6xMd56Iu-mqTr8WDWrcKmY;| zfB*y_009U<00IzzzySoDuK<|VYI?fNYs|8%;vq-I{a!#V>wVQyq>WfDXR zAXHZ(=KpR!cf-1dhai9oP;dyiz%>nJoB`A-8N?eC?-C$e)DjG&p}WQSD2kyFYogHF zjQjTTL)ZK!<5Yx#`cRr0L<%4gZc0La4u>i~Gj$B2^^>u;B#u`HIH<*P>a!wDg04dn zAUN#T+=EgEi~v~5)QAbg9>C>a)x1dT67dr}`=zvGIwC|0Alf?LKR0EXB+n|(oJEz< zt*fb9u*^JMoxXL~>A1r3;1VDQH%TNKR1g!669(|83Nh^iqriK?bBJ{>tO=8#i2$M^ zL<%4$>R^>mCZV~F6t0{c__Qa-?slB92Jw0%0Ah@kY-jHhAZ;tK7X?w$k$(-tsv$6j zFzfR{=r}$Pq1_)~c9E?FE+Rwsznha zED|8|)I8yjZZRd@3OVix^U;DA(Xt@!!kQ2LEkyRa;l)@YL<%6v0%7AdiS8?`QqLQs zK4K9j$fjBO-AW1C+2VHJUqKuaAUklelETfc(BacpfSw%HW>qW5^V$KSsQ5CCd^Z4B7haWL%;Xy8Z|3 z91RpYyXfdWt!CH~MmxaQ9C80_8X#Xwf^;O6eB6Vqsl6h&TAdn9C;}n|`o_kxKqSA!pVrqu% z?*T-N;*yJ4sJ;au-$k^(Hd;&{5+Ehx*(Y$t8beu9C0J-k$?OW2y1SYERFCMp1;I5m zPsTb#3Ltco3fCwTLtkCmMuL@RfB9pod_3(P{mi6DkfSmpCMgmixz1`xLp|9FwYhi? zz5ehX%zlb!ZV1pa?8{*olC!C|LLmKwDJb~hmh)lyTk$BAj61pKj{?_%soIa`(Nk=x zY3E8HTwS6r!x-3zq;VQ=5?~;iJ(Os5ztr(Gt$x)~((+-RQXsq=Mr:@:/ + tls: + certfiles: null + client: + certfile: null + keyfile: null + attribute: + names: + - uid + - member + converters: + - name: null + value: null + maps: + groups: + - name: null + value: null +affiliations: + org1: + - department1 + - department2 + org2: + - department1 +signing: + default: + usage: + - digital signature + - cert sign + - crl sign + expiry: 87600h + profiles: + ca: + usage: + - cert sign + - crl sign + expiry: 43800h + caconstraint: + isca: true + maxpathlen: 0 + tls: + usage: + - signing + - key encipherment + - server auth + - client auth + - key agreement + expiry: 87600h +csr: + cn: tlsca.example.com + keyrequest: + algo: ecdsa + size: 256 + names: + - C: US + ST: North Carolina + L: null + O: example.com + OU: tlsca + hosts: + - fabric-ca-server + - localhost + ca: + expiry: 1314000h + pathlength: 1 +idemix: + rhpoolsize: 1000 + nonceexpiration: 15s + noncesweepinterval: 15m +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + keystore: msp/keystore +cacount: null +cafiles: null +intermediate: + parentserver: + url: null + caname: null + enrollment: + hosts: null + profile: null + label: null + tls: + certfiles: null + client: + certfile: null + keyfile: null diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/fabric-ca-server.db b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/fabric-ca-server.db new file mode 100644 index 0000000000000000000000000000000000000000..cb70bf703c5d2da7c1f86ae1e98bc71fee345b87 GIT binary patch literal 61440 zcmeI)O>Em#00(fp&S%&3bx7T)+YDl{}UAMudgf5h5rQ5Q0VnSd!$xCYH*qP&0 z4HJiyavN7JOq{uZ5GM}6VG>skNJt#GaX|thaT#0?JUi)Pr%l(xI<)fl>ePPk`T4!y zdwzCouQ#r*=nkW0%dTn;ofk#~Q50UHR1kzQJ`+Ai_&mVp5k80bygP}z3kUoj6K4Ld zC1Ur5p;%Nnu`~41;Aina23zsP_*dk7EIRx}LXCax{yQKKL_q)o5P-n{R$%+BP&7F+ zBkov^RxntR*^XY;i<-mgs%4aV*TYNsY-TM>*D^1!Wa&h2^aP#OOY~+Yzw~M*Kb>A! zkW;kIY+W-{vr#QDn-&bKKv%D>(be^pl@!$)&W2^{PE)57_aXa#0? z+w(jf&1uwoGqagiw@j*=PKvUvnr=6#qgNSET&<<3%{Hyutfcaju`jg7s=e75Y?JRO zx4M>H&gSXm>?@h|l{Gq-qSx}d*E0EA^h);Dbf8xK>mkdnQ^V2Z)Rfq&c)(h@tQ)%K z=$2XcFAoG@{V{af)T-#Moz>)8~o*^CPYQ>AF1s>rd2!noV&EpEeG z-M>4x)wS})lab_=DN)eP65FcZG5D2?%G=8F*403>EB>|6(Dy>lJ(w25k>rh;LuJ5s zs0K1|ix9bcBAOf@7h4&xgf-i$xm}ahyGug>vTit??ksmX+C6boGa6mU^uh(+JN<3C zyO}J{4@Hv8sL8e*bwe{t2I~eITHR@fsk*7wEbGzn*tbsy0lb~a^7iRS zG&wmbzSkMuZ03zHno%!y7o&la`y%!k%zX9gl(}a>b2slDP>yWyI#gfSQ)F3Qh(?mR z$$mYSGEc z1sm6QdV7+E@t@L;thJB)RCSRYH0TFT5{iG#{VLlY^reFaeg7uz5U&O@aYI6_Tq2rG zCdKVLUJq;V-ck2Hh6By$1?|&*4nM)0w9s^zmZDCx);rkyN)Q})`3c-{Y`xInmpybX z`}$h@62mtl(Wb|jR|H}nA!BxWKV}U#*KamIIOTLH+0uX=z1Rwwb z2tWV=5P$##AOL}Bq$J`k6F!TbNmt6@jMt z6@)yEA2vl+*+^+Lm8bzk!5dXi_l57=L;*uI4Q^UYhvfmwD-aG4pb!k_3r zev3`(HalqVIn!Zwm6iCb0Bk7}Easd4xX=H?- literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/3295981bd696e06db41db48b17fb743d43988f16fa0b8a1ff6cc6bea7c863162_sk b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/3295981bd696e06db41db48b17fb743d43988f16fa0b8a1ff6cc6bea7c863162_sk new file mode 100644 index 00000000..2681bf59 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/3295981bd696e06db41db48b17fb743d43988f16fa0b8a1ff6cc6bea7c863162_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgLUPdLlI4BVuCXdly +UQMuZ67vJYr2t4ybbr0jLHAIDdChRANCAATgOHkZzn6C6MieVWOZjGve0h/taMdx +QKLv8l08a1FScas16CDWIcDBSIWg1eRh/I/J7Ijjt6DEtHSt3ctGzAuq +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey new file mode 100644 index 00000000..1070b843 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey @@ -0,0 +1,6 @@ +-----BEGIN PRIVATE KEY----- +MIGkAgEBBDALaw+r+kOT0kY5O9E91HUwvqE7p4cTqrAJQ/ZFcgtUz9b8wPL23DOi +XM8Bf77RMaCgBwYFK4EEACKhZANiAATosxBnHncqCn6C6d8Io16Gu5nLUBhDvYNx +/ORur0SLexInMKUrRyc2mFp7zT6XrUCTmKarZJC+7iWGrKyyngkwTxvxa8VVaGY5 +1C/5dObVsA83xko7GOoMHYVtvxFCYJk= +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/IssuerSecretKey b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/msp/keystore/IssuerSecretKey new file mode 100644 index 0000000000000000000000000000000000000000..d692157b964d70cbbf1254922bcb56d1c49eb5b7 GIT binary patch literal 32 ocmY$}e>x&D)=^fc(!oyn*GX-L6^T!d1SWd$sC*GgUU(%D0My_OWdHyG literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem new file mode 100644 index 00000000..197d49ca --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICGTCCAb+gAwIBAgIUf6wM/e5Yoqad5ykzdyNMmFEkQpwwCgYIKoZIzj0EAwIw +aDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK +EwtleGFtcGxlLmNvbTEOMAwGA1UECxMFdGxzY2ExGjAYBgNVBAMTEXRsc2NhLmV4 +YW1wbGUuY29tMCAXDTE4MTAxMjA4NTYwMFoYDzIxNjgwOTA1MDg1NjAwWjBoMQsw +CQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xpbmExFDASBgNVBAoTC2V4 +YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEaMBgGA1UEAxMRdGxzY2EuZXhhbXBs +ZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATgOHkZzn6C6MieVWOZjGve +0h/taMdxQKLv8l08a1FScas16CDWIcDBSIWg1eRh/I/J7Ijjt6DEtHSt3ctGzAuq +o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E +FgQUnOwD/If5n4yCIxCc2kik9+mRsxYwCgYIKoZIzj0EAwIDSAAwRQIhAPNMC62d +5EsJjkqZLSuq9GyZDk+4fsHzNS6lgrlzZfuxAiBygZt2ee8Z8zwoZjTRXvcCj4Df +5+YwFqOjgPXdXg+nTA== +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com_sk b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com_sk new file mode 100644 index 00000000..2681bf59 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/ordererOrganizations/example.com/tlsca/tlsca.example.com_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgLUPdLlI4BVuCXdly +UQMuZ67vJYr2t4ybbr0jLHAIDdChRANCAATgOHkZzn6C6MieVWOZjGve0h/taMdx +QKLv8l08a1FScas16CDWIcDBSIWg1eRh/I/J7Ijjt6DEtHSt3ctGzAuq +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@ca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@ca.org1.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..6b7395af --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@ca.org1.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://ca.org1.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: Admin@org1.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@ca.org1.example.com/msp/keystore/73cc881ad56def29c760c1bb0a798a30ef7e72c099dc45d5af032767bc56db90_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@ca.org1.example.com/msp/keystore/73cc881ad56def29c760c1bb0a798a30ef7e72c099dc45d5af032767bc56db90_sk new file mode 100644 index 00000000..0e34740e --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@ca.org1.example.com/msp/keystore/73cc881ad56def29c760c1bb0a798a30ef7e72c099dc45d5af032767bc56db90_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg8vMuirOjKSGHUNNF +qYlMP7ZlaOE8xD4BIV9UjYApuQyhRANCAATVFCmMnRB4YjYASeToLpW905Sr11d7 +eJuWWVEXxRXweujA+2XIvJnu9oJzfctuEgAixaNfNLWaHo7AAdK1WOLw +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..ef6b4f00 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://tlsca.org1.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: Admin@org1.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..226a754636dac25a1a9a821bd7b07bfbaa1b43ac GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAa(w~SmWIJ_#@&8L4&Z-_=%E^)bpI}--vnQv6H$`ToNEs@eX9eAAJ{3y&M&<@Fgu6 zckYPtV4^F4at3CW1pnX~L<%614*uG1t2!?7R^CW#+~oh3ILU+cYzr-@G;AjI6hLPZ zASJT|G++p$Yim*EpVuL)P*@Fp)uZnF=5u?!9UY+w`yxaNAcIa7#I=O&lH3&jwI%LT zi#&!-7H{!R%>i0_98?IAUChTmNZ`x%e|Jr;jKRv`qT5_!-L<%6-yJ#|OF(cj3A^tcV zeMfxBTxV|N5YNrw?p3lbeqI0)ApYln)W|CWL1@@ZrCWGKU~Qp(0GzL*IO0RSzBgVR z*(!(u3Lv$HJ>?ry0-*88#g{sWa`{#jo~3z0VdS|%`SQ0FMu(Ne8dQT9Z8 zFY6*8bw<~4E%r>IJO5lw0ybleld;hjxmv&+Qj|STL+{`4GDHd>!H(}~6ImwpD^CY& z&{vV$C*?=}k9I%6juM=sF%Yea5+I;C(8aa%Lp_rVF>^2>Q0}yNpEIW`xXiB=kz6qI zrV~0u3Lr4ZVroZZ`_T`ZZ}H@3*?FM4-%2gsKq7?pm&HUdzy=Z^hiRYG98w+ihRooM zg_v3jN4zQMe5AThe=6|*{j3IoLLgJ=U4jLP9qShVLPip1uq)pKCXvk!yG?%i{y(q# z9ji(pFNqhx4A8e)g9l@P>86%YKjs7xUXQC*LAh%e-1HMJQXqiI$G69?!^rVh2&_#% Vk($L%Jcjq}W!2e#PhOvS;IH?2jpzUX literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..a23395d7 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbdmgC+obJLpKIU15eFC1MJNLMdkpOchP +9bG0xFWT0wk69EEFAeSYnDHdDFwJH3gmSEmSaccrRRGJUts4yBCz4vpAyxklNEJU +JQV9TLWAwWs6IwpYSdI5FZb1Ot4YWvUd +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem new file mode 100644 index 00000000..8f5915a6 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICLTCCAdOgAwIBAgIUZtbUdoKq2gdiBI4t9xAYtKb0l1swCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU2MDBaGA8yMTY4MDkwNTA4 +NTYwMFowcjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkw +FwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UE +AxMWdGxzY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEH +A0IABDTiGBWVnDlbHx0qkujF3r4r5g7fG3FFuYXz4UgN2WmNk2z6nF4FaD+YQgCz +ayp0eLT37kK0BSJHqEKoiJrKtZ6jRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB +Af8ECDAGAQH/AgEBMB0GA1UdDgQWBBRYLwES7lJq4i67F2AeLU35NxkbUzAKBggq +hkjOPQQDAgNIADBFAiEAvfkVNhBjlw8ApIorDAvqMA2DmLckOjX1HS2aN8MleT8C +IBIrfl1rq9rz/PuvEmGB15oKXPiTHOWqZ3Mkdlc4Uddd +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/keystore/44ac4b3d7f237351157123fe27ae6ab6beed584000c446a5a22373fb366a4987_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/keystore/44ac4b3d7f237351157123fe27ae6ab6beed584000c446a5a22373fb366a4987_sk new file mode 100644 index 00000000..b2ffa67d --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/keystore/44ac4b3d7f237351157123fe27ae6ab6beed584000c446a5a22373fb366a4987_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgfRcMLZfkPxSPSjxY +LOcLxIeUCd7C71EfZH9Jyj8cstqhRANCAASpl1xmXmNMex/YmPK9ew9sI4JW7w5B +e4whAaHEMEr4K9QWbmGUtZPtr3EKEHYbhA8BM2RdFkl+09fvew76T9tQ +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..71cde348 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/Admin@tlsca.org1.example.com/msp/signcerts/cert.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDDTCCArOgAwIBAgIUJbPbRHo+tTwYRVq0zJ2p3bzYtdMwCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAy +MDBaMIGFMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTENMAsG +A1UECxMEdXNlcjEfMB0GA1UEAwwWQWRtaW5Ab3JnMS5leGFtcGxlLmNvbTBZMBMG +ByqGSM49AgEGCCqGSM49AwEHA0IABKmXXGZeY0x7H9iY8r17D2wjglbvDkF7jCEB +ocQwSvgr1BZuYZS1k+2vcQoQdhuEDwEzZF0WSX7T1+97DvpP21CjggERMIIBDTAO +BgNVHQ8BAf8EBAMCAYYwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUPgf/xHQ/Nru2 ++JEBpLOA2OClo6AwHwYDVR0jBBgwFoAUWC8BEu5SauIuuxdgHi1N+TcZG1MwIQYD +VR0RBBowGIEWQWRtaW5Ab3JnMS5leGFtcGxlLmNvbTCBiQYIKgMEBQYHCAEEfXsi +YXR0cnMiOnsiYWJhYy5pbml0IjoidHJ1ZSIsImFkbWluIjoidHJ1ZSIsImhmLkFm +ZmlsaWF0aW9uIjoiIiwiaGYuRW5yb2xsbWVudElEIjoiQWRtaW5Ab3JnMS5leGFt +cGxlLmNvbSIsImhmLlR5cGUiOiJ1c2VyIn19MAoGCCqGSM49BAMCA0gAMEUCIQCl +X+M3Rp7MEAVT6N8D7TgqOh9Rmtrv4By1WVmeNf/ZAAIgb6Cb7Thh7y60I6OlxdOw +A3bsWxA4xq8q3gCL+/I2kDE= +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@ca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@ca.org1.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..cec4dbdc --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@ca.org1.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://ca.org1.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: User1@org1.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@ca.org1.example.com/msp/keystore/cfdbc7a7f70d040af5879f1b7333a68dd0a48c3f71df817b7ae26bb1bd42e86d_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@ca.org1.example.com/msp/keystore/cfdbc7a7f70d040af5879f1b7333a68dd0a48c3f71df817b7ae26bb1bd42e86d_sk new file mode 100644 index 00000000..5ac8d89a --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@ca.org1.example.com/msp/keystore/cfdbc7a7f70d040af5879f1b7333a68dd0a48c3f71df817b7ae26bb1bd42e86d_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgWUNovBTSm43w0Gne +wH+gjOv4wnAUOes4Rl5xRfJNkFChRANCAAQYGe+D/gw4IbjDBD5XQutFqjELjXz+ +WayBTKOK/gZP4lqwqp9NqWNWI8uiVilHKrKD24GqsM3+h5d5q2UJG5Hf +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..47b9ce88 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://tlsca.org1.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: User1@org1.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..226a754636dac25a1a9a821bd7b07bfbaa1b43ac GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAa(w~SmWIJ_#@&8L4&Z-_=%E^)bpI}--vnQv6H$`ToNEs@eX9eAAJ{3y&M&<@Fgu6 zckYPtV4^F4at3CW1pnX~L<%614*uG1t2!?7R^CW#+~oh3ILU+cYzr-@G;AjI6hLPZ zASJT|G++p$Yim*EpVuL)P*@Fp)uZnF=5u?!9UY+w`yxaNAcIa7#I=O&lH3&jwI%LT zi#&!-7H{!R%>i0_98?IAUChTmNZ`x%e|Jr;jKRv`qT5_!-L<%6-yJ#|OF(cj3A^tcV zeMfxBTxV|N5YNrw?p3lbeqI0)ApYln)W|CWL1@@ZrCWGKU~Qp(0GzL*IO0RSzBgVR z*(!(u3Lv$HJ>?ry0-*88#g{sWa`{#jo~3z0VdS|%`SQ0FMu(Ne8dQT9Z8 zFY6*8bw<~4E%r>IJO5lw0ybleld;hjxmv&+Qj|STL+{`4GDHd>!H(}~6ImwpD^CY& z&{vV$C*?=}k9I%6juM=sF%Yea5+I;C(8aa%Lp_rVF>^2>Q0}yNpEIW`xXiB=kz6qI zrV~0u3Lr4ZVroZZ`_T`ZZ}H@3*?FM4-%2gsKq7?pm&HUdzy=Z^hiRYG98w+ihRooM zg_v3jN4zQMe5AThe=6|*{j3IoLLgJ=U4jLP9qShVLPip1uq)pKCXvk!yG?%i{y(q# z9ji(pFNqhx4A8e)g9l@P>86%YKjs7xUXQC*LAh%e-1HMJQXqiI$G69?!^rVh2&_#% Vk($L%Jcjq}W!2e#PhOvS;IH?2jpzUX literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..a23395d7 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbdmgC+obJLpKIU15eFC1MJNLMdkpOchP +9bG0xFWT0wk69EEFAeSYnDHdDFwJH3gmSEmSaccrRRGJUts4yBCz4vpAyxklNEJU +JQV9TLWAwWs6IwpYSdI5FZb1Ot4YWvUd +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem new file mode 100644 index 00000000..8f5915a6 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICLTCCAdOgAwIBAgIUZtbUdoKq2gdiBI4t9xAYtKb0l1swCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU2MDBaGA8yMTY4MDkwNTA4 +NTYwMFowcjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkw +FwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UE +AxMWdGxzY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEH +A0IABDTiGBWVnDlbHx0qkujF3r4r5g7fG3FFuYXz4UgN2WmNk2z6nF4FaD+YQgCz +ayp0eLT37kK0BSJHqEKoiJrKtZ6jRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB +Af8ECDAGAQH/AgEBMB0GA1UdDgQWBBRYLwES7lJq4i67F2AeLU35NxkbUzAKBggq +hkjOPQQDAgNIADBFAiEAvfkVNhBjlw8ApIorDAvqMA2DmLckOjX1HS2aN8MleT8C +IBIrfl1rq9rz/PuvEmGB15oKXPiTHOWqZ3Mkdlc4Uddd +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/keystore/c193ca45e88d8a6602450a05c87de44c9d630428d49fe82ac730959ada6d3eb7_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/keystore/c193ca45e88d8a6602450a05c87de44c9d630428d49fe82ac730959ada6d3eb7_sk new file mode 100644 index 00000000..807469b4 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/keystore/c193ca45e88d8a6602450a05c87de44c9d630428d49fe82ac730959ada6d3eb7_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg2PYDX6UQs548jvq0 +eP2rClDYv8JoiZeK6qJcXHzvQUqhRANCAAT6w4XqgWi8OOT6uYXZRaGkquFsFtsh +rfS8J4KB2c6WUDkUIHXOio6hLP2mNFTVNMGnRxF1LSpMPEFxie5jaN/W +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..7798a595 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/User1@tlsca.org1.example.com/msp/signcerts/cert.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDDTCCArSgAwIBAgIUH4qT7e5nHhIYhhXrdGPnEzHWMhswCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAy +MDBaMIGFMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTENMAsG +A1UECxMEdXNlcjEfMB0GA1UEAwwWVXNlcjFAb3JnMS5leGFtcGxlLmNvbTBZMBMG +ByqGSM49AgEGCCqGSM49AwEHA0IABPrDheqBaLw45Pq5hdlFoaSq4WwW2yGt9Lwn +goHZzpZQORQgdc6KjqEs/aY0VNU0wadHEXUtKkw8QXGJ7mNo39ajggESMIIBDjAO +BgNVHQ8BAf8EBAMCAYYwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQU/fDcOzrRHtLF +QnXNHSVg2ln0UmgwHwYDVR0jBBgwFoAUWC8BEu5SauIuuxdgHi1N+TcZG1MwIQYD +VR0RBBowGIEWVXNlcjFAb3JnMS5leGFtcGxlLmNvbTCBigYIKgMEBQYHCAEEfnsi +YXR0cnMiOnsiYWJhYy5pbml0IjoidHJ1ZSIsImFkbWluIjoiZmFsc2UiLCJoZi5B +ZmZpbGlhdGlvbiI6IiIsImhmLkVucm9sbG1lbnRJRCI6IlVzZXIxQG9yZzEuZXhh +bXBsZS5jb20iLCJoZi5UeXBlIjoidXNlciJ9fTAKBggqhkjOPQQDAgNHADBEAiBK +C0p26m2dx0Y9IEJ93KWHgr+kCXtJHs+mLh56CbjkNwIgOyqY7vOQ6plgUpTT42b8 +Xp2CkVyqaw+hsUg+F2lxGsA= +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@ca.org1.example.com/fabric-ca-client-config.yaml similarity index 99% rename from hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/fabric-ca-client-config.yaml rename to hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@ca.org1.example.com/fabric-ca-client-config.yaml index d8517f9a..3ec323c5 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/fabric-ca-client-config.yaml +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@ca.org1.example.com/fabric-ca-client-config.yaml @@ -99,7 +99,7 @@ tls: # ############################################################################# csr: - cn: admin-default + cn: boot-admin keyrequest: algo: ecdsa size: 256 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@ca.org1.example.com/msp/keystore/34e439a8c5fb85419ae4bb629918cc736d8a92658e79ae92d42d30a7ac98f9a0_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@ca.org1.example.com/msp/keystore/34e439a8c5fb85419ae4bb629918cc736d8a92658e79ae92d42d30a7ac98f9a0_sk new file mode 100644 index 00000000..e4097d65 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@ca.org1.example.com/msp/keystore/34e439a8c5fb85419ae4bb629918cc736d8a92658e79ae92d42d30a7ac98f9a0_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgGnD2h1/mDGeNIadf +fP/pROrbeZRifCe8Z9VIGAQ3GoShRANCAAR2wsRMRc5/mBRrTbjfZ/4FD6rb9fPz +y36ATZQx+o7Zj22paPHhXKHOOZliP/n0Ax5EPeY8DejzDY0mo3CV3voZ +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/fabric-ca-client-config.yaml similarity index 99% rename from hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/fabric-ca-client-config.yaml rename to hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/fabric-ca-client-config.yaml index 0fb6bc4b..e2606736 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/fabric-ca-client-config.yaml +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/fabric-ca-client-config.yaml @@ -99,7 +99,7 @@ tls: # ############################################################################# csr: - cn: admin-default + cn: boot-admin keyrequest: algo: ecdsa size: 256 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..226a754636dac25a1a9a821bd7b07bfbaa1b43ac GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAa(w~SmWIJ_#@&8L4&Z-_=%E^)bpI}--vnQv6H$`ToNEs@eX9eAAJ{3y&M&<@Fgu6 zckYPtV4^F4at3CW1pnX~L<%614*uG1t2!?7R^CW#+~oh3ILU+cYzr-@G;AjI6hLPZ zASJT|G++p$Yim*EpVuL)P*@Fp)uZnF=5u?!9UY+w`yxaNAcIa7#I=O&lH3&jwI%LT zi#&!-7H{!R%>i0_98?IAUChTmNZ`x%e|Jr;jKRv`qT5_!-L<%6-yJ#|OF(cj3A^tcV zeMfxBTxV|N5YNrw?p3lbeqI0)ApYln)W|CWL1@@ZrCWGKU~Qp(0GzL*IO0RSzBgVR z*(!(u3Lv$HJ>?ry0-*88#g{sWa`{#jo~3z0VdS|%`SQ0FMu(Ne8dQT9Z8 zFY6*8bw<~4E%r>IJO5lw0ybleld;hjxmv&+Qj|STL+{`4GDHd>!H(}~6ImwpD^CY& z&{vV$C*?=}k9I%6juM=sF%Yea5+I;C(8aa%Lp_rVF>^2>Q0}yNpEIW`xXiB=kz6qI zrV~0u3Lr4ZVroZZ`_T`ZZ}H@3*?FM4-%2gsKq7?pm&HUdzy=Z^hiRYG98w+ihRooM zg_v3jN4zQMe5AThe=6|*{j3IoLLgJ=U4jLP9qShVLPip1uq)pKCXvk!yG?%i{y(q# z9ji(pFNqhx4A8e)g9l@P>86%YKjs7xUXQC*LAh%e-1HMJQXqiI$G69?!^rVh2&_#% Vk($L%Jcjq}W!2e#PhOvS;IH?2jpzUX literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..a23395d7 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbdmgC+obJLpKIU15eFC1MJNLMdkpOchP +9bG0xFWT0wk69EEFAeSYnDHdDFwJH3gmSEmSaccrRRGJUts4yBCz4vpAyxklNEJU +JQV9TLWAwWs6IwpYSdI5FZb1Ot4YWvUd +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem new file mode 100644 index 00000000..8f5915a6 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICLTCCAdOgAwIBAgIUZtbUdoKq2gdiBI4t9xAYtKb0l1swCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU2MDBaGA8yMTY4MDkwNTA4 +NTYwMFowcjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkw +FwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UE +AxMWdGxzY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEH +A0IABDTiGBWVnDlbHx0qkujF3r4r5g7fG3FFuYXz4UgN2WmNk2z6nF4FaD+YQgCz +ayp0eLT37kK0BSJHqEKoiJrKtZ6jRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB +Af8ECDAGAQH/AgEBMB0GA1UdDgQWBBRYLwES7lJq4i67F2AeLU35NxkbUzAKBggq +hkjOPQQDAgNIADBFAiEAvfkVNhBjlw8ApIorDAvqMA2DmLckOjX1HS2aN8MleT8C +IBIrfl1rq9rz/PuvEmGB15oKXPiTHOWqZ3Mkdlc4Uddd +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/keystore/8536a2b7d0da5fc40122f75d0a21ceba15d8a8c9797d683b2d1436889dda4e1d_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/keystore/8536a2b7d0da5fc40122f75d0a21ceba15d8a8c9797d683b2d1436889dda4e1d_sk new file mode 100644 index 00000000..58eb32bd --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/keystore/8536a2b7d0da5fc40122f75d0a21ceba15d8a8c9797d683b2d1436889dda4e1d_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgWPQgr/DLwEczolSb +mEznYJZXe4gNhPPAcnMmQrLgolehRANCAARyGsnOftmnTa+flGDLKdPJbj+C0Cla +aaY5zkuAUT1ojNk/ASQv22KGOi+V50QvzyK3QOqAKnPBGvpM9akBz92J +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..42bd0c82 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/boot-admin@tlsca.org1.example.com/msp/signcerts/cert.pem @@ -0,0 +1,16 @@ +-----BEGIN CERTIFICATE----- +MIICczCCAhqgAwIBAgIUc5cHVaZnLnq0g7UZ8bveQ2VJADEwCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAy +MDBaMHsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH +Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ8wDQYD +VQQLEwZjbGllbnQxEzARBgNVBAMTCmJvb3QtYWRtaW4wWTATBgcqhkjOPQIBBggq +hkjOPQMBBwNCAARyGsnOftmnTa+flGDLKdPJbj+C0ClaaaY5zkuAUT1ojNk/ASQv +22KGOi+V50QvzyK3QOqAKnPBGvpM9akBz92Jo4GEMIGBMA4GA1UdDwEB/wQEAwIB +hjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBQhJFtMm0+ApEOidrRbUd466PCe4jAf +BgNVHSMEGDAWgBRYLwES7lJq4i67F2AeLU35NxkbUzAhBgNVHREEGjAYgRZBZG1p +bkBvcmcxLmV4YW1wbGUuY29tMAoGCCqGSM49BAMCA0cAMEQCICaXvUWDxu62xHmK +TXMvTTVgSYZE+Q8hCOfnlz9OQJyaAiAtKzb22ZNDjW/ZSjsKXJhsK1+CJC52CabN +ANE96bx2Xg== +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/IssuerPublicKey index 2b83ed95a48bca568637632c679d0a420001fad8..5c30e6a6fcb95c1b5ac8706e24c9eed66a377164 100644 GIT binary patch delta 810 zcmV+_1J(S?2FnJJE`K}`qkSwzKQy`obSK}*A#>^2_0x;y84U%ER~?hI;}H@doFb0+ zZsdv?onm}e8sNUcBo_f9`kD6u>^KLWrF|F+8bk^p6?4_aJc$`xPiEU4@4?wa^6+*S z>v_ph8`4fPmE8O}5+DP7<|Kw_rTWJdODAE2J1RKQ?J*KHi+_xR5s$dOV0GRiL<%5d z8}U(K0-=;)%ix6sUT|VIU=c60h;Gph761RSc##egAp41+kpX^qtPoHhHGX{51tLTWAfm*$FufJyow|_76v3ENmm5jvx$IN}`CQ?{VA#ZSUJ@XS z7Yn21!?;!3M}OxwOcyWriWJ%o!PMO$!8n*mB3I%QB18%xSGx)?0qVcReHg;e6Z}Pu z;&a7^g-H&Qxd5MZz6DTJ5+E?oau4v0wf`o+G;^~GqWyxkcIpcNP}Wg=0=+S(mp39r z3Ly86Gy3FEjKPR?*%M0|ncJJwAiH~XusA8|p;jZn4u2XFAoo(8<`n~ROP}XTXxxwu zAD{A@o}z+oTD<1k%Hdvwkt&D*3Lx;En~TGFC6t#83Fa+vI&m&XAg`>sx(TZ?uBvwU z4mJ`XEWQnRF^(fP*xL^u_KBynIVTd-)*tl@e*C<#rLEDJ8XzqClmJvJ2+1p{zedJ` zAw77^VSh1d^&Qlu-OBsc;T|9&AhS@K`DR}XUpdtkg^j4YzhhSgTF(BhVxq1*90Bii zvNA*pAdFl;1qug1_Jq9sV2%9JGH9#A&uL<%5H+v!AbVShi!e6a-zd4*T zgM8LalfXQKEs>o9uART?Ni`uYN+5v#q(;<2)hL8O)88jcSF_{)3j)7OBj67d!tskN o>m!;{Abd;f@Z{_w8CSm0QYqqFfR<6vPOd`u37Kr~yj@_Ts|H4TqyPW_ delta 810 zcmV+_1J(S?2FnJJE`Kje*_T`vR87``?wX{q6HXWd$r-Nj6=Pey^Ixsgni~=zfV)39 z{sfZ&@p7~uEstQAQ@Ft)Dlvjr*!X__zy2Eb8bk^paorNqA<)87A|#W#ME(Y4Qlgx1 z_8fcJB?c6SdxZMF5+GxS+rA7#Pd|6+J=>-zT+_K)jUN0(s(+`F@2gzff^>%>L<%7H zbAXdT$+S<8Z)#FOqiETz`EI2O!85>8RYk{nuRebgAQnc(Fl}&98FIVmd)ijxr5~TB z=5Y3*z)h(69}8#bZX!eqAizrn5mu;C8KcaVPte4C-yxc?QYs zAzw+-;XUP%M3wF;mG0cbx+;hP3Lt<-qh*)F_l5*``Dm0_u}w%>9<0v+vAq;%v7=Bz zguN0VUeAOtgkjXf`C!JG?_3k%N=RXOs0!KfV68&rdC}0*8X!;WiWSQBM;T^`^vxKk zOWs)JMSmU3@O*w0usRlj1ilL*Ac0eId&sG`0c;W&aYN3XL_7Wf>enE;#Ii1;HZTvjI zUXEWm4iO9s^BWm@BvBj(tR43{L<%5Dx0X1tQGXG_$SSn@z12h*Xz%flO!+c4wNJo! zP9Vhl5+JJ+K22B_KK0wbWupfR0Zn-I141bbN!(QQzD12C_RT^dNt3W_5L?s_%rJzK zXrJ{!QGyJpv!@J$tIGw6+o82eN+1LfU7SI^>l*Sfv#2Nr(48^Wi%$#dcwLQAN6#&* oiX$;nAf=kjWytG8l7_*RU_OyxqehYY3ZiU162XaPFb4tn^f)bcvH$=8 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/IssuerRevocationPublicKey index b587da83..9091d59f 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/IssuerRevocationPublicKey +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/IssuerRevocationPublicKey @@ -1,5 +1,5 @@ -----BEGIN PUBLIC KEY----- -MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEDSMDdZOsmA1SpSm9GK1mKkTPBPVKjeYo -mEZMM/kqHNiXQErz6y77zu+kaxVwMM2I+jipDuYHzFxJA9m27hpFODNHApg5WEla -Ak5Fo+Ak9cw5WUydukL1FjBg3UICNOgi +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEVHAMGD123d5QVhI6LAq7sEU8frN4bN9p +gPiKwWBLljpCGQH8kBbQoyEyFFBGndyWgalkLrEXJNv/VGAWyDEeg6c8/fycfJW4 +iq8Mk1AvRAVMJIF9VwjHdwQ3rMmzC15n -----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem index 54d9e4ca..6008c92c 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem @@ -1,14 +1,14 @@ -----BEGIN CERTIFICATE----- -MIICHjCCAcWgAwIBAgIUFBjX17iaFQ0kRSLN1YQIdlBIdM0wCgYIKoZIzj0EAwIw +MIICIDCCAcegAwIBAgIUDEK12gHn0vyqLETS3DWGJrqUksMwCgYIKoZIzj0EAwIw bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK ExBvcmcxLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn -MS5leGFtcGxlLmNvbTAeFw0xODEwMTAwOTI2MDBaFw0zMzEwMDYwOTI2MDBaMGwx -CzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEZMBcGA1UEChMQ -b3JnMS5leGFtcGxlLmNvbTELMAkGA1UECxMCY2ExHDAaBgNVBAMTE2NhLm9yZzEu -ZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR/vnxyLUrmMJJx -h1nGAk+YidN8RL0XKl8gjzNa2SuEHfaROUhBVU3r06rDuJoNn+P3tcIwFsgndJmk -vLrCBcQDo0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAd -BgNVHQ4EFgQUu79ukG5b4N19gYSYYALk+wY91SYwCgYIKoZIzj0EAwIDRwAwRAIg -THDvbxlsa/Xw0gEAXlSfNS5XIthdULlQmsWzA0WEz1ACICXifW6iWfl4fibYwqR5 -L/XiIQ/2UQ9nHnPbZm3ISVvN +MS5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU3MDBaGA8yMTY4MDkwNTA4NTcwMFow +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +MS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABN1A0nR0Orkp +ppOOnvCoIiIFfzpBdwWQCJ7FEx/iF2H/2PkOws6qEN2sBh2WqByWR2c7EIdmgvUu +ZxSIEXU2TO2jRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEB +MB0GA1UdDgQWBBSpWdz/SpIKYXgSaEYa0XBEvF8TGzAKBggqhkjOPQQDAgNHADBE +AiAPu4EVW8V7ocl2hRGI+jAz4aBfCiiW5MX3+vYbDCtyxgIgJoeEFVulOhxdEBBe +YKUNAAVA2pkMYUzgEWT743z0jhY= -----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com_sk index a1143a80..f9b6b7a7 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com_sk +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com_sk @@ -1,5 +1,5 @@ -----BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgiN1Z0HqaMHo8VPPt -2267O46l2yZ1r411HjSr9rOPXeOhRANCAAR/vnxyLUrmMJJxh1nGAk+YidN8RL0X -Kl8gjzNa2SuEHfaROUhBVU3r06rDuJoNn+P3tcIwFsgndJmkvLrCBcQD +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgvjKIcywt9dWmrXyU +EP5BS3QS2820krnIkXpMxcUfL5qhRANCAATdQNJ0dDq5KaaTjp7wqCIiBX86QXcF +kAiexRMf4hdh/9j5DsLOqhDdrAYdlqgclkdnOxCHZoL1LmcUiBF1Nkzt -----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/fabric-ca-server-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/fabric-ca-server-config.yaml index 24411b1f..907fdf93 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/fabric-ca-server-config.yaml +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/fabric-ca-server-config.yaml @@ -1,4 +1,4 @@ -version: 1.3.0 +version: 1.4.0 port: 7054 debug: false crlsizelimit: 512000 @@ -19,8 +19,8 @@ crl: registry: maxenrollments: -1 identities: - - name: admin-default - pass: pass-default + - name: boot-admin + pass: boot-pass type: client affiliation: "" attrs: @@ -69,7 +69,9 @@ signing: default: usage: - digital signature - expiry: 8760h + - cert sign + - crl sign + expiry: 87600h profiles: ca: usage: @@ -86,7 +88,7 @@ signing: - server auth - client auth - key agreement - expiry: 8760h + expiry: 87600h csr: cn: ca.org1.example.com keyrequest: @@ -99,10 +101,10 @@ csr: O: org1.example.com OU: ca hosts: - - ca.org1.example.com + - fabric-ca-server - localhost ca: - expiry: 131400h + expiry: 1314000h pathlength: 1 idemix: rhpoolsize: 1000 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/fabric-ca-server.db b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/ca/fabric-ca-server.db index 57248bad697c3d398a737924cbcdff2b2ee02c3f..602a4e572fb291bdd121f02dc9f8e6ab7ae96b0c 100644 GIT binary patch delta 307 zcmZp8z})bFd4e>fizqKAn9nqMfxILqBb0BnDS=ynk$JPA!x#QV2?7%X*f+BW{HQVw9+2XrK}hmTF#^YgUr2SCZzE>{$?C znWAT$8fcvBSsIpE?3L>l;27u`VP5K;nw;lf>ZhM&X`G*#oRbN3Vf1AGd*YK-@86t! z_df4rxw}dtvH!Uk7#LXjH!$$u;y=p2f&T~pW1!>a@lW3Ho?QpUcdR1Jx{M$%A$i%5 Wg@aiXEXWMhAi~MS&MXS@wh;jE&0yI8 delta 2211 zcmb_e&5zqe6yG%4vg_?O1+|n4)GlcykkZZCj`QJ_5R5?DVmr>} zYqAR{Eg-~&FXe<(0e3(u^glr2ia2qDR6@`r9Jzs=-7ZT}xqvmY=Dm3{@ArN)@6Fu2 z7ruEf{K3i%T!Q`0lIA zwYuBttk=y(ZRiZr2@_2lMg}MJOa^ZdsYZgtP(7&=^#*BVGATTnPNuMwuIr7INunt; zsheoMo~~!G3_)g6D2kgzLq}7IdOeA!EYGXsC`PVhsNdF5ax*c(Hc>Q&qW<6iu=ROc zo6E-o>%m8{ydbU7tgHx}Km&!HYY|ZpXicGMV6`j&1qxV#YQ(6_K3yiPkvuBOG&Yc8 zMvKpFSDG56EltRKJHkO5Wqo@%L3D;Kh`{Cnrm|F1q$?G1%pHIVWl0r(Ifb#4BcmgG z0xLBQm+aT7$)+gVkb@diDV6dFJElg4Ym5tSh0v-P)OmHN;p9Lp^&wrF8x>fXYikN? zh?F;X1jeGG;p|YKByt@@EGHe4=LQBpb_%XE(iLEG5FHm87K#dhMMc0xhN{hV$^)G^ z4s>Fc7$fun$Q|O<6yQ`8Q5GS4=vrW5m(i-@?v6|D>#pNt*B}Sxu(B+iV2V~HEJW_) znz}1>4O|+XjPB9FWgv4L+)f+OdB@Q^r7_nA>LChWzRQLJiYsZ!jw2TE?3-WDviEgjTVWng*<4b~Y@4B%x; z845Hq?1Ta$O%VVxJ|##+Mio%XZcspgfC2SGOM>OBk}Bbv({;DXxn4`C3pVVCFxA;< z8LHpU24_J=+lU_x1^KK zW3vfFB}xWpQG%pyC-(QXio<0EAqI7}OZ8fgC5>u!jM%XFm{&F3=K4mf0AF|knP(F# zG5^dkBq$h>&lda^zWeyvClOUy+}&ONziY!+FD-t6gpu0|=Wd;SAGz%pr}q%$&2D(* z(k;Jqy)7;+FROjChh4{O*D>_Et?cE|yzS+>2Bz?u(AZYH+eHrFN$;s@tE|UG&TGc0 zVw$Gg0@dit+cl3K`U|`~{ciT;^vdk~8N+G$<#D<(yFC46_SDpvU0odXhUWD1+1e!N zL|?!0YP3^x&FE%yUKXP_qNAGQ4{SyoHK%X-vT2yTL3A@PKWVMkjCiZl8l0FhU-3~B znvFQy>3NP56l{TsN`HBp2mMG-{zPTJ8z6arEQs-8^XcrzOOq2e4~_4>>76>FIq%a9 zf-B&NX0lxL49QKwjU?bI#QvyB#>;V%L>-l_?1-sxwgB2f)l5Pgk~<7&xY}?yr}>yV zAEInpt?9klng2}tzmiz{udLq?k6D~^@DNRZoreF1^*3G%tvq*Y@$%|h#pTf7FWw{e zWx(^c?N}@URH56aUAa%hi)mKr<%Y?2Pa3paPEnF&u~IPXt-9>;0|P%i)-NCOKmC68 zeCUS1|G!<>{UgZa(~&z1k>4XfMZS%E6S?E(^T(0tonIfjgr9sdoL&lF3, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: peer0@org1.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@ca.org1.example.com/msp/keystore/572d73d7a08d9992a2e3024a6105fb7a47ae89aae2bb5a6d7fcd13b15a57a0e1_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@ca.org1.example.com/msp/keystore/572d73d7a08d9992a2e3024a6105fb7a47ae89aae2bb5a6d7fcd13b15a57a0e1_sk new file mode 100644 index 00000000..a3869e94 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@ca.org1.example.com/msp/keystore/572d73d7a08d9992a2e3024a6105fb7a47ae89aae2bb5a6d7fcd13b15a57a0e1_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgGbiPTe+OO8PG2TQu +00tnxr7sU1D/DrPshhXHyyND/7uhRANCAAT0Du/ENv0FsDjpCcRxrlW8zJqU3mYB +YengujzLKbirqcKlmmon2uWm4vZDiLS60b6Aa/5nfLSNatAfhyenKtez +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..2e43e9f1 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://tlsca.org1.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: peer0@org1.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..226a754636dac25a1a9a821bd7b07bfbaa1b43ac GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAa(w~SmWIJ_#@&8L4&Z-_=%E^)bpI}--vnQv6H$`ToNEs@eX9eAAJ{3y&M&<@Fgu6 zckYPtV4^F4at3CW1pnX~L<%614*uG1t2!?7R^CW#+~oh3ILU+cYzr-@G;AjI6hLPZ zASJT|G++p$Yim*EpVuL)P*@Fp)uZnF=5u?!9UY+w`yxaNAcIa7#I=O&lH3&jwI%LT zi#&!-7H{!R%>i0_98?IAUChTmNZ`x%e|Jr;jKRv`qT5_!-L<%6-yJ#|OF(cj3A^tcV zeMfxBTxV|N5YNrw?p3lbeqI0)ApYln)W|CWL1@@ZrCWGKU~Qp(0GzL*IO0RSzBgVR z*(!(u3Lv$HJ>?ry0-*88#g{sWa`{#jo~3z0VdS|%`SQ0FMu(Ne8dQT9Z8 zFY6*8bw<~4E%r>IJO5lw0ybleld;hjxmv&+Qj|STL+{`4GDHd>!H(}~6ImwpD^CY& z&{vV$C*?=}k9I%6juM=sF%Yea5+I;C(8aa%Lp_rVF>^2>Q0}yNpEIW`xXiB=kz6qI zrV~0u3Lr4ZVroZZ`_T`ZZ}H@3*?FM4-%2gsKq7?pm&HUdzy=Z^hiRYG98w+ihRooM zg_v3jN4zQMe5AThe=6|*{j3IoLLgJ=U4jLP9qShVLPip1uq)pKCXvk!yG?%i{y(q# z9ji(pFNqhx4A8e)g9l@P>86%YKjs7xUXQC*LAh%e-1HMJQXqiI$G69?!^rVh2&_#% Vk($L%Jcjq}W!2e#PhOvS;IH?2jpzUX literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..a23395d7 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbdmgC+obJLpKIU15eFC1MJNLMdkpOchP +9bG0xFWT0wk69EEFAeSYnDHdDFwJH3gmSEmSaccrRRGJUts4yBCz4vpAyxklNEJU +JQV9TLWAwWs6IwpYSdI5FZb1Ot4YWvUd +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem new file mode 100644 index 00000000..8f5915a6 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICLTCCAdOgAwIBAgIUZtbUdoKq2gdiBI4t9xAYtKb0l1swCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU2MDBaGA8yMTY4MDkwNTA4 +NTYwMFowcjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkw +FwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UE +AxMWdGxzY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEH +A0IABDTiGBWVnDlbHx0qkujF3r4r5g7fG3FFuYXz4UgN2WmNk2z6nF4FaD+YQgCz +ayp0eLT37kK0BSJHqEKoiJrKtZ6jRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB +Af8ECDAGAQH/AgEBMB0GA1UdDgQWBBRYLwES7lJq4i67F2AeLU35NxkbUzAKBggq +hkjOPQQDAgNIADBFAiEAvfkVNhBjlw8ApIorDAvqMA2DmLckOjX1HS2aN8MleT8C +IBIrfl1rq9rz/PuvEmGB15oKXPiTHOWqZ3Mkdlc4Uddd +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/keystore/45b0f55480bae0cc9882a3563e74f7dd8f37ec0aef715a96579fb8aa941f6f4e_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/keystore/45b0f55480bae0cc9882a3563e74f7dd8f37ec0aef715a96579fb8aa941f6f4e_sk new file mode 100644 index 00000000..c1f9eb1f --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/keystore/45b0f55480bae0cc9882a3563e74f7dd8f37ec0aef715a96579fb8aa941f6f4e_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgt8+ZSv6BYejhJK/E +peNwqBja0KCe2vKwffqny1Frd2mhRANCAAQKmzIKjGZnFmh/yK0FRRiY+dnfPubf +RsFhSlE0li5JXcBhyBpgi9+7R3280q/SW9+xuEMQK0nSqoXLPeC+UrZU +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..7e06b913 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer0@tlsca.org1.example.com/msp/signcerts/cert.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDDTCCArSgAwIBAgIUB9LSFJbuP69HlDI8K2SpPTBn2nUwCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAy +MDBaMIGFMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTENMAsG +A1UECxMEcGVlcjEfMB0GA1UEAwwWcGVlcjBAb3JnMS5leGFtcGxlLmNvbTBZMBMG +ByqGSM49AgEGCCqGSM49AwEHA0IABAqbMgqMZmcWaH/IrQVFGJj52d8+5t9GwWFK +UTSWLkldwGHIGmCL37tHfbzSr9Jb37G4QxArSdKqhcs94L5StlSjggESMIIBDjAO +BgNVHQ8BAf8EBAMCAYYwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQU+wgV82ZCI689 +LNyFs4c7B56yCRwwHwYDVR0jBBgwFoAUWC8BEu5SauIuuxdgHi1N+TcZG1MwIQYD +VR0RBBowGIEWcGVlcjBAb3JnMS5leGFtcGxlLmNvbTCBigYIKgMEBQYHCAEEfnsi +YXR0cnMiOnsiYWJhYy5pbml0IjoidHJ1ZSIsImFkbWluIjoiZmFsc2UiLCJoZi5B +ZmZpbGlhdGlvbiI6IiIsImhmLkVucm9sbG1lbnRJRCI6InBlZXIwQG9yZzEuZXhh +bXBsZS5jb20iLCJoZi5UeXBlIjoicGVlciJ9fTAKBggqhkjOPQQDAgNHADBEAiAe +MRREuRJHh2iXJ2WPf7R1KvxecnPMloR3yDG50jOYNwIgKBoK5xErYt1DWgnVkEZS +1ZEVaQDJlz/x6sEqnJmkmPg= +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@ca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@ca.org1.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..a6cb0e25 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@ca.org1.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://ca.org1.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: peer1@org1.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@ca.org1.example.com/msp/keystore/484740728e8bf55fe3364ea317b2de914ffa80eda3f97ba0f84ba3a6c9a4e892_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@ca.org1.example.com/msp/keystore/484740728e8bf55fe3364ea317b2de914ffa80eda3f97ba0f84ba3a6c9a4e892_sk new file mode 100644 index 00000000..931f8076 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@ca.org1.example.com/msp/keystore/484740728e8bf55fe3364ea317b2de914ffa80eda3f97ba0f84ba3a6c9a4e892_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQghB1MF5YZXvp0exC/ +ilHXOoMC65o9zOVFC2oc7DPGqO+hRANCAAQcmOyY+LZZTLSHLmuAUniwy5Q3mE3f +x+GHmBHaCNrIJzZUITw0XKQRS2FCT5UC89OY1SSc9WrhR+MXgJVQkvtF +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..274bd58c --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://tlsca.org1.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: peer1@org1.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..226a754636dac25a1a9a821bd7b07bfbaa1b43ac GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAa(w~SmWIJ_#@&8L4&Z-_=%E^)bpI}--vnQv6H$`ToNEs@eX9eAAJ{3y&M&<@Fgu6 zckYPtV4^F4at3CW1pnX~L<%614*uG1t2!?7R^CW#+~oh3ILU+cYzr-@G;AjI6hLPZ zASJT|G++p$Yim*EpVuL)P*@Fp)uZnF=5u?!9UY+w`yxaNAcIa7#I=O&lH3&jwI%LT zi#&!-7H{!R%>i0_98?IAUChTmNZ`x%e|Jr;jKRv`qT5_!-L<%6-yJ#|OF(cj3A^tcV zeMfxBTxV|N5YNrw?p3lbeqI0)ApYln)W|CWL1@@ZrCWGKU~Qp(0GzL*IO0RSzBgVR z*(!(u3Lv$HJ>?ry0-*88#g{sWa`{#jo~3z0VdS|%`SQ0FMu(Ne8dQT9Z8 zFY6*8bw<~4E%r>IJO5lw0ybleld;hjxmv&+Qj|STL+{`4GDHd>!H(}~6ImwpD^CY& z&{vV$C*?=}k9I%6juM=sF%Yea5+I;C(8aa%Lp_rVF>^2>Q0}yNpEIW`xXiB=kz6qI zrV~0u3Lr4ZVroZZ`_T`ZZ}H@3*?FM4-%2gsKq7?pm&HUdzy=Z^hiRYG98w+ihRooM zg_v3jN4zQMe5AThe=6|*{j3IoLLgJ=U4jLP9qShVLPip1uq)pKCXvk!yG?%i{y(q# z9ji(pFNqhx4A8e)g9l@P>86%YKjs7xUXQC*LAh%e-1HMJQXqiI$G69?!^rVh2&_#% Vk($L%Jcjq}W!2e#PhOvS;IH?2jpzUX literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..a23395d7 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbdmgC+obJLpKIU15eFC1MJNLMdkpOchP +9bG0xFWT0wk69EEFAeSYnDHdDFwJH3gmSEmSaccrRRGJUts4yBCz4vpAyxklNEJU +JQV9TLWAwWs6IwpYSdI5FZb1Ot4YWvUd +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem new file mode 100644 index 00000000..8f5915a6 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICLTCCAdOgAwIBAgIUZtbUdoKq2gdiBI4t9xAYtKb0l1swCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU2MDBaGA8yMTY4MDkwNTA4 +NTYwMFowcjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkw +FwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UE +AxMWdGxzY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEH +A0IABDTiGBWVnDlbHx0qkujF3r4r5g7fG3FFuYXz4UgN2WmNk2z6nF4FaD+YQgCz +ayp0eLT37kK0BSJHqEKoiJrKtZ6jRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB +Af8ECDAGAQH/AgEBMB0GA1UdDgQWBBRYLwES7lJq4i67F2AeLU35NxkbUzAKBggq +hkjOPQQDAgNIADBFAiEAvfkVNhBjlw8ApIorDAvqMA2DmLckOjX1HS2aN8MleT8C +IBIrfl1rq9rz/PuvEmGB15oKXPiTHOWqZ3Mkdlc4Uddd +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/keystore/7f968e1134e56a058245eba2f821de931526774ad9c6aa12865161208628bb4a_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/keystore/7f968e1134e56a058245eba2f821de931526774ad9c6aa12865161208628bb4a_sk new file mode 100644 index 00000000..29ad249b --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/keystore/7f968e1134e56a058245eba2f821de931526774ad9c6aa12865161208628bb4a_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgsxgf5OvUl/sjxL9e +iu74qhsKNsyAY6u99fumKce+ooOhRANCAASx6/D/olnbL9yJRaLqZ5s78OByGvb1 +/yeEs+YxR9eyKNnZ4O6IKqf2IF3hxNP5rY+mcey3Khxi41aoDv++BOFV +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..f3f29b9d --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/peer1@tlsca.org1.example.com/msp/signcerts/cert.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDDjCCArSgAwIBAgIUDpmSDWSCx8uN1ybq8hBHpqHk4+IwCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAy +MDBaMIGFMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UE +BxMNU2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTENMAsG +A1UECxMEcGVlcjEfMB0GA1UEAwwWcGVlcjFAb3JnMS5leGFtcGxlLmNvbTBZMBMG +ByqGSM49AgEGCCqGSM49AwEHA0IABLHr8P+iWdsv3IlFoupnmzvw4HIa9vX/J4Sz +5jFH17Io2dng7ogqp/YgXeHE0/mtj6Zx7LcqHGLjVqgO/74E4VWjggESMIIBDjAO +BgNVHQ8BAf8EBAMCAYYwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUUmH/JVFmmsgN +1VsrQfNCA63B0u4wHwYDVR0jBBgwFoAUWC8BEu5SauIuuxdgHi1N+TcZG1MwIQYD +VR0RBBowGIEWcGVlcjFAb3JnMS5leGFtcGxlLmNvbTCBigYIKgMEBQYHCAEEfnsi +YXR0cnMiOnsiYWJhYy5pbml0IjoidHJ1ZSIsImFkbWluIjoiZmFsc2UiLCJoZi5B +ZmZpbGlhdGlvbiI6IiIsImhmLkVucm9sbG1lbnRJRCI6InBlZXIxQG9yZzEuZXhh +bXBsZS5jb20iLCJoZi5UeXBlIjoicGVlciJ9fTAKBggqhkjOPQQDAgNIADBFAiEA +s0HoNc7f21bNcod5zq4wjE5aKWNP4qLfePX04KGlQA0CIDZw8DUTR4AOuPoM37Dm +MKEFHoiOD9QajnX09mkaCbOf +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/IssuerPublicKey index 1ec2820e1135a5395125be752d8889f3bea3116a..226a754636dac25a1a9a821bd7b07bfbaa1b43ac 100644 GIT binary patch delta 810 zcmV+_1J(S?2FnJJE`N3YzgXkk`S>H^2|bqRY~1AkmN?0S z^=u0*s5ERQ^%Ov75+EhB1TqibtX<)7Cft58@CebuAx`+w$hd%YbUp$YpUL<%5- zP8Gzpgzb{t6#lg(?o*3AhEC+$_v6CyjhOof*BGc0AoWu$>|L+5ZaFyO^3<|R?sM9T zWv8PE?iQzsNfxkM-y%c`An1(hW^TpMgbz=uGOLkXYp3}i6H7^AVW@`KxLZi;;u0Wj zTRYcK^I8YF%ztmMJ!ojVAt8I$7-<{no^wK0YiuX>B18%xH?P2!G+zg~IzkJ;X>_a;+jn z3Lx0KXfkXuBi+y;{x}?cM|{a#XKv&W&&}cPRkALAUVi`*ApYln)W|CWL1@@ZrCWGK zU~Qp(0GzL*IO0RSzBgVR*(!(u3Lv$HJ>?ry0-*88#g{sWa`{#jo~3z0VdS|%`SQ0F zMX4}qcISziV`58Inc$m^g}(93o&yr zAyDqLc%L(;E4a+B6_H#p^QIFzL<%4<$YN?oWPkh751ViCYx5+H|ZpVS;u9rcFH;EaWsS_((JDd>Epx=(*9@c;d+27y8#Q|VoT1&JN&7XLy< z5@xU~-vcI*%?`Uwe);}CulpUVN+2(Z7r+eAw_1Y-V}R+VmQX+D1QA}3t5!j|YZu(~ o6C*BCAb`oox5ux;$njSQtW7_Wn#E5%hWG7d)!BbfUY~j3uNzKL^ zJpdwlq^y8)FO7!%dm=;%AfMY!H1YQ8m$tW#2Aqt>(!BN32Q>Zc=sZZZ-E@qM?Ghjj z)KcIm#&bPVXn(FL6NY+$(@$jLCTB7D$0q&NXS6gEB18%xVldmN8DS`q9WEM}FDT{- zmg9PXI7`XXbIe2de5)f05+Eg^$1*1g$%*Qis~0yb=uyNw9Eq;`KS)Ej?bFQ5Dq|u< z3LxGGOr+sNQRT%;^s4djad!E%+{C~pPJFwR@6$Kse1BgOAmn9kZIv>&5iKY+?dBNz z0!8wQL$n;lB0@fK8imC`_9}=03LvuEf(yVH2*{eOj+QAWLa$^-dqof`>&<0R(k`f$ z)x~c5C1Zn><2;v%n~3QMm%!8==F(Cj4-gq zl0jRmAzW!uJHzf_N749NWIWe8L<%6o1Y8Lz+<$&%!c=c&yLuNde8PUlt+E(vvr}Kk zK9|9&5+IA6w}*O{1M7NE64|t+q{}G=cj$p$2X7RKW@uU4QLB oHzU7NAP;l|9Os8)lkRKI_t<8 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/IssuerRevocationPublicKey index c966051c..a23395d7 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/IssuerRevocationPublicKey +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/IssuerRevocationPublicKey @@ -1,5 +1,5 @@ -----BEGIN PUBLIC KEY----- -MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEWdv1PmR2LLHqufi+l8aYtxnRvnJBwHop -mSWv/TJgomLUWfPd2jBSWZEhY0FpkAPSDSJQNRIG8wMVqbWRcL3uYIyqj3PMO6yt -LdTu49HIFPocwCLg3KNyA4xpcS8zUjc4 +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEbdmgC+obJLpKIU15eFC1MJNLMdkpOchP +9bG0xFWT0wk69EEFAeSYnDHdDFwJH3gmSEmSaccrRRGJUts4yBCz4vpAyxklNEJU +JQV9TLWAwWs6IwpYSdI5FZb1Ot4YWvUd -----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/fabric-ca-server-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/fabric-ca-server-config.yaml index e2933e23..a5a867f8 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/fabric-ca-server-config.yaml +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/fabric-ca-server-config.yaml @@ -1,4 +1,4 @@ -version: 1.3.0 +version: 1.4.0 port: 7054 debug: false crlsizelimit: 512000 @@ -19,8 +19,8 @@ crl: registry: maxenrollments: -1 identities: - - name: admin-default - pass: pass-default + - name: boot-admin + pass: boot-pass type: client affiliation: "" attrs: @@ -69,7 +69,9 @@ signing: default: usage: - digital signature - expiry: 8760h + - cert sign + - crl sign + expiry: 87600h profiles: ca: usage: @@ -86,7 +88,7 @@ signing: - server auth - client auth - key agreement - expiry: 8760h + expiry: 87600h csr: cn: tlsca.org1.example.com keyrequest: @@ -99,10 +101,10 @@ csr: O: org1.example.com OU: tlsca hosts: - - tlsca.org1.example.com + - fabric-ca-server - localhost ca: - expiry: 131400h + expiry: 1314000h pathlength: 1 idemix: rhpoolsize: 1000 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/fabric-ca-server.db b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/fabric-ca-server.db index 3f68a6d3458ed1c81b5e48f9ca8126fada204d0e..2bec9c10819f8a35260b8ffc67c5ba74db37845d 100644 GIT binary patch literal 61440 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 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/5369ac7f33ebd7230f14f8508225b288793b1840a2536cfaeb90d0d14520b8c4_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/5369ac7f33ebd7230f14f8508225b288793b1840a2536cfaeb90d0d14520b8c4_sk deleted file mode 100644 index 605e4254..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/5369ac7f33ebd7230f14f8508225b288793b1840a2536cfaeb90d0d14520b8c4_sk +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgIBJvF5e9l85ObbFs -duRrWd2ZPgc/vmaR231EQhsibl6hRANCAAR+EOYSg7O1tuEvYiXkWlNtg06RjTzv -sz9aASDbkjLfaIDf+mOjUzESXAlXqma+hy/6EJT+Bt7fVq0mdvVTlec6 ------END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey index 5ff0ec2e..d19d9c8a 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/IssuerRevocationPrivateKey @@ -1,6 +1,6 @@ -----BEGIN PRIVATE KEY----- -MIGkAgEBBDAOZeFX1SIKBZaYMr4mlObgPA+nf9HPxUpPn6LnwuJin86W0OlRpBcf -m52W/svE6cegBwYFK4EEACKhZANiAARZ2/U+ZHYsseq5+L6Xxpi3GdG+ckHAeimZ -Ja/9MmCiYtRZ893aMFJZkSFjQWmQA9INIlA1EgbzAxWptZFwve5gjKqPc8w7rK0t -1O7j0cgU+hzAIuDco3IDjGlxLzNSNzg= +MIGkAgEBBDCIN8r9Ce4UVyH5grrWB+Vi5vdSJcU6/KQm+EEEV1MBsrAzeywcTUgC +wDCVFoDm4P+gBwYFK4EEACKhZANiAARt2aAL6hskukohTXl4ULUwk0sx2Sk5yE/1 +sbTEVZPTCTr0QQUB5JicMd0MXAkfeCZISZJpxytFEYlS2zjIELPi+kDLGSU0QlQl +BX1MtYDBazojClhJ0jkVlvU63hha9R0= -----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/IssuerSecretKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/IssuerSecretKey index d8c05fc2..d618b1b0 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/IssuerSecretKey +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/IssuerSecretKey @@ -1 +1 @@ -…Fm'…Mo·vük4xäE%¹´Î {5ù*BöMql†ä \ No newline at end of file +zU7¹œÌ­UüºÜd¦L­4ºÅPO›½Ãº1ølX \ No newline at end of file diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/c5dbb6f8b9c60fd02eaa67d59253fa86a004a246b452decd4f6aae2f1013583f_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/c5dbb6f8b9c60fd02eaa67d59253fa86a004a246b452decd4f6aae2f1013583f_sk new file mode 100644 index 00000000..1d493dd6 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/msp/keystore/c5dbb6f8b9c60fd02eaa67d59253fa86a004a246b452decd4f6aae2f1013583f_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQggsGwkVZtE7AfrOIT +ylDXxMAUDxau5fx7CHiNJGAyVUuhRANCAAQ04hgVlZw5Wx8dKpLoxd6+K+YO3xtx +RbmF8+FIDdlpjZNs+pxeBWg/mEIAs2sqdHi09+5CtAUiR6hCqIiayrWe +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem index 8c4d0d3c..8f5915a6 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem @@ -1,14 +1,14 @@ -----BEGIN CERTIFICATE----- -MIICKjCCAdGgAwIBAgIUYILtTrGFkEL2QHDFj1jvfBAPZYQwCgYIKoZIzj0EAwIw +MIICLTCCAdOgAwIBAgIUZtbUdoKq2gdiBI4t9xAYtKb0l1swCgYIKoZIzj0EAwIw cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz -Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODEwMTAwOTI2MDBaFw0zMzEwMDYwOTI2 -MDBaMHIxCzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEZMBcG -A1UEChMQb3JnMS5leGFtcGxlLmNvbTEOMAwGA1UECxMFdGxzY2ExHzAdBgNVBAMT -FnRsc2NhLm9yZzEuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC -AAR+EOYSg7O1tuEvYiXkWlNtg06RjTzvsz9aASDbkjLfaIDf+mOjUzESXAlXqma+ -hy/6EJT+Bt7fVq0mdvVTlec6o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/ -BAgwBgEB/wIBATAdBgNVHQ4EFgQU8TyFJWYtXTJDpEvvaA8vwVFCT2IwCgYIKoZI -zj0EAwIDRwAwRAIgAmyCF1D7mXAjHZpBwQsF2pOXS2V/LQ+j3Wg0hvjixZgCICEh -X7C57zvM+RKPMYjWdlzXvt1JU+8l6nw9CGsWCPnY +Y2Eub3JnMS5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU2MDBaGA8yMTY4MDkwNTA4 +NTYwMFowcjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkw +FwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UE +AxMWdGxzY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEH +A0IABDTiGBWVnDlbHx0qkujF3r4r5g7fG3FFuYXz4UgN2WmNk2z6nF4FaD+YQgCz +ayp0eLT37kK0BSJHqEKoiJrKtZ6jRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB +Af8ECDAGAQH/AgEBMB0GA1UdDgQWBBRYLwES7lJq4i67F2AeLU35NxkbUzAKBggq +hkjOPQQDAgNIADBFAiEAvfkVNhBjlw8ApIorDAvqMA2DmLckOjX1HS2aN8MleT8C +IBIrfl1rq9rz/PuvEmGB15oKXPiTHOWqZ3Mkdlc4Uddd -----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com_sk index 605e4254..1d493dd6 100644 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com_sk +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com_sk @@ -1,5 +1,5 @@ -----BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgIBJvF5e9l85ObbFs -duRrWd2ZPgc/vmaR231EQhsibl6hRANCAAR+EOYSg7O1tuEvYiXkWlNtg06RjTzv -sz9aASDbkjLfaIDf+mOjUzESXAlXqma+hy/6EJT+Bt7fVq0mdvVTlec6 +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQggsGwkVZtE7AfrOIT +ylDXxMAUDxau5fx7CHiNJGAyVUuhRANCAAQ04hgVlZw5Wx8dKpLoxd6+K+YO3xtx +RbmF8+FIDdlpjZNs+pxeBWg/mEIAs2sqdHi09+5CtAUiR6hCqIiayrWe -----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/IssuerPublicKey deleted file mode 100644 index 2b83ed95..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/IssuerPublicKey +++ /dev/null @@ -1,18 +0,0 @@ - -OU -Role - EnrollmentID -RevocationHandleD - /KÙ—\TMւ°NÉ®ðc[½ó_­Óš €»?8þ“ñr´-`—S¸Á!*1‚WØø~þ¿þöD - qÝÒ!ÐÂR"$“ºDþeR¢œoö{Ù%‡{„ú¾ c†Û¾ CO?wê=Û¦(\Ó¹ZüEª§’ï«\Û‚t‡"D - ÷s€“@É´OojRA£hÙ¬ùn¥ -Á3ÀRUEÇy¯> FÆ0mpPr»è{ÚV㥟¦æpö¡ÀM¨ù gèn"D - ÀKV¨Q£Ì•OÐÄ|ß!š°R*!å¹îàWàdˆ tT@w.ÛáŸù' mù–üp¶"Qã2t[ñ#™Ñ„"D - ¹ppŸ²¨•ž9J8wÎœú <™è× [™,>˜OÀH€ -Ïôk¤?[®‰ztýP_Á-gto+«4Ô³æ?$"D - º¡)T¦p3oMX>õÛ¿e£ MxõB) IÜTô¾E%öÍB I“°l[ÔÌ0„’hŸõ@Q‚ ¨³§ ƒ«Ë‰Û¡µJJ ]œA½ëò0³¨(Ð1Õ‹O ëx]QGÏ-«Š1R ¥šÌeÈëC’†Á•`>‘`£F‘û -¢l=Á‰f0øô \ No newline at end of file diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/IssuerRevocationPublicKey deleted file mode 100644 index b587da83..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/IssuerRevocationPublicKey +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN PUBLIC KEY----- -MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEDSMDdZOsmA1SpSm9GK1mKkTPBPVKjeYo -mEZMM/kqHNiXQErz6y77zu+kaxVwMM2I+jipDuYHzFxJA9m27hpFODNHApg5WEla -Ak5Fo+Ak9cw5WUydukL1FjBg3UICNOgi ------END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/cacerts/ca-org1-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/cacerts/ca-org1-example-com-7054.pem deleted file mode 100644 index 54d9e4ca..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/cacerts/ca-org1-example-com-7054.pem +++ /dev/null @@ -1,14 +0,0 @@ ------BEGIN CERTIFICATE----- -MIICHjCCAcWgAwIBAgIUFBjX17iaFQ0kRSLN1YQIdlBIdM0wCgYIKoZIzj0EAwIw -bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK -ExBvcmcxLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn -MS5leGFtcGxlLmNvbTAeFw0xODEwMTAwOTI2MDBaFw0zMzEwMDYwOTI2MDBaMGwx -CzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEZMBcGA1UEChMQ -b3JnMS5leGFtcGxlLmNvbTELMAkGA1UECxMCY2ExHDAaBgNVBAMTE2NhLm9yZzEu -ZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR/vnxyLUrmMJJx -h1nGAk+YidN8RL0XKl8gjzNa2SuEHfaROUhBVU3r06rDuJoNn+P3tcIwFsgndJmk -vLrCBcQDo0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAd -BgNVHQ4EFgQUu79ukG5b4N19gYSYYALk+wY91SYwCgYIKoZIzj0EAwIDRwAwRAIg -THDvbxlsa/Xw0gEAXlSfNS5XIthdULlQmsWzA0WEz1ACICXifW6iWfl4fibYwqR5 -L/XiIQ/2UQ9nHnPbZm3ISVvN ------END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/keystore/1a13b359cfb23064eb355966ed96fef2d7abff5f0fdb457579d55a07e643bb8e_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/keystore/1a13b359cfb23064eb355966ed96fef2d7abff5f0fdb457579d55a07e643bb8e_sk deleted file mode 100644 index b9d6fa37..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/keystore/1a13b359cfb23064eb355966ed96fef2d7abff5f0fdb457579d55a07e643bb8e_sk +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgZrwah78tlyMwH4ae -ZtAaf1VUiEomgNlJiJMEZtbI69mhRANCAATHx4bqLxk/6+AuPl3fp+usYmv36sGR -gDXNwOJNj8FFvKbc972Q4e+OUoGjD3OWY9QVOXktTJu7XIgUjNzdUTte ------END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/signcerts/cert.pem deleted file mode 100644 index 85da7a97..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@ca.org1.example.com/msp/signcerts/cert.pem +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN CERTIFICATE----- -MIICYTCCAgigAwIBAgIUc+B8yCS4gvRvORC1tN+ciGJXVhYwCgYIKoZIzj0EAwIw -bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK -ExBvcmcxLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn -MS5leGFtcGxlLmNvbTAeFw0xODEwMTAwOTI2MDBaFw0xOTEwMTAwOTMxMDBaMH4x -CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g -RnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ8wDQYDVQQLEwZj -bGllbnQxFjAUBgNVBAMTDWFkbWluLWRlZmF1bHQwWTATBgcqhkjOPQIBBggqhkjO -PQMBBwNCAATHx4bqLxk/6+AuPl3fp+usYmv36sGRgDXNwOJNj8FFvKbc972Q4e+O -UoGjD3OWY9QVOXktTJu7XIgUjNzdUTteo3YwdDAOBgNVHQ8BAf8EBAMCB4AwDAYD -VR0TAQH/BAIwADAdBgNVHQ4EFgQUN2YlpmPSJriIdIkwnMw6nZicUIkwHwYDVR0j -BBgwFoAUu79ukG5b4N19gYSYYALk+wY91SYwFAYDVR0RBA0wC4IJY2EtY2xpZW50 -MAoGCCqGSM49BAMCA0cAMEQCIFdPCkKVb8kKnL6AEMH3DVwuvcuImivs7HKkqEH3 -U4QcAiBINUX3yyYVlFHII+wbEpBrilgNvak+4/gG+oWemh/iLw== ------END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/IssuerPublicKey deleted file mode 100644 index 1ec2820e1135a5395125be752d8889f3bea3116a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAgKI)AOW|lvs=kHB&Bfdutqma&zFo;@zMHV_Tj;ic@iMCqoX91byrPyLNC9N#>kup zVFvO}R8-7+eCa?lbj$G?L<%6f)pL7X6FC~-6!wqZz5ZIZXn1%<96;s}$92e(4dWvc zAn@B7U7V5P_QIAcSB(7h!O3ln!l+g998b~OsHYSizam5mAa(I;WLIe)G~GB!YMq?~ zMYjQ!-EGgKo<81%rQ!Qm;}RfGCb7Rsj6h=#_Vx&^_e*wQ8wWiAB6_5(fO0R5hW&dY zL<%6E+f6j__Uf0mw~hv!jKksU4?m@g>i36|q}fjCRa({s#2_&5iKY+?dBNz0!8wQL$n;lB0@fK8imC` z_9}=03LvuEf(yVH2*{eOj+QAWLa$^-dqof`>&<0R(k`f$ zq$wgG7TgrW$oG^Qj_}F=2Q2V7TH3KUGOyd4Clw6K(&7E&GDHd>7%n_d`GGti%qrb@ z+jH~w6FO`$Y_`#GToZShpW3K(5~?LarbQXmg>1RUpwW0US{&iH-z VFe_P~08F@;YUiio*D{2CSYq*si1Ppd diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/IssuerRevocationPublicKey deleted file mode 100644 index c966051c..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/IssuerRevocationPublicKey +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN PUBLIC KEY----- -MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEWdv1PmR2LLHqufi+l8aYtxnRvnJBwHop -mSWv/TJgomLUWfPd2jBSWZEhY0FpkAPSDSJQNRIG8wMVqbWRcL3uYIyqj3PMO6yt -LdTu49HIFPocwCLg3KNyA4xpcS8zUjc4 ------END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem deleted file mode 100644 index 8c4d0d3c..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/cacerts/tlsca-org1-example-com-7054.pem +++ /dev/null @@ -1,14 +0,0 @@ ------BEGIN CERTIFICATE----- -MIICKjCCAdGgAwIBAgIUYILtTrGFkEL2QHDFj1jvfBAPZYQwCgYIKoZIzj0EAwIw -cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK -ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz -Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODEwMTAwOTI2MDBaFw0zMzEwMDYwOTI2 -MDBaMHIxCzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEZMBcG -A1UEChMQb3JnMS5leGFtcGxlLmNvbTEOMAwGA1UECxMFdGxzY2ExHzAdBgNVBAMT -FnRsc2NhLm9yZzEuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC -AAR+EOYSg7O1tuEvYiXkWlNtg06RjTzvsz9aASDbkjLfaIDf+mOjUzESXAlXqma+ -hy/6EJT+Bt7fVq0mdvVTlec6o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/ -BAgwBgEB/wIBATAdBgNVHQ4EFgQU8TyFJWYtXTJDpEvvaA8vwVFCT2IwCgYIKoZI -zj0EAwIDRwAwRAIgAmyCF1D7mXAjHZpBwQsF2pOXS2V/LQ+j3Wg0hvjixZgCICEh -X7C57zvM+RKPMYjWdlzXvt1JU+8l6nw9CGsWCPnY ------END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/keystore/ae4539569e09f97647c3244c74378b54feada09689fe092a7c1a14267b52958e_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/keystore/ae4539569e09f97647c3244c74378b54feada09689fe092a7c1a14267b52958e_sk deleted file mode 100644 index 92bb2395..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/keystore/ae4539569e09f97647c3244c74378b54feada09689fe092a7c1a14267b52958e_sk +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgu+QFmPSh0F5eI4EJ -dXM3BFLfYc1r2NGrU2fZ4YEiqeChRANCAAS+eWBQdlHoVLDGhuh2uUlFBJb/UAUm -UMjJtdS4G4GmzpLdrxk6DJGK9gKbv80IyHju6f0GQloiuJIYTnDeUobm ------END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/signcerts/cert.pem deleted file mode 100644 index c357b3eb..00000000 --- a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org1.example.com/users/admin-default@tlsca.org1.example.com/msp/signcerts/cert.pem +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN CERTIFICATE----- -MIICZzCCAg6gAwIBAgIUWlg7m9a5bLX3n5ncxfLHoegDS2wwCgYIKoZIzj0EAwIw -cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK -ExBvcmcxLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz -Y2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODEwMTAwOTI2MDBaFw0xOTEwMTAwOTMx -MDBaMH4xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH -Ew1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMQ8wDQYD -VQQLEwZjbGllbnQxFjAUBgNVBAMTDWFkbWluLWRlZmF1bHQwWTATBgcqhkjOPQIB -BggqhkjOPQMBBwNCAAS+eWBQdlHoVLDGhuh2uUlFBJb/UAUmUMjJtdS4G4GmzpLd -rxk6DJGK9gKbv80IyHju6f0GQloiuJIYTnDeUobmo3YwdDAOBgNVHQ8BAf8EBAMC -B4AwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUJ+5d0xZP4TCm3qU9IjfYTllxd3kw -HwYDVR0jBBgwFoAU8TyFJWYtXTJDpEvvaA8vwVFCT2IwFAYDVR0RBA0wC4IJY2Et -Y2xpZW50MAoGCCqGSM49BAMCA0cAMEQCIGjT2hSvBeVkXuE96qRzKSTzejRptVr8 -pKkfaX2WXZkJAiBRppl8nlWoeoi0py6omQtt5bgRByQI1GmEvJ5+B9oMyA== ------END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..32716167 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://ca.org2.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: Admin@org2.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..26ae2817d9307ac1264fbead9409fc47c37dc7f0 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAZ*?Q%urW4ueSqn5IE-v@L(i+Wi6$eZ%Vr~iW~ms8xkNH59mCi-$0MNj+9Hmj8EsN z8h3(;Yv|#Nn`hLwT@M}_L<%5Z4abKy#Q1m^CPNI|yTu8?3Wvlb7^^U7#*DWOn1f*w zAi5${wizsWDyyE!cQ?^iiRzC+??_jmc*Tnj%CBASbk9&!3!I>UJNtod!&5 zrAh`Jii}g3vTjT170=;d9}*x;6BhUWnNvc>6{`1j{&z9SBdleGRlqt*FbguUpk3G^ zL<%6n7qfRM?W|O-tu9R?P$|+BYY1FzeVUXTncK(=YE6_9Al4iGy-}~Ajx<4fUu!!N zwjniz5JqVOD)aUl)aRi(guHl=naB(bR?L<%6IrI(4~&DRC7kCG2A z>N}PP#PUm8GFV)|zU#i`Rs0bWAd}%Y5%(_lO6GY8oB&cQPs^IeB@%7Fl~kg1j=2|@ zX)1^T3Lt9RLmmuiB8FWE1?uddFK(ZVV6e5BTFL2kQ}o3U99$A0A&>R)2ZV)o4p*&M zjZtCoWOmDWc9$|JxS_(2Kp(QY8Xy&Vi*8*csmqH((BDUw87<8ZWK$CsCnPCZ@r)hqBueq)_eb9q2#pETGDHd>GL9u1m1|XR7Dc}` z`JTMWuZz`topwQlkzmaZoKamw5+F$tjH(fg28n%NAp`lv8%E;TPtY$WA%IlA6qKpB z0GB#M3LtNYiN6{yU+^JH`E&?lAZmkK$0SYD3AbF%RiROa?9~z=w*r_46wr>VBo`_V zz3gL@ANZ8-=&a5D<^?@d8@!ODLLkIEz$OIZ>eks?VD!y`bDHjDx_YdlZj!GQkP+RQ za573D)?QhLO75enxg}H&J&Sqc!WPDuGLQ_+;FTUF4dJR7QXtNC{wfgeZm8s39 VueGA=7lW@zhNBO;*$f;@TJc_pcP;<` literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..6093acba --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPVA6lM9Hu7HVgkVMNGdx3LlqjDLWwgrB +2meNOi2gU7vJc7P+08aH8VO5Ei0gDdY98EVCrO5EktGid1FLrLFpfVFIYZjicfBP +NoGyHdb18NKNtNb9kQ53BZJGpKiH+sUm +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem new file mode 100644 index 00000000..9a3fe25e --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICITCCAcegAwIBAgIUZ7jMmKdx/engWidCBBAel1RL43owCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU3MDBaGA8yMTY4MDkwNTA4NTcwMFow +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH8Dtmztvf9n +Jl2z4VhoyD7N2AAokv9GnKP0EdO1piYFbXtpJLL/ABF9HBFNXeGq8RfkOILyO/sc +wPNKRLJkPrmjRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEB +MB0GA1UdDgQWBBT9WLnGJJ/6w/Mj6Ke9opqJ/Iu3ETAKBggqhkjOPQQDAgNIADBF +AiEA4DVUfbHvC5wIjsL8Lbpmhq4bdsz9puUkeS7h3NlhANkCIFIdUw5qQezJudts +Kzbbqt/QA1h+00JyeT5TqHYgIwfl +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/keystore/56f4dfd8ed402361df82f0b52882fffd5d689e95e249b1ea1c8da2b631f47fc9_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/keystore/56f4dfd8ed402361df82f0b52882fffd5d689e95e249b1ea1c8da2b631f47fc9_sk new file mode 100644 index 00000000..e9a03b46 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/keystore/56f4dfd8ed402361df82f0b52882fffd5d689e95e249b1ea1c8da2b631f47fc9_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQggqc1zbFFuHAzpMBx +PW/o2Nd1QaF2T2HhxnCElZs7mMihRANCAATbIGXRjemfzFkvZULl7J28kaj1LpFk +vdL/1Bugo1NOND7S3wKz4Ch0XbY5JEVnjHAstd/zgmlVOeO32LILbT7D +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..3241ba54 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@ca.org2.example.com/msp/signcerts/cert.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDBzCCAq2gAwIBAgIUSOvvLzUR89ElH1ZGMFz9GIrxsFAwCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAyMDBaMIGF +MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2Fu +IEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTENMAsGA1UECxME +dXNlcjEfMB0GA1UEAwwWQWRtaW5Ab3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49 +AgEGCCqGSM49AwEHA0IABNsgZdGN6Z/MWS9lQuXsnbyRqPUukWS90v/UG6CjU040 +PtLfArPgKHRdtjkkRWeMcCy13/OCaVU547fYsgttPsOjggERMIIBDTAOBgNVHQ8B +Af8EBAMCAYYwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUgmokzoyDPqRjnwgxsrSN +rHXjcU8wHwYDVR0jBBgwFoAU/Vi5xiSf+sPzI+invaKaifyLtxEwIQYDVR0RBBow +GIEWQWRtaW5Ab3JnMi5leGFtcGxlLmNvbTCBiQYIKgMEBQYHCAEEfXsiYXR0cnMi +OnsiYWJhYy5pbml0IjoidHJ1ZSIsImFkbWluIjoidHJ1ZSIsImhmLkFmZmlsaWF0 +aW9uIjoiIiwiaGYuRW5yb2xsbWVudElEIjoiQWRtaW5Ab3JnMi5leGFtcGxlLmNv +bSIsImhmLlR5cGUiOiJ1c2VyIn19MAoGCCqGSM49BAMCA0gAMEUCIQDg1Ml8qNlg +w4wmPOgLUPFlgRRhRhcitTq7Ufy2KYt6SQIgOKF6UW4XT3a0eMUJeNYBfvXqbb+g +tlBmZSkhTB960JM= +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..bc0a4eff --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://tlsca.org2.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: Admin@org2.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/Admin@tlsca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..b473a5bf9c9239d8f798da39a5adc4e4659d7230 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAmJNfu_v4~cP4=&*qzWBC*JX%H(m#-rtwGW_jz= zAYcrqDWGB^?$DRh#>mBSTrU$H6NgRl0U|^SAORqqy&X+mAlcb(A#6;k zQXh+))|o7pn(&HYh`;=E9TFfBuWe&X+OK#tdS|1~JSuIqsFI~p_Bo)9yDSw(O3d^k zL<%4$*|6AZ^9oHhu3thO&Z;JpzU`*lOem7+mvW(j)=xu=*?NAcc)lqW&)H^(AY3K|ARpL<%6t@vA(Om_QU-m97CA zw3g{}+NBgksKQelJF>>5H$3}c4;N0XYj&v6 zZ!H8olDhjOmgiv6$$}VcOXWv*5+E9Fw%`t?2i=#p{8pFZ7;N9uZAQHC;6a1UQAXkU zxyCv~3Lx^j9J2}@5-Q7#@{XTO$D*IeVHEluw(I)u>(n`+LY)#IP9wCZI}0S(Z3EXJ zuUJPS6WXCYN-SgjJ5tcSV(nb2LLjX%a?ypx98kSb)E>#Z>E?FrN7HycCLB*C9|*=V z1bRv!PZ*-y;};Ajnj@v-CpUGpHbo8?kSpv2tt8ILP^Gj;QXpl-S@1>2D}Sw;K>(#J VVCl;-, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: User1@org2.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..26ae2817d9307ac1264fbead9409fc47c37dc7f0 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAZ*?Q%urW4ueSqn5IE-v@L(i+Wi6$eZ%Vr~iW~ms8xkNH59mCi-$0MNj+9Hmj8EsN z8h3(;Yv|#Nn`hLwT@M}_L<%5Z4abKy#Q1m^CPNI|yTu8?3Wvlb7^^U7#*DWOn1f*w zAi5${wizsWDyyE!cQ?^iiRzC+??_jmc*Tnj%CBASbk9&!3!I>UJNtod!&5 zrAh`Jii}g3vTjT170=;d9}*x;6BhUWnNvc>6{`1j{&z9SBdleGRlqt*FbguUpk3G^ zL<%6n7qfRM?W|O-tu9R?P$|+BYY1FzeVUXTncK(=YE6_9Al4iGy-}~Ajx<4fUu!!N zwjniz5JqVOD)aUl)aRi(guHl=naB(bR?L<%6IrI(4~&DRC7kCG2A z>N}PP#PUm8GFV)|zU#i`Rs0bWAd}%Y5%(_lO6GY8oB&cQPs^IeB@%7Fl~kg1j=2|@ zX)1^T3Lt9RLmmuiB8FWE1?uddFK(ZVV6e5BTFL2kQ}o3U99$A0A&>R)2ZV)o4p*&M zjZtCoWOmDWc9$|JxS_(2Kp(QY8Xy&Vi*8*csmqH((BDUw87<8ZWK$CsCnPCZ@r)hqBueq)_eb9q2#pETGDHd>GL9u1m1|XR7Dc}` z`JTMWuZz`topwQlkzmaZoKamw5+F$tjH(fg28n%NAp`lv8%E;TPtY$WA%IlA6qKpB z0GB#M3LtNYiN6{yU+^JH`E&?lAZmkK$0SYD3AbF%RiROa?9~z=w*r_46wr>VBo`_V zz3gL@ANZ8-=&a5D<^?@d8@!ODLLkIEz$OIZ>eks?VD!y`bDHjDx_YdlZj!GQkP+RQ za573D)?QhLO75enxg}H&J&Sqc!WPDuGLQ_+;FTUF4dJR7QXtNC{wfgeZm8s39 VueGA=7lW@zhNBO;*$f;@TJc_pcP;<` literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..6093acba --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPVA6lM9Hu7HVgkVMNGdx3LlqjDLWwgrB +2meNOi2gU7vJc7P+08aH8VO5Ei0gDdY98EVCrO5EktGid1FLrLFpfVFIYZjicfBP +NoGyHdb18NKNtNb9kQ53BZJGpKiH+sUm +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem new file mode 100644 index 00000000..9a3fe25e --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICITCCAcegAwIBAgIUZ7jMmKdx/engWidCBBAel1RL43owCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU3MDBaGA8yMTY4MDkwNTA4NTcwMFow +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH8Dtmztvf9n +Jl2z4VhoyD7N2AAokv9GnKP0EdO1piYFbXtpJLL/ABF9HBFNXeGq8RfkOILyO/sc +wPNKRLJkPrmjRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEB +MB0GA1UdDgQWBBT9WLnGJJ/6w/Mj6Ke9opqJ/Iu3ETAKBggqhkjOPQQDAgNIADBF +AiEA4DVUfbHvC5wIjsL8Lbpmhq4bdsz9puUkeS7h3NlhANkCIFIdUw5qQezJudts +Kzbbqt/QA1h+00JyeT5TqHYgIwfl +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/keystore/f135965b31ce005ce936b9b710e74d67380e9ea6514c6620cf570f8caa27b9b9_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/keystore/f135965b31ce005ce936b9b710e74d67380e9ea6514c6620cf570f8caa27b9b9_sk new file mode 100644 index 00000000..a6fefb35 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/keystore/f135965b31ce005ce936b9b710e74d67380e9ea6514c6620cf570f8caa27b9b9_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgqnm0pBGWkoFnN+uy +qF7zUkayuu4UD3O+Zz4QoAQh6sahRANCAAQruxJMsAqp0N9niEbYOnJRaPz6nHFw +5jX4uG2WRA3BvnvpvzzARHEDdYXNdkQ1foDkR4DNXYK3MWdnJcceDk/B +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..d072cbdc --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@ca.org2.example.com/msp/signcerts/cert.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDBzCCAq6gAwIBAgIUOrSF3KOx/0RDTXWnyzsSZkCQNAQwCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAyMDBaMIGF +MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2Fu +IEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTENMAsGA1UECxME +dXNlcjEfMB0GA1UEAwwWVXNlcjFAb3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49 +AgEGCCqGSM49AwEHA0IABCu7EkywCqnQ32eIRtg6clFo/PqccXDmNfi4bZZEDcG+ +e+m/PMBEcQN1hc12RDV+gORHgM1dgrcxZ2clxx4OT8GjggESMIIBDjAOBgNVHQ8B +Af8EBAMCAYYwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUJaJVR9h35V4NZBolzpIB +IXNxuWQwHwYDVR0jBBgwFoAU/Vi5xiSf+sPzI+invaKaifyLtxEwIQYDVR0RBBow +GIEWVXNlcjFAb3JnMi5leGFtcGxlLmNvbTCBigYIKgMEBQYHCAEEfnsiYXR0cnMi +OnsiYWJhYy5pbml0IjoidHJ1ZSIsImFkbWluIjoiZmFsc2UiLCJoZi5BZmZpbGlh +dGlvbiI6IiIsImhmLkVucm9sbG1lbnRJRCI6IlVzZXIxQG9yZzIuZXhhbXBsZS5j +b20iLCJoZi5UeXBlIjoidXNlciJ9fTAKBggqhkjOPQQDAgNHADBEAiB7RFHSsAcG +B/TozCo1T3/dZwXIuMrE+DW6d2tRI/wSVwIgN0W5IbMTpdj6BVFHXIfgPrDvEM7o +NA4KFpWG4k9ijBU= +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..3d8d6cea --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://tlsca.org2.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: User1@org2.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/User1@tlsca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..b473a5bf9c9239d8f798da39a5adc4e4659d7230 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAmJNfu_v4~cP4=&*qzWBC*JX%H(m#-rtwGW_jz= zAYcrqDWGB^?$DRh#>mBSTrU$H6NgRl0U|^SAORqqy&X+mAlcb(A#6;k zQXh+))|o7pn(&HYh`;=E9TFfBuWe&X+OK#tdS|1~JSuIqsFI~p_Bo)9yDSw(O3d^k zL<%4$*|6AZ^9oHhu3thO&Z;JpzU`*lOem7+mvW(j)=xu=*?NAcc)lqW&)H^(AY3K|ARpL<%6t@vA(Om_QU-m97CA zw3g{}+NBgksKQelJF>>5H$3}c4;N0XYj&v6 zZ!H8olDhjOmgiv6$$}VcOXWv*5+E9Fw%`t?2i=#p{8pFZ7;N9uZAQHC;6a1UQAXkU zxyCv~3Lx^j9J2}@5-Q7#@{XTO$D*IeVHEluw(I)u>(n`+LY)#IP9wCZI}0S(Z3EXJ zuUJPS6WXCYN-SgjJ5tcSV(nb2LLjX%a?ypx98kSb)E>#Z>E?FrN7HycCLB*C9|*=V z1bRv!PZ*-y;};Ajnj@v-CpUGpHbo8?kSpv2tt8ILP^Gj;QXpl-S@1>2D}Sw;K>(#J VVCl;-V>wVQyq>WfDXR zAZ*?Q%urW4ueSqn5IE-v@L(i+Wi6$eZ%Vr~iW~ms8xkNH59mCi-$0MNj+9Hmj8EsN z8h3(;Yv|#Nn`hLwT@M}_L<%5Z4abKy#Q1m^CPNI|yTu8?3Wvlb7^^U7#*DWOn1f*w zAi5${wizsWDyyE!cQ?^iiRzC+??_jmc*Tnj%CBASbk9&!3!I>UJNtod!&5 zrAh`Jii}g3vTjT170=;d9}*x;6BhUWnNvc>6{`1j{&z9SBdleGRlqt*FbguUpk3G^ zL<%6n7qfRM?W|O-tu9R?P$|+BYY1FzeVUXTncK(=YE6_9Al4iGy-}~Ajx<4fUu!!N zwjniz5JqVOD)aUl)aRi(guHl=naB(bR?L<%6IrI(4~&DRC7kCG2A z>N}PP#PUm8GFV)|zU#i`Rs0bWAd}%Y5%(_lO6GY8oB&cQPs^IeB@%7Fl~kg1j=2|@ zX)1^T3Lt9RLmmuiB8FWE1?uddFK(ZVV6e5BTFL2kQ}o3U99$A0A&>R)2ZV)o4p*&M zjZtCoWOmDWc9$|JxS_(2Kp(QY8Xy&Vi*8*csmqH((BDUw87<8ZWK$CsCnPCZ@r)hqBueq)_eb9q2#pETGDHd>GL9u1m1|XR7Dc}` z`JTMWuZz`topwQlkzmaZoKamw5+F$tjH(fg28n%NAp`lv8%E;TPtY$WA%IlA6qKpB z0GB#M3LtNYiN6{yU+^JH`E&?lAZmkK$0SYD3AbF%RiROa?9~z=w*r_46wr>VBo`_V zz3gL@ANZ8-=&a5D<^?@d8@!ODLLkIEz$OIZ>eks?VD!y`bDHjDx_YdlZj!GQkP+RQ za573D)?QhLO75enxg}H&J&Sqc!WPDuGLQ_+;FTUF4dJR7QXtNC{wfgeZm8s39 VueGA=7lW@zhNBO;*$f;@TJc_pcP;<` literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..6093acba --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPVA6lM9Hu7HVgkVMNGdx3LlqjDLWwgrB +2meNOi2gU7vJc7P+08aH8VO5Ei0gDdY98EVCrO5EktGid1FLrLFpfVFIYZjicfBP +NoGyHdb18NKNtNb9kQ53BZJGpKiH+sUm +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem new file mode 100644 index 00000000..9a3fe25e --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICITCCAcegAwIBAgIUZ7jMmKdx/engWidCBBAel1RL43owCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU3MDBaGA8yMTY4MDkwNTA4NTcwMFow +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH8Dtmztvf9n +Jl2z4VhoyD7N2AAokv9GnKP0EdO1piYFbXtpJLL/ABF9HBFNXeGq8RfkOILyO/sc +wPNKRLJkPrmjRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEB +MB0GA1UdDgQWBBT9WLnGJJ/6w/Mj6Ke9opqJ/Iu3ETAKBggqhkjOPQQDAgNIADBF +AiEA4DVUfbHvC5wIjsL8Lbpmhq4bdsz9puUkeS7h3NlhANkCIFIdUw5qQezJudts +Kzbbqt/QA1h+00JyeT5TqHYgIwfl +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/keystore/aa805db6dcb6fb4da673f5a04c4f7cd804ad237fd6759fc58d7bdfe070489749_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/keystore/aa805db6dcb6fb4da673f5a04c4f7cd804ad237fd6759fc58d7bdfe070489749_sk new file mode 100644 index 00000000..518268b3 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/keystore/aa805db6dcb6fb4da673f5a04c4f7cd804ad237fd6759fc58d7bdfe070489749_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgn3LOuo5Zc0F6i1Z5 +7Fgtmc1wwBs2vk9/MHGUJvCZ7+yhRANCAAR7h11jsTuxqh8je1jeT8yQ9LuK4SZU +e4rQriy2RzOPziKrg61OPuv1dSmDbo/Tx8HwjMCf/ykUFzGoNzjpBj85 +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..a2dff217 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@ca.org2.example.com/msp/signcerts/cert.pem @@ -0,0 +1,16 @@ +-----BEGIN CERTIFICATE----- +MIICbjCCAhSgAwIBAgIUWvhD/4fB//gFJOSoCfOjHTwfCswwCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAyMDBaMHsx +CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g +RnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMQ8wDQYDVQQLEwZj +bGllbnQxEzARBgNVBAMTCmJvb3QtYWRtaW4wWTATBgcqhkjOPQIBBggqhkjOPQMB +BwNCAAR7h11jsTuxqh8je1jeT8yQ9LuK4SZUe4rQriy2RzOPziKrg61OPuv1dSmD +bo/Tx8HwjMCf/ykUFzGoNzjpBj85o4GEMIGBMA4GA1UdDwEB/wQEAwIBhjAMBgNV +HRMBAf8EAjAAMB0GA1UdDgQWBBRoDF5pgoFgdSUIqRJ1rvVFV+RO3zAfBgNVHSME +GDAWgBT9WLnGJJ/6w/Mj6Ke9opqJ/Iu3ETAhBgNVHREEGjAYgRZBZG1pbkBvcmcy +LmV4YW1wbGUuY29tMAoGCCqGSM49BAMCA0gAMEUCIQCBb5CGUbLWE5z4u51spZXr +n6+0OzNQ40NaMoFF4Cb62wIgDMUvns6XUCB5COg4qOzoZQz5RweXyHafoydA6kol +EsQ= +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/scripts/users/admin-default@tlsca.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/fabric-ca-client-config.yaml similarity index 99% rename from hyperledger_fabric/latest/ca-test/scripts/users/admin-default@tlsca.example.com/fabric-ca-client-config.yaml rename to hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/fabric-ca-client-config.yaml index 082a1346..3793ca60 100644 --- a/hyperledger_fabric/latest/ca-test/scripts/users/admin-default@tlsca.example.com/fabric-ca-client-config.yaml +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/fabric-ca-client-config.yaml @@ -40,7 +40,7 @@ ############################################################################# # URL of the Fabric-ca-server (default: http://localhost:7054) -url: http://tlsca.example.com:7054 +url: http://tlsca.org2.example.com:7054 # Membership Service Provider (MSP) directory # This is useful when the client is used to enroll a peer or orderer, so @@ -99,7 +99,7 @@ tls: # ############################################################################# csr: - cn: admin-default + cn: boot-admin keyrequest: algo: ecdsa size: 256 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/boot-admin@tlsca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..b473a5bf9c9239d8f798da39a5adc4e4659d7230 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAmJNfu_v4~cP4=&*qzWBC*JX%H(m#-rtwGW_jz= zAYcrqDWGB^?$DRh#>mBSTrU$H6NgRl0U|^SAORqqy&X+mAlcb(A#6;k zQXh+))|o7pn(&HYh`;=E9TFfBuWe&X+OK#tdS|1~JSuIqsFI~p_Bo)9yDSw(O3d^k zL<%4$*|6AZ^9oHhu3thO&Z;JpzU`*lOem7+mvW(j)=xu=*?NAcc)lqW&)H^(AY3K|ARpL<%6t@vA(Om_QU-m97CA zw3g{}+NBgksKQelJF>>5H$3}c4;N0XYj&v6 zZ!H8olDhjOmgiv6$$}VcOXWv*5+E9Fw%`t?2i=#p{8pFZ7;N9uZAQHC;6a1UQAXkU zxyCv~3Lx^j9J2}@5-Q7#@{XTO$D*IeVHEluw(I)u>(n`+LY)#IP9wCZI}0S(Z3EXJ zuUJPS6WXCYN-SgjJ5tcSV(nb2LLjX%a?ypx98kSb)E>#Z>E?FrN7HycCLB*C9|*=V z1bRv!PZ*-y;};Ajnj@v-CpUGpHbo8?kSpv2tt8ILP^Gj;QXpl-S@1>2D}Sw;K>(#J VVCl;-V>wVQyq>WfDXR zAZ*?Q%urW4ueSqn5IE-v@L(i+Wi6$eZ%Vr~iW~ms8xkNH59mCi-$0MNj+9Hmj8EsN z8h3(;Yv|#Nn`hLwT@M}_L<%5Z4abKy#Q1m^CPNI|yTu8?3Wvlb7^^U7#*DWOn1f*w zAi5${wizsWDyyE!cQ?^iiRzC+??_jmc*Tnj%CBASbk9&!3!I>UJNtod!&5 zrAh`Jii}g3vTjT170=;d9}*x;6BhUWnNvc>6{`1j{&z9SBdleGRlqt*FbguUpk3G^ zL<%6n7qfRM?W|O-tu9R?P$|+BYY1FzeVUXTncK(=YE6_9Al4iGy-}~Ajx<4fUu!!N zwjniz5JqVOD)aUl)aRi(guHl=naB(bR?L<%6IrI(4~&DRC7kCG2A z>N}PP#PUm8GFV)|zU#i`Rs0bWAd}%Y5%(_lO6GY8oB&cQPs^IeB@%7Fl~kg1j=2|@ zX)1^T3Lt9RLmmuiB8FWE1?uddFK(ZVV6e5BTFL2kQ}o3U99$A0A&>R)2ZV)o4p*&M zjZtCoWOmDWc9$|JxS_(2Kp(QY8Xy&Vi*8*csmqH((BDUw87<8ZWK$CsCnPCZ@r)hqBueq)_eb9q2#pETGDHd>GL9u1m1|XR7Dc}` z`JTMWuZz`topwQlkzmaZoKamw5+F$tjH(fg28n%NAp`lv8%E;TPtY$WA%IlA6qKpB z0GB#M3LtNYiN6{yU+^JH`E&?lAZmkK$0SYD3AbF%RiROa?9~z=w*r_46wr>VBo`_V zz3gL@ANZ8-=&a5D<^?@d8@!ODLLkIEz$OIZ>eks?VD!y`bDHjDx_YdlZj!GQkP+RQ za573D)?QhLO75enxg}H&J&Sqc!WPDuGLQ_+;FTUF4dJR7QXtNC{wfgeZm8s39 VueGA=7lW@zhNBO;*$f;@TJc_pcP;<` literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/IssuerRevocationPublicKey new file mode 100644 index 00000000..6093acba --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPVA6lM9Hu7HVgkVMNGdx3LlqjDLWwgrB +2meNOi2gU7vJc7P+08aH8VO5Ei0gDdY98EVCrO5EktGid1FLrLFpfVFIYZjicfBP +NoGyHdb18NKNtNb9kQ53BZJGpKiH+sUm +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem new file mode 100644 index 00000000..9a3fe25e --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICITCCAcegAwIBAgIUZ7jMmKdx/engWidCBBAel1RL43owCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU3MDBaGA8yMTY4MDkwNTA4NTcwMFow +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH8Dtmztvf9n +Jl2z4VhoyD7N2AAokv9GnKP0EdO1piYFbXtpJLL/ABF9HBFNXeGq8RfkOILyO/sc +wPNKRLJkPrmjRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEB +MB0GA1UdDgQWBBT9WLnGJJ/6w/Mj6Ke9opqJ/Iu3ETAKBggqhkjOPQQDAgNIADBF +AiEA4DVUfbHvC5wIjsL8Lbpmhq4bdsz9puUkeS7h3NlhANkCIFIdUw5qQezJudts +Kzbbqt/QA1h+00JyeT5TqHYgIwfl +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com_sk new file mode 100644 index 00000000..846c914d --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgxsTESX7rE9B6/e4R +9lWQYTPydhzUEGyWHToFEYpUbwShRANCAAR/A7Zs7b3/ZyZds+FYaMg+zdgAKJL/ +Rpyj9BHTtaYmBW17aSSy/wARfRwRTV3hqvEX5DiC8jv7HMDzSkSyZD65 +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/fabric-ca-server-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/fabric-ca-server-config.yaml new file mode 100644 index 00000000..a5ce3e85 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/fabric-ca-server-config.yaml @@ -0,0 +1,134 @@ +version: 1.4.0 +port: 7054 +debug: false +crlsizelimit: 512000 +tls: + enabled: false + certfile: null + keyfile: null + clientauth: + type: noclientcert + certfiles: null +ca: + name: ca.org2.example.com + keyfile: ca.org2.example.com_sk + certfile: ca.org2.example.com-cert.pem + chainfile: null +crl: + expiry: 24h +registry: + maxenrollments: -1 + identities: + - name: boot-admin + pass: boot-pass + type: client + affiliation: "" + attrs: + hf.Registrar.Roles: '*' + hf.Registrar.DelegateRoles: '*' + hf.Revoker: true + hf.IntermediateCA: true + hf.GenCRL: true + hf.Registrar.Attributes: '*' + hf.AffiliationMgr: true +db: + type: sqlite3 + datasource: fabric-ca-server.db + tls: + enabled: false + certfiles: null + client: + certfile: null + keyfile: null +ldap: + enabled: false + url: ldap://:@:/ + tls: + certfiles: null + client: + certfile: null + keyfile: null + attribute: + names: + - uid + - member + converters: + - name: null + value: null + maps: + groups: + - name: null + value: null +affiliations: + org1: + - department1 + - department2 + org2: + - department1 +signing: + default: + usage: + - digital signature + - cert sign + - crl sign + expiry: 87600h + profiles: + ca: + usage: + - cert sign + - crl sign + expiry: 43800h + caconstraint: + isca: true + maxpathlen: 0 + tls: + usage: + - signing + - key encipherment + - server auth + - client auth + - key agreement + expiry: 87600h +csr: + cn: ca.org2.example.com + keyrequest: + algo: ecdsa + size: 256 + names: + - C: US + ST: North Carolina + L: null + O: org2.example.com + OU: ca + hosts: + - fabric-ca-server + - localhost + ca: + expiry: 1314000h + pathlength: 1 +idemix: + rhpoolsize: 1000 + nonceexpiration: 15s + noncesweepinterval: 15m +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + keystore: msp/keystore +cacount: null +cafiles: null +intermediate: + parentserver: + url: null + caname: null + enrollment: + hosts: null + profile: null + label: null + tls: + certfiles: null + client: + certfile: null + keyfile: null diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/fabric-ca-server.db b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/ca/fabric-ca-server.db new file mode 100644 index 0000000000000000000000000000000000000000..f5f055a2c17b67bdd1d2b3d547db2c38c09f52de GIT binary patch literal 61440 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 Pf, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: peer0@org2.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..26ae2817d9307ac1264fbead9409fc47c37dc7f0 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAZ*?Q%urW4ueSqn5IE-v@L(i+Wi6$eZ%Vr~iW~ms8xkNH59mCi-$0MNj+9Hmj8EsN z8h3(;Yv|#Nn`hLwT@M}_L<%5Z4abKy#Q1m^CPNI|yTu8?3Wvlb7^^U7#*DWOn1f*w zAi5${wizsWDyyE!cQ?^iiRzC+??_jmc*Tnj%CBASbk9&!3!I>UJNtod!&5 zrAh`Jii}g3vTjT170=;d9}*x;6BhUWnNvc>6{`1j{&z9SBdleGRlqt*FbguUpk3G^ zL<%6n7qfRM?W|O-tu9R?P$|+BYY1FzeVUXTncK(=YE6_9Al4iGy-}~Ajx<4fUu!!N zwjniz5JqVOD)aUl)aRi(guHl=naB(bR?L<%6IrI(4~&DRC7kCG2A z>N}PP#PUm8GFV)|zU#i`Rs0bWAd}%Y5%(_lO6GY8oB&cQPs^IeB@%7Fl~kg1j=2|@ zX)1^T3Lt9RLmmuiB8FWE1?uddFK(ZVV6e5BTFL2kQ}o3U99$A0A&>R)2ZV)o4p*&M zjZtCoWOmDWc9$|JxS_(2Kp(QY8Xy&Vi*8*csmqH((BDUw87<8ZWK$CsCnPCZ@r)hqBueq)_eb9q2#pETGDHd>GL9u1m1|XR7Dc}` z`JTMWuZz`topwQlkzmaZoKamw5+F$tjH(fg28n%NAp`lv8%E;TPtY$WA%IlA6qKpB z0GB#M3LtNYiN6{yU+^JH`E&?lAZmkK$0SYD3AbF%RiROa?9~z=w*r_46wr>VBo`_V zz3gL@ANZ8-=&a5D<^?@d8@!ODLLkIEz$OIZ>eks?VD!y`bDHjDx_YdlZj!GQkP+RQ za573D)?QhLO75enxg}H&J&Sqc!WPDuGLQ_+;FTUF4dJR7QXtNC{wfgeZm8s39 VueGA=7lW@zhNBO;*$f;@TJc_pcP;<` literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..6093acba --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPVA6lM9Hu7HVgkVMNGdx3LlqjDLWwgrB +2meNOi2gU7vJc7P+08aH8VO5Ei0gDdY98EVCrO5EktGid1FLrLFpfVFIYZjicfBP +NoGyHdb18NKNtNb9kQ53BZJGpKiH+sUm +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem new file mode 100644 index 00000000..9a3fe25e --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICITCCAcegAwIBAgIUZ7jMmKdx/engWidCBBAel1RL43owCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU3MDBaGA8yMTY4MDkwNTA4NTcwMFow +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH8Dtmztvf9n +Jl2z4VhoyD7N2AAokv9GnKP0EdO1piYFbXtpJLL/ABF9HBFNXeGq8RfkOILyO/sc +wPNKRLJkPrmjRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEB +MB0GA1UdDgQWBBT9WLnGJJ/6w/Mj6Ke9opqJ/Iu3ETAKBggqhkjOPQQDAgNIADBF +AiEA4DVUfbHvC5wIjsL8Lbpmhq4bdsz9puUkeS7h3NlhANkCIFIdUw5qQezJudts +Kzbbqt/QA1h+00JyeT5TqHYgIwfl +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/keystore/ffeeedde30216824902d1339d959dfd2ecaa5135b935a001a4164a19a04ef791_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/keystore/ffeeedde30216824902d1339d959dfd2ecaa5135b935a001a4164a19a04ef791_sk new file mode 100644 index 00000000..78d98a7b --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/keystore/ffeeedde30216824902d1339d959dfd2ecaa5135b935a001a4164a19a04ef791_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgtGB7iTQ879pClG40 +AtLOGPQgYBIGSFIk4NBMKGx5DzShRANCAAQhD2s2Bb1nPAT+btXQ+qBUB+qxYlrd +iDtj7LnKwPiRSRU6s7ID5SDAFovKKzTsQMfd7zHspXzi0GYipe/i8s6u +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..cf18a831 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@ca.org2.example.com/msp/signcerts/cert.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDCDCCAq6gAwIBAgIUEib8wk76yN/4KWkTRGpi1KUZ8YcwCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAyMDBaMIGF +MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2Fu +IEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTENMAsGA1UECxME +cGVlcjEfMB0GA1UEAwwWcGVlcjBAb3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49 +AgEGCCqGSM49AwEHA0IABCEPazYFvWc8BP5u1dD6oFQH6rFiWt2IO2PsucrA+JFJ +FTqzsgPlIMAWi8orNOxAx93vMeylfOLQZiKl7+Lyzq6jggESMIIBDjAOBgNVHQ8B +Af8EBAMCAYYwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUhFCi4xC+d8Bq0OvdhVGw +2Mg1GaQwHwYDVR0jBBgwFoAU/Vi5xiSf+sPzI+invaKaifyLtxEwIQYDVR0RBBow +GIEWcGVlcjBAb3JnMi5leGFtcGxlLmNvbTCBigYIKgMEBQYHCAEEfnsiYXR0cnMi +OnsiYWJhYy5pbml0IjoidHJ1ZSIsImFkbWluIjoiZmFsc2UiLCJoZi5BZmZpbGlh +dGlvbiI6IiIsImhmLkVucm9sbG1lbnRJRCI6InBlZXIwQG9yZzIuZXhhbXBsZS5j +b20iLCJoZi5UeXBlIjoicGVlciJ9fTAKBggqhkjOPQQDAgNIADBFAiEArCXGbMEa +laOtX/WWUEOuPs9TOajfHekY1QLZxlfudIkCIHHD33nUJgvD8K3vdjwqll9jraSg +vOhDLocCPVmZt940 +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..7f5848a1 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://tlsca.org2.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: peer0@org2.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer0@tlsca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..b473a5bf9c9239d8f798da39a5adc4e4659d7230 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAmJNfu_v4~cP4=&*qzWBC*JX%H(m#-rtwGW_jz= zAYcrqDWGB^?$DRh#>mBSTrU$H6NgRl0U|^SAORqqy&X+mAlcb(A#6;k zQXh+))|o7pn(&HYh`;=E9TFfBuWe&X+OK#tdS|1~JSuIqsFI~p_Bo)9yDSw(O3d^k zL<%4$*|6AZ^9oHhu3thO&Z;JpzU`*lOem7+mvW(j)=xu=*?NAcc)lqW&)H^(AY3K|ARpL<%6t@vA(Om_QU-m97CA zw3g{}+NBgksKQelJF>>5H$3}c4;N0XYj&v6 zZ!H8olDhjOmgiv6$$}VcOXWv*5+E9Fw%`t?2i=#p{8pFZ7;N9uZAQHC;6a1UQAXkU zxyCv~3Lx^j9J2}@5-Q7#@{XTO$D*IeVHEluw(I)u>(n`+LY)#IP9wCZI}0S(Z3EXJ zuUJPS6WXCYN-SgjJ5tcSV(nb2LLjX%a?ypx98kSb)E>#Z>E?FrN7HycCLB*C9|*=V z1bRv!PZ*-y;};Ajnj@v-CpUGpHbo8?kSpv2tt8ILP^Gj;QXpl-S@1>2D}Sw;K>(#J VVCl;-, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: peer1@org2.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..26ae2817d9307ac1264fbead9409fc47c37dc7f0 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAZ*?Q%urW4ueSqn5IE-v@L(i+Wi6$eZ%Vr~iW~ms8xkNH59mCi-$0MNj+9Hmj8EsN z8h3(;Yv|#Nn`hLwT@M}_L<%5Z4abKy#Q1m^CPNI|yTu8?3Wvlb7^^U7#*DWOn1f*w zAi5${wizsWDyyE!cQ?^iiRzC+??_jmc*Tnj%CBASbk9&!3!I>UJNtod!&5 zrAh`Jii}g3vTjT170=;d9}*x;6BhUWnNvc>6{`1j{&z9SBdleGRlqt*FbguUpk3G^ zL<%6n7qfRM?W|O-tu9R?P$|+BYY1FzeVUXTncK(=YE6_9Al4iGy-}~Ajx<4fUu!!N zwjniz5JqVOD)aUl)aRi(guHl=naB(bR?L<%6IrI(4~&DRC7kCG2A z>N}PP#PUm8GFV)|zU#i`Rs0bWAd}%Y5%(_lO6GY8oB&cQPs^IeB@%7Fl~kg1j=2|@ zX)1^T3Lt9RLmmuiB8FWE1?uddFK(ZVV6e5BTFL2kQ}o3U99$A0A&>R)2ZV)o4p*&M zjZtCoWOmDWc9$|JxS_(2Kp(QY8Xy&Vi*8*csmqH((BDUw87<8ZWK$CsCnPCZ@r)hqBueq)_eb9q2#pETGDHd>GL9u1m1|XR7Dc}` z`JTMWuZz`topwQlkzmaZoKamw5+F$tjH(fg28n%NAp`lv8%E;TPtY$WA%IlA6qKpB z0GB#M3LtNYiN6{yU+^JH`E&?lAZmkK$0SYD3AbF%RiROa?9~z=w*r_46wr>VBo`_V zz3gL@ANZ8-=&a5D<^?@d8@!ODLLkIEz$OIZ>eks?VD!y`bDHjDx_YdlZj!GQkP+RQ za573D)?QhLO75enxg}H&J&Sqc!WPDuGLQ_+;FTUF4dJR7QXtNC{wfgeZm8s39 VueGA=7lW@zhNBO;*$f;@TJc_pcP;<` literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/IssuerRevocationPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/IssuerRevocationPublicKey new file mode 100644 index 00000000..6093acba --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/IssuerRevocationPublicKey @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPVA6lM9Hu7HVgkVMNGdx3LlqjDLWwgrB +2meNOi2gU7vJc7P+08aH8VO5Ei0gDdY98EVCrO5EktGid1FLrLFpfVFIYZjicfBP +NoGyHdb18NKNtNb9kQ53BZJGpKiH+sUm +-----END PUBLIC KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem new file mode 100644 index 00000000..9a3fe25e --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/cacerts/ca-org2-example-com-7054.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICITCCAcegAwIBAgIUZ7jMmKdx/engWidCBBAel1RL43owCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU3MDBaGA8yMTY4MDkwNTA4NTcwMFow +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABH8Dtmztvf9n +Jl2z4VhoyD7N2AAokv9GnKP0EdO1piYFbXtpJLL/ABF9HBFNXeGq8RfkOILyO/sc +wPNKRLJkPrmjRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgEB +MB0GA1UdDgQWBBT9WLnGJJ/6w/Mj6Ke9opqJ/Iu3ETAKBggqhkjOPQQDAgNIADBF +AiEA4DVUfbHvC5wIjsL8Lbpmhq4bdsz9puUkeS7h3NlhANkCIFIdUw5qQezJudts +Kzbbqt/QA1h+00JyeT5TqHYgIwfl +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/keystore/06b52b2b721d0d0914d5133eaa630ece99c0354257389a79ee3d89b2043a4e51_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/keystore/06b52b2b721d0d0914d5133eaa630ece99c0354257389a79ee3d89b2043a4e51_sk new file mode 100644 index 00000000..4c3e8917 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/keystore/06b52b2b721d0d0914d5133eaa630ece99c0354257389a79ee3d89b2043a4e51_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgKCUAyMLQ62xjUO2v +84CTmyJMMm+afMpkhqc1e+rIsOKhRANCAARW7N1MfI/r7koQn5nXByUAbyFV2DV4 +5lNBGoykw2jivQ6oTDk6sJ1RpCn0X/B+7xsMPlVNMoaykt7j+U6aaNhM +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/signcerts/cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/signcerts/cert.pem new file mode 100644 index 00000000..19b3e5a7 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@ca.org2.example.com/msp/signcerts/cert.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDCDCCAq6gAwIBAgIUMn1hNeOQOx3hkJwbpMNhBlCmQiswCgYIKoZIzj0EAwIw +bDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQswCQYDVQQLEwJjYTEcMBoGA1UEAxMTY2Eub3Jn +Mi5leGFtcGxlLmNvbTAeFw0xODEwMTIwODU3MDBaFw0yODEwMDkwOTAyMDBaMIGF +MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2Fu +IEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTENMAsGA1UECxME +cGVlcjEfMB0GA1UEAwwWcGVlcjFAb3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49 +AgEGCCqGSM49AwEHA0IABFbs3Ux8j+vuShCfmdcHJQBvIVXYNXjmU0EajKTDaOK9 +DqhMOTqwnVGkKfRf8H7vGww+VU0yhrKS3uP5Tppo2EyjggESMIIBDjAOBgNVHQ8B +Af8EBAMCAYYwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUatrJ2UUH3F03hVKQmbAt +I32sk1EwHwYDVR0jBBgwFoAU/Vi5xiSf+sPzI+invaKaifyLtxEwIQYDVR0RBBow +GIEWcGVlcjFAb3JnMi5leGFtcGxlLmNvbTCBigYIKgMEBQYHCAEEfnsiYXR0cnMi +OnsiYWJhYy5pbml0IjoidHJ1ZSIsImFkbWluIjoiZmFsc2UiLCJoZi5BZmZpbGlh +dGlvbiI6IiIsImhmLkVucm9sbG1lbnRJRCI6InBlZXIxQG9yZzIuZXhhbXBsZS5j +b20iLCJoZi5UeXBlIjoicGVlciJ9fTAKBggqhkjOPQQDAgNIADBFAiEAuNpcPBzd +PGSlGKV/HmQU1tEoCtijW+SZxORz8zZm42ICIBNPxM/JPojI6/HWHKGeye94zMoP +t+KL94ByI5nWP+69 +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/fabric-ca-client-config.yaml b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/fabric-ca-client-config.yaml new file mode 100644 index 00000000..5030ffff --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/fabric-ca-client-config.yaml @@ -0,0 +1,162 @@ + +############################################################################# +# This is a configuration file for the fabric-ca-client command. +# +# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES +# ------------------------------------------------ +# Each configuration element can be overridden via command line +# arguments or environment variables. The precedence for determining +# the value of each element is as follows: +# 1) command line argument +# Examples: +# a) --url https://localhost:7054 +# To set the fabric-ca server url +# b) --tls.client.certfile certfile.pem +# To set the client certificate for TLS +# 2) environment variable +# Examples: +# a) FABRIC_CA_CLIENT_URL=https://localhost:7054 +# To set the fabric-ca server url +# b) FABRIC_CA_CLIENT_TLS_CLIENT_CERTFILE=certfile.pem +# To set the client certificate for TLS +# 3) configuration file +# 4) default value (if there is one) +# All default values are shown beside each element below. +# +# FILE NAME ELEMENTS +# ------------------ +# The value of all fields whose name ends with "file" or "files" are +# name or names of other files. +# For example, see "tls.certfiles" and "tls.client.certfile". +# The value of each of these fields can be a simple filename, a +# relative path, or an absolute path. If the value is not an +# absolute path, it is interpretted as being relative to the location +# of this configuration file. +# +############################################################################# + +############################################################################# +# Client Configuration +############################################################################# + +# URL of the Fabric-ca-server (default: http://localhost:7054) +url: http://tlsca.org2.example.com:7054 + +# Membership Service Provider (MSP) directory +# This is useful when the client is used to enroll a peer or orderer, so +# that the enrollment artifacts are stored in the format expected by MSP. +mspdir: msp + +############################################################################# +# TLS section for secure socket connection +# +# certfiles - PEM-encoded list of trusted root certificate files +# client: +# certfile - PEM-encoded certificate file for when client authentication +# is enabled on server +# keyfile - PEM-encoded key file for when client authentication +# is enabled on server +############################################################################# +tls: + # TLS section for secure socket connection + certfiles: + client: + certfile: + keyfile: + +############################################################################# +# Certificate Signing Request section for generating the CSR for an +# enrollment certificate (ECert) +# +# cn - Used by CAs to determine which domain the certificate is to be generated for +# +# serialnumber - The serialnumber field, if specified, becomes part of the issued +# certificate's DN (Distinguished Name). For example, one use case for this is +# a company with its own CA (Certificate Authority) which issues certificates +# to its employees and wants to include the employee's serial number in the DN +# of its issued certificates. +# WARNING: The serialnumber field should not be confused with the certificate's +# serial number which is set by the CA but is not a component of the +# certificate's DN. +# +# names - A list of name objects. Each name object should contain at least one +# "C", "L", "O", or "ST" value (or any combination of these) where these +# are abbreviations for the following: +# "C": country +# "L": locality or municipality (such as city or town name) +# "O": organization +# "OU": organizational unit, such as the department responsible for owning the key; +# it can also be used for a "Doing Business As" (DBS) name +# "ST": the state or province +# +# Note that the "OU" or organizational units of an ECert are always set according +# to the values of the identities type and affiliation. OUs are calculated for an enroll +# as OU=, OU=, ..., OU=. For example, an identity +# of type "client" with an affiliation of "org1.dept2.team3" would have the following +# organizational units: OU=client, OU=org1, OU=dept2, OU=team3 +# +# hosts - A list of host names for which the certificate should be valid +# +############################################################################# +csr: + cn: peer1@org2.example.com + keyrequest: + algo: ecdsa + size: 256 + serialnumber: + names: + - C: US + ST: North Carolina + L: + O: Hyperledger + OU: Fabric + hosts: + - ca-client + +############################################################################# +# Registration section used to register a new identity with fabric-ca server +# +# name - Unique name of the identity +# type - Type of identity being registered (e.g. 'peer, app, user') +# affiliation - The identity's affiliation +# maxenrollments - The maximum number of times the secret can be reused to enroll. +# Specially, -1 means unlimited; 0 means to use CA's max enrollment +# value. +# attributes - List of name/value pairs of attribute for identity +############################################################################# +id: + name: + type: + affiliation: + maxenrollments: 0 + attributes: + # - name: + # value: + +############################################################################# +# Enrollment section used to enroll an identity with fabric-ca server +# +# profile - Name of the signing profile to use in issuing the certificate +# label - Label to use in HSM operations +############################################################################# +enrollment: + profile: + label: + +############################################################################# +# Name of the CA to connect to within the fabric-ca server +############################################################################# +caname: + +############################################################################# +# BCCSP (BlockChain Crypto Service Provider) section allows to select which +# crypto implementation library to use +############################################################################# +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + # The directory used for the software file-based keystore + keystore: msp/keystore diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/msp/IssuerPublicKey b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/peer1@tlsca.org2.example.com/msp/IssuerPublicKey new file mode 100644 index 0000000000000000000000000000000000000000..b473a5bf9c9239d8f798da39a5adc4e4659d7230 GIT binary patch literal 843 zcmV-R1GM}K0#8*61X6EoWeN;MZgOvIY;9$3bV)=C5K?7!Z)0I}X>V>wVQyq>WfDXR zAmJNfu_v4~cP4=&*qzWBC*JX%H(m#-rtwGW_jz= zAYcrqDWGB^?$DRh#>mBSTrU$H6NgRl0U|^SAORqqy&X+mAlcb(A#6;k zQXh+))|o7pn(&HYh`;=E9TFfBuWe&X+OK#tdS|1~JSuIqsFI~p_Bo)9yDSw(O3d^k zL<%4$*|6AZ^9oHhu3thO&Z;JpzU`*lOem7+mvW(j)=xu=*?NAcc)lqW&)H^(AY3K|ARpL<%6t@vA(Om_QU-m97CA zw3g{}+NBgksKQelJF>>5H$3}c4;N0XYj&v6 zZ!H8olDhjOmgiv6$$}VcOXWv*5+E9Fw%`t?2i=#p{8pFZ7;N9uZAQHC;6a1UQAXkU zxyCv~3Lx^j9J2}@5-Q7#@{XTO$D*IeVHEluw(I)u>(n`+LY)#IP9wCZI}0S(Z3EXJ zuUJPS6WXCYN-SgjJ5tcSV(nb2LLjX%a?ypx98kSb)E>#Z>E?FrN7HycCLB*C9|*=V z1bRv!PZ*-y;};Ajnj@v-CpUGpHbo8?kSpv2tt8ILP^Gj;QXpl-S@1>2D}Sw;K>(#J VVCl;-V>wVQyq>WfDXR zAmJNfu_v4~cP4=&*qzWBC*JX%H(m#-rtwGW_jz= zAYcrqDWGB^?$DRh#>mBSTrU$H6NgRl0U|^SAORqqy&X+mAlcb(A#6;k zQXh+))|o7pn(&HYh`;=E9TFfBuWe&X+OK#tdS|1~JSuIqsFI~p_Bo)9yDSw(O3d^k zL<%4$*|6AZ^9oHhu3thO&Z;JpzU`*lOem7+mvW(j)=xu=*?NAcc)lqW&)H^(AY3K|ARpL<%6t@vA(Om_QU-m97CA zw3g{}+NBgksKQelJF>>5H$3}c4;N0XYj&v6 zZ!H8olDhjOmgiv6$$}VcOXWv*5+E9Fw%`t?2i=#p{8pFZ7;N9uZAQHC;6a1UQAXkU zxyCv~3Lx^j9J2}@5-Q7#@{XTO$D*IeVHEluw(I)u>(n`+LY)#IP9wCZI}0S(Z3EXJ zuUJPS6WXCYN-SgjJ5tcSV(nb2LLjX%a?ypx98kSb)E>#Z>E?FrN7HycCLB*C9|*=V z1bRv!PZ*-y;};Ajnj@v-CpUGpHbo8?kSpv2tt8ILP^Gj;QXpl-S@1>2D}Sw;K>(#J VVCl;-:@:/ + tls: + certfiles: null + client: + certfile: null + keyfile: null + attribute: + names: + - uid + - member + converters: + - name: null + value: null + maps: + groups: + - name: null + value: null +affiliations: + org1: + - department1 + - department2 + org2: + - department1 +signing: + default: + usage: + - digital signature + - cert sign + - crl sign + expiry: 87600h + profiles: + ca: + usage: + - cert sign + - crl sign + expiry: 43800h + caconstraint: + isca: true + maxpathlen: 0 + tls: + usage: + - signing + - key encipherment + - server auth + - client auth + - key agreement + expiry: 87600h +csr: + cn: tlsca.org2.example.com + keyrequest: + algo: ecdsa + size: 256 + names: + - C: US + ST: North Carolina + L: null + O: org2.example.com + OU: tlsca + hosts: + - fabric-ca-server + - localhost + ca: + expiry: 1314000h + pathlength: 1 +idemix: + rhpoolsize: 1000 + nonceexpiration: 15s + noncesweepinterval: 15m +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + keystore: msp/keystore +cacount: null +cafiles: null +intermediate: + parentserver: + url: null + caname: null + enrollment: + hosts: null + profile: null + label: null + tls: + certfiles: null + client: + certfile: null + keyfile: null diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/fabric-ca-server.db b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/fabric-ca-server.db new file mode 100644 index 0000000000000000000000000000000000000000..02f22ea2d321724f5f99ac42efb3a36fe05f45cb GIT binary patch literal 61440 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 k`QelRwsq<=hiO0Ln2A8~^|S literal 0 HcmV?d00001 diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem new file mode 100644 index 00000000..4b474ba8 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICLTCCAdOgAwIBAgIUOya/oTe+7qMcKY3TkoQfUUz9zE8wCgYIKoZIzj0EAwIw +cjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkwFwYDVQQK +ExBvcmcyLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UEAxMWdGxz +Y2Eub3JnMi5leGFtcGxlLmNvbTAgFw0xODEwMTIwODU2MDBaGA8yMTY4MDkwNTA4 +NTYwMFowcjELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRkw +FwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMQ4wDAYDVQQLEwV0bHNjYTEfMB0GA1UE +AxMWdGxzY2Eub3JnMi5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEH +A0IABMEU5dpAp0tg/aUsZbtKJawjYfU5rPXprVXtVnhWCbqTB0YqQSRhqbuLBXyZ +0fC69aj5hM/pNaZ/rQbHL1vitfKjRTBDMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB +Af8ECDAGAQH/AgEBMB0GA1UdDgQWBBTHXy/A06QOhfnvBqXicOlXG6eIJjAKBggq +hkjOPQQDAgNIADBFAiEAmsZj2wdRwaq3n4oDEp6mWvv8rcAxfuGqZJfjvhSZujMC +ID3hvwL0Y0zZEnFQozSX2bkqajwNnHiXyCbnCbwVOnE1 +-----END CERTIFICATE----- diff --git a/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com_sk b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com_sk new file mode 100644 index 00000000..fbd5d2b5 --- /dev/null +++ b/hyperledger_fabric/latest/ca-test/crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com_sk @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg2CjqsrVQX5u3VWNZ +w+pzcJL4+D02OaRoTsKY2+CeeemhRANCAATBFOXaQKdLYP2lLGW7SiWsI2H1Oaz1 +6a1V7VZ4Vgm6kwdGKkEkYam7iwV8mdHwuvWo+YTP6TWmf60Gxy9b4rXy +-----END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/docker-compose.yaml b/hyperledger_fabric/latest/ca-test/docker-compose.yaml index 341b6021..99e68a69 100644 --- a/hyperledger_fabric/latest/ca-test/docker-compose.yaml +++ b/hyperledger_fabric/latest/ca-test/docker-compose.yaml @@ -1,17 +1,22 @@ version: '2' services: + ca.example.com: + image: yeasy/hyperledger-fabric-ca + container_name: ca.example.com + hostname: ca.example.com + volumes: + - $PWD/scripts:/scripts + - $PWD/crypto-config/ordererOrganizations/example.com/:/etc/hyperledger/fabric-ca-server + working_dir: /scripts + command: sh -c "sleep 1; bash ca_server_start.sh example.com ca" + depends_on: + - tlsca.example.com ca.org1.example.com: image: yeasy/hyperledger-fabric-ca container_name: ca.org1.example.com hostname: ca.org1.example.com - #environment: - #- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server/org1.example.com/ca - #- FABRIC_CA_SERVER_CSR_CN=ca.org1.example.com - # CA cannot support following fields as env variables now - # - FABRIC_CA_SERVER_CSR_NAMES_L="San Francisco" - # - FABRIC_CA_SERVER_CSR_NAMES_O=org1.example.com volumes: - $PWD/scripts:/scripts - $PWD/crypto-config/peerOrganizations/org1.example.com/:/etc/hyperledger/fabric-ca-server @@ -20,25 +25,51 @@ services: #command: fabric-ca-server start -b admin:adminpw #--csr.names C=US,ST="California",L="San Francisco",O="org1.example.com" depends_on: - - tlsca.org1.example.com + - tlsca.org1.example.com + + ca.org2.example.com: + image: yeasy/hyperledger-fabric-ca + container_name: ca.org2.example.com + hostname: ca.org2.example.com + volumes: + - $PWD/scripts:/scripts + - $PWD/crypto-config/peerOrganizations/org2.example.com/:/etc/hyperledger/fabric-ca-server + working_dir: /scripts + command: sh -c "sleep 1; bash ca_server_start.sh org2.example.com ca" + #command: fabric-ca-server start -b admin:adminpw + #--csr.names C=US,ST="California",L="San Francisco",O="org1.example.com" + depends_on: + - tlsca.org2.example.com + + tlsca.example.com: + image: yeasy/hyperledger-fabric-ca + container_name: tlsca.example.com + hostname: tlsca.example.com + volumes: + - $PWD/scripts:/scripts + - $PWD/crypto-config/ordererOrganizations/example.com/:/etc/hyperledger/fabric-ca-server + working_dir: /scripts + command: sh -c "bash ca_server_start.sh example.com tlsca" tlsca.org1.example.com: image: yeasy/hyperledger-fabric-ca container_name: tlsca.org1.example.com hostname: tlsca.org1.example.com - #environment: - #- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server/org1.example.com/tlsca - #- FABRIC_CA_SERVER_CSR_CN=tlsca.org1.example.com - # CA cannot support following fields as env variables now - # - FABRIC_CA_SERVER_CSR_NAMES_L="San Francisco" - # - FABRIC_CA_SERVER_CSR_NAMES_O=org1.example.com volumes: - $PWD/scripts:/scripts - $PWD/crypto-config/peerOrganizations/org1.example.com/:/etc/hyperledger/fabric-ca-server working_dir: /scripts command: sh -c "bash ca_server_start.sh org1.example.com tlsca" - #command: fabric-ca-server start -b admin:adminpw - #--csr.names C=US,ST="California",L="San Francisco",O="org1.example.com" + + tlsca.org2.example.com: + image: yeasy/hyperledger-fabric-ca + container_name: tlsca.org2.example.com + hostname: tlsca.org2.example.com + volumes: + - $PWD/scripts:/scripts + - $PWD/crypto-config/peerOrganizations/org2.example.com/:/etc/hyperledger/fabric-ca-server + working_dir: /scripts + command: sh -c "bash ca_server_start.sh org2.example.com tlsca" ca-client: image: yeasy/hyperledger-fabric-ca @@ -51,7 +82,11 @@ services: - $PWD/crypto-config:/etc/hyperledger/fabric-ca-client working_dir: /scripts depends_on: + - ca.example.com - ca.org1.example.com + - ca.org2.example.com + - tlsca.example.com - tlsca.org1.example.com + - tlsca.org2.example.com #command: sh -c "while true; do sleep 1; done" - command: sh -c "sleep 2; bash client-test.sh" + command: sh -c "sleep 4; bash client-test.sh" diff --git a/hyperledger_fabric/latest/ca-test/scripts/ca_server_start.sh b/hyperledger_fabric/latest/ca-test/scripts/ca_server_start.sh index b149fc0b..903839bf 100644 --- a/hyperledger_fabric/latest/ca-test/scripts/ca_server_start.sh +++ b/hyperledger_fabric/latest/ca-test/scripts/ca_server_start.sh @@ -4,6 +4,11 @@ source env.sh #TODO: check param number is 2 +if [ "$#" -ne 2 ]; then + echo "Illegal number of parameters" + exit 1 +fi + ORG_NAME=$1 # org1.example.com TYPE=$2 # ca | tlsca @@ -12,43 +17,40 @@ CA_PATH=${ORG_PATH}/${TYPE} # e.g., /etc/hyperledger/fabric-ca-server/ca echo $(hostname) -[ -d ${CA_PATH} ] || mkdir -p ${CA_PATH} +# do not recreate the credentials if existed +if [ ! -d ${CA_PATH} ]; then + mkdir -p ${CA_PATH} + cd ${CA_PATH} + echo "Generate the credentials for ${TYPE}.${ORG_NAME}" -cd ${CA_PATH} + # generate fabric-ca-server-config.yaml + #fabric-ca-server init \ + # -H ${CA_PATH} \ + # -b ${DEFAULT_USER}:${DEFAULT_PASS} + #rm -rf msp/* ca-cert.pem # these credentials are wrong -echo $PWD # /etc/hyperledger/fabric-ca-server/ca + echo "${CA_SERVER_DEFAULT_CONFIG}" >> fabric-ca-server-config.yaml -echo "Generate the credentials for ${TYPE}.${ORG_NAME}" -#fabric-ca-server init --csr.cn=${ORG_NAME} -b admin:pass -#mv ca-cert.pem ${ORG_NAME}-cert.pem -#mv msp/keystore/*_sk ${ORG_NAME}_sk + # Update config + echo "Update fabric-ca-server-config.yaml" + yq w -i fabric-ca-server-config.yaml ca.name "${TYPE}.${ORG_NAME}" + yq w -i fabric-ca-server-config.yaml ca.certfile "${TYPE}.${ORG_NAME}-cert.pem" + yq w -i fabric-ca-server-config.yaml ca.keyfile "${TYPE}.${ORG_NAME}_sk" -# generate fabric-ca-server-config.yaml -fabric-ca-server init \ - -H ${CA_PATH} \ - -b ${DEFAULT_USER}:${DEFAULT_PASS} + yq w -i fabric-ca-server-config.yaml csr.cn "${TYPE}.${ORG_NAME}" + yq w -i fabric-ca-server-config.yaml csr.names[0].O "${ORG_NAME}" + yq w -i fabric-ca-server-config.yaml csr.names[0].OU "${TYPE}" -rm -rf msp/* ca-cert.pem + yq w -i fabric-ca-server-config.yaml tls.enabled false + #yq w -i fabric-ca-server-config.yaml tls.certfile "${ORG_PATH}/tlsca/tlsca.${ORG_NAME}-cert.pem" + #yq w -i fabric-ca-server-config.yaml tls.keyfile "${ORG_PATH}/tlsca/tlsca.${ORG_NAME}_sk" -# Update config -echo "Update fabric-ca-server-config.yaml" -yq w -i fabric-ca-server-config.yaml ca.name "${TYPE}.${ORG_NAME}" -yq w -i fabric-ca-server-config.yaml ca.certfile "${TYPE}.${ORG_NAME}-cert.pem" -yq w -i fabric-ca-server-config.yaml ca.keyfile "${TYPE}.${ORG_NAME}_sk" + # Generate new certs based on updated config + echo "Generate certificates for ${TYPE}.${ORG_NAME} under ${CA_PATH}" + fabric-ca-server init -H ${CA_PATH} -yq w -i fabric-ca-server-config.yaml csr.cn "${TYPE}.${ORG_NAME}" -yq w -i fabric-ca-server-config.yaml csr.names[0].O "${ORG_NAME}" -yq w -i fabric-ca-server-config.yaml csr.names[0].OU "${TYPE}" - -yq w -i fabric-ca-server-config.yaml tls.enabled false -#yq w -i fabric-ca-server-config.yaml tls.certfile "${ORG_PATH}/tlsca/tlsca.${ORG_NAME}-cert.pem" -#yq w -i fabric-ca-server-config.yaml tls.keyfile "${ORG_PATH}/tlsca/tlsca.${ORG_NAME}_sk" - -# Generate new certs based on updated config -echo "Generate certificates based on config" -fabric-ca-server init -H ${CA_PATH} - -cp msp/keystore/*_sk ${TYPE}.${ORG_NAME}_sk + cp msp/keystore/*_sk ${TYPE}.${ORG_NAME}_sk +fi echo "Start ${TYPE}.${ORG_NAME}..." fabric-ca-server start -H ${CA_PATH} diff --git a/hyperledger_fabric/latest/ca-test/scripts/client-test.sh b/hyperledger_fabric/latest/ca-test/scripts/client-test.sh index 48a54e79..44712bde 100644 --- a/hyperledger_fabric/latest/ca-test/scripts/client-test.sh +++ b/hyperledger_fabric/latest/ca-test/scripts/client-test.sh @@ -4,164 +4,179 @@ source env.sh CONFIG_PATH=/etc/hyperledger/fabric-ca-client +# RegisterUser CA_URL CERT_CN CERT_O USER_NAME USER_PASS TYPE ATTRS +# RegisterUser will register a user to ca with USER_NAME:USER_PASS, TYPE, ATTRS RegisterUser() { - local URL=$1 - local USER_ID=$2 - local ORG=$3 - local NAME=$4 - local PASSWORD=$5 - local TYPE=$6 - local ATTRS=${7} + local CA_URL=$1 + local CERT_CN=$2 + local CERT_O=$3 + local USER_NAME=$4 + local USER_PASS=$5 + local TYPE=$6 + local ATTRS=${7} - local REQUESTER_HOME=${DEFAULT_USER}@${URL} + # Use the default user as requester + local REQUESTER_HOME=${DEFAULT_USER}@${CA_URL} + EnrollDefaultUser ${CA_URL} ${CERT_CN} ${CERT_O} ${REQUESTER_HOME} - # Enroll default user - if [ ! -d "${REQUESTER_HOME}" ]; then - EnrollUser ${URL} ${REQUESTER_HOME} ${ORG} ${DEFAULT_USER} ${DEFAULT_PASS} - fi - - fabric-ca-client register \ - --csr.cn ${USER_ID} \ - --home ${REQUESTER_HOME} \ - --id.name ${NAME} \ - --id.secret ${PASSWORD} \ + # register with the identity of the requester + fabric-ca-client register \ + --home ${REQUESTER_HOME} \ + --csr.cn "${CERT_CN}" \ + --csr.hosts "${CERT_CN}" \ + --csr.names C=US,ST="California",L="San Francisco",O=${CERT_O} \ + --id.name ${USER_NAME} \ + --id.secret ${USER_PASS} \ --id.type ${TYPE} \ --id.attrs "${ATTRS}" \ - --id.maxenrollments 1 \ - --url http://${DEFAULT_USER}:${DEFAULT_PASS}@${URL}:7054 + --id.maxenrollments -1 \ + --url http://${DEFAULT_USER}:${DEFAULT_PASS}@${CA_URL}:7054 - sleep 0.1 + sleep 0.1 } +# EnrollDefaultUser CA_URL CERT_CN CERT_O HOME_PATH +# EnrollDefaultUser will store credentials to local HOME_PATH/ +EnrollDefaultUser() { + if [ "$#" -ne 4 ]; then + echo "Illegal number of parameters" + exit 1 + fi + + local CA_URL=$1 + local CERT_CN=$2 + local CERT_O=$3 + local HOME_PATH=$4 + + EnrollUser ${CA_URL} ${CERT_CN} ${CERT_O} ${DEFAULT_USER} ${DEFAULT_PASS} ${HOME_PATH} +} + +# EnrollUser CA_URL CERT_CN CERT_O USER PASS HOME_PATH +# EnrollUser will store credentials to local HOME_PATH/ EnrollUser() { - local URL=$1 - local USER_ID=$2 - local ORG=$3 - local USER=$4 - local PASS=$5 - local MSP_PATH=msp + if [ "$#" -ne 6 ]; then + echo "Illegal number of parameters" + exit 1 + fi + local CA_URL=$1 + local CERT_CN=$2 + local CERT_O=$3 + local USER=$4 + local PASS=$5 + local HOME_PATH=$6 - [ -d ${MSP_PATH} ] || mkdir -p ${MSP_PATH} - - fabric-ca-client enroll \ - --csr.cn ${USER_ID} \ - --csr.names C=US,ST="California",L="San Francisco",O=${ORG} \ - --home ${USER_ID} \ - --mspdir ${MSP_PATH} \ - --url http://${USER}:${PASS}@${URL}:7054 + if [ -d "${HOME_PATH}" ]; then + echo "${HOME_PATH} already exists, ignore re-enrolling $@" + return + fi + fabric-ca-client enroll \ + --home ${HOME_PATH} \ + --csr.cn "${CERT_CN}" \ + --csr.hosts "${CERT_CN}" \ + --csr.names C=US,ST="California",L="San Francisco",O=${CERT_O} \ + --url http://${USER}:${PASS}@${CA_URL}:7054 + set +x } EnrollCA() { - local URL=$1 - local USER_ID=$2 - local ORG=$3 - local USER=$4 - local PASS=$5 - local MSP_PATH=msp + local URL=$1 + local USER_ID=$2 + local ORG=$3 + local USER=$4 + local PASS=$5 + local MSP_PATH=msp - [ -d ${MSP_PATH} ] || mkdir -p ${MSP_PATH} + [ -d ${MSP_PATH} ] || mkdir -p ${MSP_PATH} - fabric-ca-client enroll \ - --csr.cn ${USER_ID} \ - --csr.names C=US,ST="California",L="San Francisco",O=${ORG} \ - --home ${USER_ID} \ - --mspdir ${MSP_PATH} \ - --url http://${USER}:${PASS}@${URL} + fabric-ca-client enroll \ + --csr.cn ${USER_ID} \ + --csr.names C=US,ST="California",L="San Francisco",O=${ORG} \ + --home ${USER_ID} \ + --mspdir ${MSP_PATH} \ + --url http://${USER}:${PASS}@${URL} } EnrollTLSCA() { - local URL=$1 - local USER_ID=$2 - local ORG=$3 - local USER=$4 - local PASS=$5 - local MSP_PATH=tls + local URL=$1 + local USER_ID=$2 + local ORG=$3 + local USER=$4 + local PASS=$5 + local MSP_PATH=tls - [ -d ${MSP_PATH} ] || mkdir -p ${MSP_PATH} + [ -d ${MSP_PATH} ] || mkdir -p ${MSP_PATH} - fabric-ca-client enroll \ - --enrollment.profile tls \ - --csr.cn ${USER_ID} \ - --csr.hosts ${USER_ID} - --csr.names C=US,ST="California",L="San Francisco",O=${ORG} \ - --home ${USER_ID} \ - --mspdir ${MSP_PATH} \ - --url http://${USER}:${PASS}@${URL}:7054 + fabric-ca-client enroll \ + --enrollment.profile tls \ + --csr.cn ${USER_ID} \ + --csr.hosts ${USER_ID} + --csr.names C=US,ST="California",L="San Francisco",O=${ORG} \ + --home ${USER_ID} \ + --mspdir ${MSP_PATH} \ + --url http://${USER}:${PASS}@${URL}:7054 - mv $MSP_PATH/cacerts/*.pem $MSP_PATH/cacerts/${URL}-cert.pem - mv $MSP_PATH/signcerts/*.pem $MSP_PATH/signcerts/${USER_ID}-cert.pem + mv $MSP_PATH/cacerts/*.pem $MSP_PATH/cacerts/${URL}-cert.pem + mv $MSP_PATH/signcerts/*.pem $MSP_PATH/signcerts/${USER_ID}-cert.pem - if [ ${MSP_PATH} == "tls" ]; then - cp $MSP_PATH/signcerts/*.pem $MSP_PATH - cp $MSP_PATH/keystore/*_sk $MSP_PATH - fi + if [ ${MSP_PATH} == "tls" ]; then + cp $MSP_PATH/signcerts/*.pem $MSP_PATH + cp $MSP_PATH/keystore/*_sk $MSP_PATH + fi } -# cp -rp ${CONFIG_PATH}/msp/signcerts ${CONFIG_PATH}/msp/admincerts +ORDERER_ORGS=( example.com ) +ORDERERS=( orderer0 orderer1 ) -echo "=== Register User ===" -#set -x -#RegisterUser User1@${ORG} user org Admin@org1.example.com - -# Generate cert under org -GetCert() { - local org=$1 - local cn=$1 - echo "=== Enroll Admin ===" -} - - -ORGS=(org1.example.com org2.example.com ) +PEER_ORGS=( org1.example.com org2.example.com ) PEERS=( peer0 peer1 ) -ORDERERS=( orderer ) + USERS=( Admin User1 ) +# TODO: Fabric-ca's existing param support is bad, which reads user.name as csr.cn, and ignore the true csr.cn when do enroll. # Generates peer orgs -for org in "${ORGS[@]}" +for org in "${PEER_ORGS[@]}" do - cd ${CONFIG_PATH}/peerOrganizations/${org}/ + cd ${CONFIG_PATH}/peerOrganizations/${org}/ - mkdir peers users + echo "Register all users at ca and tlsca" + for user in "${USERS[@]}" + do + if [ "${user}" == "Admin" ]; then + RegisterUser ca.${org} "${user}@${org}" ${org} ${user}@${org} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=true:ecert,abac.init=true:ecert" + RegisterUser tlsca.${org} "${user}@${org}" ${org} ${user}@${org} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=true:ecert,abac.init=true:ecert" + else + RegisterUser ca.${org} "${user}@${org}" ${org} ${user}@${org} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=false:ecert,abac.init=true:ecert" + RegisterUser tlsca.${org} "${user}@${org}" ${org} ${user}@${org} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=false:ecert,abac.init=true:ecert" + fi + done - cd users - # Register all users at ca and tlsca + echo "Enroll all users" for user in "${USERS[@]}" - do - if [ "${user}" == "Admin" ]; then - RegisterUser ca.${org} ${user}@${org} ${org} ${user} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=true:ecert,abac.init=true:ecert" - RegisterUser tlsca.${org} ${user}@${org} ${org} ${user} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=true:ecert,abac.init=true:ecert" - else - RegisterUser ca.${org} ${user}@${org} ${org} ${user} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=false:ecert,abac.init=true:ecert" - RegisterUser tlsca.${org} ${user}@${org} ${org} ${user} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=false:ecert,abac.init=true:ecert" - fi - done + do + EnrollUser ca.${org} "${user}@${org}" ${org} "${user}@${org}" ${user} "${user}@ca.${org}" + EnrollUser tlsca.${org} "${user}@${org}" ${org} "${user}@${org}" ${user} "${user}@tlsca.${org}" + done - cd ../peers - # Register all peers at ca and tlsca - for peer in "${PEERS[@]}" - do - RegisterUser ca.${org} ${peer}@${org} ${org} ${peer} ${peer} "peer" "hf.Registrar.Roles=peer,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=false:ecert,abac.init=true:ecert" - RegisterUser tlsca.${org} ${user}@${org} ${org} ${user} ${user} "user" "hf.Registrar.Roles=client,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=false:ecert,abac.init=true:ecert" - done - - exit 0 + echo "Register all peers at ca and tlsca" + for peer in "${PEERS[@]}" + do + RegisterUser ca.${org} ${peer}@${org} ${org} ${peer}@${org} ${peer} "peer" "hf.Registrar.Roles=peer,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=false:ecert,abac.init=true:ecert" + RegisterUser tlsca.${org} ${peer}@${org} ${org} ${peer}@${org} ${peer} "peer" "hf.Registrar.Roles=peer,hf.Registrar.Attributes=*,hf.Revoker=true,hf.GenCRL=true,admin=false:ecert,abac.init=true:ecert" + done - # Enroll all users - cp ../tlsca/*.pem Admin@${org}/tls/ca.crt - - EnrollCA ca.${org} Admin@${org} ${org} adminpw - EnrollTLSCA tlsca.${org} Admin@${org} ${org} admin adminpw - - - # Register all peers - cd peers - for peer in "${PEERS[@]}" - do - mkdir -p ${peer}.${org}/msp - mkdir -p ${peer}.${org}/tls - cp tlsca/*.pem ${peer}.${org}/tls/ca.crt - GetCerts ${org} ${peer} - done - cd ../users + echo "Enroll all peers" + for peer in "${PEERS[@]}" + do + EnrollUser ca.${org} ${peer}@${org} ${org} ${peer}@${org} ${peer} ${peer}@ca.${org} + EnrollUser tlsca.${org} ${peer}@${org} ${org} ${peer}@${org} ${peer} ${peer}@tlsca.${org} + done done + +exit 0 +# Enroll all users +cp ../tlsca/*.pem Admin@${org}/tls/ca.crt + +EnrollCA ca.${org} Admin@${org} ${org} adminpw +EnrollTLSCA tlsca.${org} Admin@${org} ${org} admin adminpw + diff --git a/hyperledger_fabric/latest/ca-test/scripts/env.sh b/hyperledger_fabric/latest/ca-test/scripts/env.sh index e7208848..920070af 100644 --- a/hyperledger_fabric/latest/ca-test/scripts/env.sh +++ b/hyperledger_fabric/latest/ca-test/scripts/env.sh @@ -1,5 +1,162 @@ #!/usr/bin/env bash -DEFAULT_USER="admin-default" -DEFAULT_PASS="pass-default" +DEFAULT_USER="boot-admin" +DEFAULT_PASS="boot-pass" + +# store the default template for fabric-ca-server-config.yaml +CA_SERVER_DEFAULT_CONFIG="" +read -r -d '' CA_SERVER_DEFAULT_CONFIG << EOF +version: 1.4.0 + +port: 7054 + +debug: false + +crlsizelimit: 512000 + +tls: + enabled: false + certfile: + keyfile: + clientauth: + type: noclientcert + certfiles: + +ca: + name: + keyfile: + certfile: + chainfile: + +crl: + expiry: 24h + +registry: + maxenrollments: -1 + + identities: + - name: ${DEFAULT_USER} + pass: ${DEFAULT_PASS} + type: client + affiliation: "" + attrs: + hf.Registrar.Roles: "*" + hf.Registrar.DelegateRoles: "*" + hf.Revoker: true + hf.IntermediateCA: true + hf.GenCRL: true + hf.Registrar.Attributes: "*" + hf.AffiliationMgr: true + +db: + type: sqlite3 + datasource: fabric-ca-server.db + tls: + enabled: false + certfiles: + client: + certfile: + keyfile: + +ldap: + enabled: false + url: ldap://:@:/ + tls: + certfiles: + client: + certfile: + keyfile: + attribute: + names: ['uid','member'] + converters: + - name: + value: + maps: + groups: + - name: + value: + +affiliations: + org1: + - department1 + - department2 + org2: + - department1 + +signing: + default: + usage: + - digital signature + - cert sign + - crl sign + expiry: 87600h + profiles: + ca: + usage: + - cert sign + - crl sign + expiry: 43800h + caconstraint: + isca: true + maxpathlen: 0 + tls: + usage: + - signing + - key encipherment + - server auth + - client auth + - key agreement + expiry: 87600h + +csr: + cn: fabric-ca-server + keyrequest: + algo: ecdsa + size: 256 + names: + - C: US + ST: "North Carolina" + L: + O: Hyperledger + OU: Fabric + hosts: + - fabric-ca-server + - localhost + ca: + expiry: 1314000h + pathlength: 1 + +idemix: + rhpoolsize: 1000 + nonceexpiration: 15s + noncesweepinterval: 15m + +bccsp: + default: SW + sw: + hash: SHA2 + security: 256 + filekeystore: + keystore: msp/keystore + +cacount: + +cafiles: + +intermediate: + parentserver: + url: + caname: + enrollment: + hosts: + profile: + label: + tls: + certfiles: + client: + certfile: + keyfile: +EOF + +#echo "${CA_SERVER_DEFAULT_CONFIG}" diff --git a/hyperledger_fabric/latest/ca-test/scripts/users/admin-default@ca.example.com/msp/keystore/759509b62b351acf38a9e79b78105134e66ac0aef9a8dc96dcb59bb5f71428a5_sk b/hyperledger_fabric/latest/ca-test/scripts/users/admin-default@ca.example.com/msp/keystore/759509b62b351acf38a9e79b78105134e66ac0aef9a8dc96dcb59bb5f71428a5_sk deleted file mode 100644 index 0a1bbde1..00000000 --- a/hyperledger_fabric/latest/ca-test/scripts/users/admin-default@ca.example.com/msp/keystore/759509b62b351acf38a9e79b78105134e66ac0aef9a8dc96dcb59bb5f71428a5_sk +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgAW49uUwglOMGLe6g -H6BYJMB37/8zpTg/iI3ebXR/xsWhRANCAAQVK3wbfCGHDJf42qv4Bf4OGvhYuhZE -hNRwyomzUtfJ/dtWYabp87CbThq/rilR3g3df72hZZw0ZIaHNLpYRIGW ------END PRIVATE KEY----- diff --git a/hyperledger_fabric/latest/ca-test/scripts/users/admin-default@tlsca.example.com/msp/keystore/13e4f564761eb0c996ee0ed2ccd0053d4128c85cc3f06c913118a063b7a2dbc2_sk b/hyperledger_fabric/latest/ca-test/scripts/users/admin-default@tlsca.example.com/msp/keystore/13e4f564761eb0c996ee0ed2ccd0053d4128c85cc3f06c913118a063b7a2dbc2_sk deleted file mode 100644 index d7346432..00000000 --- a/hyperledger_fabric/latest/ca-test/scripts/users/admin-default@tlsca.example.com/msp/keystore/13e4f564761eb0c996ee0ed2ccd0053d4128c85cc3f06c913118a063b7a2dbc2_sk +++ /dev/null @@ -1,5 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgrD+JxECpHZAV4wdS -uVPfoTFCD/ixfaVSsW8onQm+m2yhRANCAATJJMk88HeZPD6eT0Azi9m4CEw+A5od -vNW/N7vLNw0O4tBj1RX7j/iGVNlmYnjluhkHI6WyyaTxElePnr6+9AMC ------END PRIVATE KEY-----