を通して、あなたの最初のネットワークウォークを構築した証明書に問題があるHyperledgerファブリック内のチャネルに参加します。ドッカーの "hyperledger/fabric-tools"ノードでは、現在の名前であるtlsca.example.com
の証明書を見つけることができます。しかし、チャンネルを作成することはできません。証明書の手ぶれの問題があります。証明書をピアノードにチェック/マウントする必要がありますか?作成&Iは、ドキュメント</p> <p><a href="http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html?highlight=create%20channel" rel="nofollow noreferrer">Hyperledger Fabric v1.0 docs</a> に応じてチャンネルを作成しようとしています
[email protected]:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com# peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls $CORE_PEER_TLS_ENABLED --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
2017-07-27 16:49:58.949 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2017-07-27 16:49:58.949 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2017-07-27 16:49:58.954 UTC [grpc] Printf -> DEBU 003 Failed to dial orderer.example.com:7050: connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"tlsca.example.com\")"; please retry. Error: Error connecting due to rpc error: code = Internal desc = connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"tlsca.example.com\")" Usage:
感謝。
達成しようとしているステップが何であるかはあまり明確ではありません。あなたの質問にもう少し詳しく説明してください。あなたのセットアップは何ですか、あなたは何をしましたか?より多くの詳細、より多くのチャンスの人々があなたを助けることができます。 –
簡単な例を実行したい 1.ピアを作成して注文する 2.その間に新しいチャンネルを作成する 3. Java SDKと接続する – scala
同じエラーが発生していますが、ピアディレクトリにいます。 – Flea