mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 17:15:10 +00:00
Generate crypto using CA for BFT consensus fix
This commit is contained in:
parent
e1a64665db
commit
6e55e598b4
2 changed files with 5 additions and 5 deletions
|
|
@ -287,28 +287,28 @@ Profiles:
|
||||||
Host: 127.0.0.1
|
Host: 127.0.0.1
|
||||||
Port: 6050
|
Port: 6050
|
||||||
MSPID: OrdererMSP
|
MSPID: OrdererMSP
|
||||||
Identity: ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/signcerts/orderer.example.com-cert.pem
|
Identity: ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/signcerts/cert.pem
|
||||||
ClientTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
|
ClientTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
|
||||||
ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
|
ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
|
||||||
- ID: 2
|
- ID: 2
|
||||||
Host: 127.0.0.1
|
Host: 127.0.0.1
|
||||||
Port: 6051
|
Port: 6051
|
||||||
MSPID: OrdererMSP
|
MSPID: OrdererMSP
|
||||||
Identity: ../crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/signcerts/orderer2.example.com-cert.pem
|
Identity: ../crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp/signcerts/cert.pem
|
||||||
ClientTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt
|
ClientTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt
|
||||||
ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt
|
ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt
|
||||||
- ID: 3
|
- ID: 3
|
||||||
Host: 127.0.0.1
|
Host: 127.0.0.1
|
||||||
Port: 6052
|
Port: 6052
|
||||||
MSPID: OrdererMSP
|
MSPID: OrdererMSP
|
||||||
Identity: ../crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/signcerts/orderer3.example.com-cert.pem
|
Identity: ../crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/msp/signcerts/cert.pem
|
||||||
ClientTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
|
ClientTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
|
||||||
ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
|
ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
|
||||||
- ID: 4
|
- ID: 4
|
||||||
Host: 127.0.0.1
|
Host: 127.0.0.1
|
||||||
Port: 6053
|
Port: 6053
|
||||||
MSPID: OrdererMSP
|
MSPID: OrdererMSP
|
||||||
Identity: ../crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/signcerts/orderer4.example.com-cert.pem
|
Identity: ../crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/msp/signcerts/cert.pem
|
||||||
ClientTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
|
ClientTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
|
||||||
ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
|
ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
|
||||||
Application:
|
Application:
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ registerAndEnroll "5052" "orderer2" "orderer2pw" "orderer" "" "${orderer2_dir}"
|
||||||
registerAndEnroll "5052" "orderer3" "orderer3pw" "orderer" "" "${orderer3_dir}" "${orderer_org_dir}" "${orderer_org_tls}"
|
registerAndEnroll "5052" "orderer3" "orderer3pw" "orderer" "" "${orderer3_dir}" "${orderer_org_dir}" "${orderer_org_tls}"
|
||||||
|
|
||||||
# Create enrollment and TLS certificates for orderer4
|
# Create enrollment and TLS certificates for orderer4
|
||||||
registerAndEnroll "5052" "orderer4" "orderer4pw" "orderer" "" "${orderer4_dir}" "${orderer_org}" "${orderer_org_tls}"
|
registerAndEnroll "5052" "orderer4" "orderer4pw" "orderer" "" "${orderer4_dir}" "${orderer_org_dir}" "${orderer_org_tls}"
|
||||||
|
|
||||||
# Create enrollment and TLS certificates for orderer5
|
# Create enrollment and TLS certificates for orderer5
|
||||||
registerAndEnroll "5052" "orderer5" "orderer5pw" "orderer" "" "${orderer5_dir}" "${orderer_org_dir}" "${orderer_org_tls}"
|
registerAndEnroll "5052" "orderer5" "orderer5pw" "orderer" "" "${orderer5_dir}" "${orderer_org_dir}" "${orderer_org_tls}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue