mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-22 17:45:10 +00:00
updated help message for CFSSL
Signed-off-by: Aditya Joshi <adityaprakashjoshi1@gmail.com>
This commit is contained in:
parent
e63c7d564e
commit
9441772423
2 changed files with 5 additions and 3 deletions
|
|
@ -72,7 +72,7 @@ function orderer_cert() {
|
||||||
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/tlsca/tlsca.example.com-cert.pem"
|
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/tlsca/tlsca.example.com-cert.pem"
|
||||||
|
|
||||||
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/msp/cacerts/"
|
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/msp/cacerts/"
|
||||||
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/msp/tlscacerts/"
|
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/msp/tlscacerts/tlsca.example.com-cert.pem"
|
||||||
|
|
||||||
echo 'NodeOUs:
|
echo 'NodeOUs:
|
||||||
Enable: true
|
Enable: true
|
||||||
|
|
@ -176,7 +176,7 @@ function generate_peer_certs() {
|
||||||
cfssl gencert \
|
cfssl gencert \
|
||||||
-ca="$CERT_DIR/ca/ca.pem" \
|
-ca="$CERT_DIR/ca/ca.pem" \
|
||||||
-ca-key="$CERT_DIR/ca/ca-key.pem" \
|
-ca-key="$CERT_DIR/ca/ca-key.pem" \
|
||||||
-config="$PWD/organizations/cfssl/cert-signing-config.jso"n \
|
-config="$PWD/organizations/cfssl/cert-signing-config.json" \
|
||||||
-cn="$USER" \
|
-cn="$USER" \
|
||||||
-hostname="$USER,localhost,127.0.0.1" \
|
-hostname="$USER,localhost,127.0.0.1" \
|
||||||
-profile="sign" \
|
-profile="sign" \
|
||||||
|
|
@ -243,7 +243,7 @@ function generate_orderer_certs() {
|
||||||
mv "$CERT_DIR/orderers/$USER/msp/signcerts/cert-key.pem" "$CERT_DIR/orderers/$USER/msp/keystore"
|
mv "$CERT_DIR/orderers/$USER/msp/signcerts/cert-key.pem" "$CERT_DIR/orderers/$USER/msp/keystore"
|
||||||
|
|
||||||
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/orderers/$USER/msp/cacerts"
|
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/orderers/$USER/msp/cacerts"
|
||||||
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/orderers/$USER/msp/tlscacerts"
|
cp "$CERT_DIR/ca/ca.pem" "$CERT_DIR/orderers/$USER/msp/tlscacerts/tlsca.example.com-cert.pem"
|
||||||
|
|
||||||
echo 'NodeOUs:
|
echo 'NodeOUs:
|
||||||
Enable: true
|
Enable: true
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ function printHelp() {
|
||||||
println
|
println
|
||||||
println " Flags:"
|
println " Flags:"
|
||||||
println " -ca - Use Certificate Authorities to generate network crypto material"
|
println " -ca - Use Certificate Authorities to generate network crypto material"
|
||||||
|
println " -cfssl <use CFSSL> - Use CFSSL CA to generate network crypto material"
|
||||||
println " -bft - Use Orderers with consensus type BFT (Not available in Fabric v2.x)"
|
println " -bft - Use Orderers with consensus type BFT (Not available in Fabric v2.x)"
|
||||||
println " -c <channel name> - Name of channel to create (defaults to \"mychannel\")"
|
println " -c <channel name> - Name of channel to create (defaults to \"mychannel\")"
|
||||||
println " -s <dbtype> - Peer state database to deploy: goleveldb (default) or couchdb"
|
println " -s <dbtype> - Peer state database to deploy: goleveldb (default) or couchdb"
|
||||||
|
|
@ -111,6 +112,7 @@ function printHelp() {
|
||||||
println " Flags:"
|
println " Flags:"
|
||||||
println " Used with \033[0;32mnetwork.sh up\033[0m, \033[0;32mnetwork.sh createChannel\033[0m:"
|
println " Used with \033[0;32mnetwork.sh up\033[0m, \033[0;32mnetwork.sh createChannel\033[0m:"
|
||||||
println " -ca - Use Certificate Authorities to generate network crypto material"
|
println " -ca - Use Certificate Authorities to generate network crypto material"
|
||||||
|
println " -cfssl <use CFSSL> - Use CFSSL CA to generate network crypto material"
|
||||||
println " -bft - Use Orderers with consensus type BFT (Not available in Fabric v2.x)"
|
println " -bft - Use Orderers with consensus type BFT (Not available in Fabric v2.x)"
|
||||||
println " -c <channel name> - Name of channel to create (defaults to \"mychannel\")"
|
println " -c <channel name> - Name of channel to create (defaults to \"mychannel\")"
|
||||||
println " -s <dbtype> - Peer state database to deploy: goleveldb (default) or couchdb"
|
println " -s <dbtype> - Peer state database to deploy: goleveldb (default) or couchdb"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue