From 6e55e598b4cd96289241dfb498e10e015df27c44 Mon Sep 17 00:00:00 2001 From: SoundaryaCC Date: Mon, 30 Dec 2024 11:17:37 +0530 Subject: [PATCH] Generate crypto using CA for BFT consensus fix --- test-network-nano-bash/bft-config/configtx.yaml | 8 ++++---- test-network-nano-bash/ca/createEnrollments.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test-network-nano-bash/bft-config/configtx.yaml b/test-network-nano-bash/bft-config/configtx.yaml index b6d3cbf2..5bea9449 100644 --- a/test-network-nano-bash/bft-config/configtx.yaml +++ b/test-network-nano-bash/bft-config/configtx.yaml @@ -287,28 +287,28 @@ Profiles: Host: 127.0.0.1 Port: 6050 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 ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt - ID: 2 Host: 127.0.0.1 Port: 6051 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 ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt - ID: 3 Host: 127.0.0.1 Port: 6052 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 ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt - ID: 4 Host: 127.0.0.1 Port: 6053 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 ServerTLSCert: ../crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt Application: diff --git a/test-network-nano-bash/ca/createEnrollments.sh b/test-network-nano-bash/ca/createEnrollments.sh index dc9beb16..562a187a 100755 --- a/test-network-nano-bash/ca/createEnrollments.sh +++ b/test-network-nano-bash/ca/createEnrollments.sh @@ -76,7 +76,7 @@ registerAndEnroll "5052" "orderer2" "orderer2pw" "orderer" "" "${orderer2_dir}" registerAndEnroll "5052" "orderer3" "orderer3pw" "orderer" "" "${orderer3_dir}" "${orderer_org_dir}" "${orderer_org_tls}" # 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 registerAndEnroll "5052" "orderer5" "orderer5pw" "orderer" "" "${orderer5_dir}" "${orderer_org_dir}" "${orderer_org_tls}"