结构 1.4:握手失败,出现致命错误 SSL_ERROR_SSL:错误:1408F10B:SSL 例程:SSL3_GET



我知道这可能是重复的问题。我没有找到有效的答案。这里能有什么问题。

我正在尝试使用客户端应用程序连接到我的交换矩阵网络。在我当前的配置中,管理员和用户注册成功。但是每当我尝试在我的 peer0 中查询时,它都会显示此错误。

我的节点版本是 8.9.12 .

ccpPath path: /home/hypuser/fabric-samples/servicebook-fabric/connection.json
Wallet path: /home/hypuser/fabric-samples/servicebook-fabric/wallet
E0930 03:49:55.417145688    5824 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
E0930 03:49:55.418689495    5824 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
E0930 03:49:56.416984736    5824 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
E0930 03:49:56.418080418    5824 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
E0930 03:49:58.103991314    5824 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
E0930 03:49:58.105143769    5824 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
2019-09-30T10:49:58.414Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051
2019-09-30T10:49:58.416Z - error: [Channel.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051
2019-09-30T10:49:58.416Z - error: [Network]: _initializeInternalChannel: Unable to initialize channel. Attempted to contact 1 Peers. Last error was Error: Failed to connect before the deadline URL:grpcs://localhost:7051
Failed to evaluate transaction: Error: Unable to initialize channel. Attempted to contact 1 Peers. Last error was Error: Failed to connect before the deadline URL:grpcs://localhost:7051

未为排序者和对等方启用 TLS。我已经通过将CORE_PEER_TLS_ENABLED启用为true来解决问题

同辈:-

# TLS settings
- CORE_PEER_TLS_ENABLED=true

奥德勒:-

# TLS settings
- ORDERER_GENERAL_TLS_ENABLED=true

最新更新