hyperledger-fabric

fabric-ca How to generate client certfile and keyfile?

我只是一个虾纸丫 提交于 2021-02-20 04:12:32
问题 fabric-ca-client enroll -u https://admin:adminpw@localhost:7054 -c fabric-ca-client-config.yaml Error: POST failure [Post https://localhost:7054/enroll: x509: certificate is valid for example.com, not localhost]; not sending fabric-ca-client-config.yaml tls: enabled: true certfiles: crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/ca.crt client: certfile: crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.crt keyfile:

fabric-ca How to generate client certfile and keyfile?

偶尔善良 提交于 2021-02-20 04:12:08
问题 fabric-ca-client enroll -u https://admin:adminpw@localhost:7054 -c fabric-ca-client-config.yaml Error: POST failure [Post https://localhost:7054/enroll: x509: certificate is valid for example.com, not localhost]; not sending fabric-ca-client-config.yaml tls: enabled: true certfiles: crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/ca.crt client: certfile: crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/server.crt keyfile:

HyperLedger-downloading Platform-specific Binaries on Windows 10

坚强是说给别人听的谎言 提交于 2021-02-19 09:27:24
问题 I'll trying to setup Hyperledger sample on Windows 10 using the 1.1 documentation. I've installed all the prerequisites. but we I run this command: curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 1.1.0 from within the fabric-sample folder, I get this error: ===> Downloading platform specific fabric binaries % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1049 0 1049 0 0 1049 0 --:--:--

HyperLedger-downloading Platform-specific Binaries on Windows 10

点点圈 提交于 2021-02-19 09:27:15
问题 I'll trying to setup Hyperledger sample on Windows 10 using the 1.1 documentation. I've installed all the prerequisites. but we I run this command: curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 1.1.0 from within the fabric-sample folder, I get this error: ===> Downloading platform specific fabric binaries % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1049 0 1049 0 0 1049 0 --:--:--

Hyperledger Fabric Java SDK Use GRPCS for peer and orderer connections

て烟熏妆下的殇ゞ 提交于 2021-02-19 07:00:35
问题 I have a Spring Boot project using the fabric-java-sdk pointing to the BYFN network that I've stood up locally. The BYFN network does not have a CA container. I am trying to connect to the peer and orderer with grpcs since tls is enabled on my local BYFN network. Grpc fails. However, it appears that it doesn't like the CN or some other field in the cert presented by the peer during the initial TLS handshake. I think it doesn't like that I am pointing to localhost for the grpcs url, but the CN

The Name of Hyperledger Fabric Test Network is not detected by an Application given in the samples

假如想象 提交于 2021-02-15 07:43:45
问题 I just reinstalled Fabric Samples v2.2.0 from Hyperledger Fabric repository according to the documentation. But when I try to run asset-transfer-basic application located in fabric-samples/asset-transfer-basic/application-javascript directory by running node app.js the wallet is created and an admin and user is registered. But then it tries to invoke the function as given in app.js and shows this error error: [Transaction]: Error: No valid responses from any peers. Errors: peer=peer0.org1

Difference between fabric-tools and fabric-ca-tools images

*爱你&永不变心* 提交于 2021-02-11 15:52:33
问题 what is the purpose of fabric-tools and fabric-ca-tools and its diferences Below mentioned the docker images of Hyperledger Fabric REPOSITORY TAG IMAGE ID CREATED SIZE hyperledger/fabric-tools 1.4.3 18ed4db0cd57 7 days ago 1.55GB hyperledger/fabric-tools latest 18ed4db0cd57 7 days ago 1.55GB hyperledger/fabric-ca-tools latest 591e9bb05cad 11 months ago 1.55GB 回答1: fabric-tools : It is a helper container when we go for automation of HLF network creation we can use this container for generating

Hyperledger Fabric 2.0 byfn.sh error installing chaincode

故事扮演 提交于 2021-02-11 15:39:52
问题 I have the exact same issue as pointed out in this question: Error: failed to endorse chaincode install: rpc error: code = Unavailable desc = transport is closing If you are choosing to answer this question, please do review the question in the link as my issue is exactly the same except that my environment is as follows: OS: RHEL 7.7 Go version: 1.13.7 Node version: 12.13.0 Docker version: 18.09.7 (Client and Engine) NO INTERNET ACCESS I execute the script with the following command: ./byfn

Hyperledger Fabric 2.0 byfn.sh error installing chaincode

北慕城南 提交于 2021-02-11 15:39:35
问题 I have the exact same issue as pointed out in this question: Error: failed to endorse chaincode install: rpc error: code = Unavailable desc = transport is closing If you are choosing to answer this question, please do review the question in the link as my issue is exactly the same except that my environment is as follows: OS: RHEL 7.7 Go version: 1.13.7 Node version: 12.13.0 Docker version: 18.09.7 (Client and Engine) NO INTERNET ACCESS I execute the script with the following command: ./byfn