首页 > 解决方案 > 八卦跳过握手与双向 TLS

问题描述

我在超级账本结构的余额转移示例中看到,说明以下设置跳过了八卦握手,因为我们没有进行双向 TLS

参考:https ://github.com/hyperledger/fabric-samples/blob/release/balance-transfer/artifacts/base.yaml

# The following setting skips the gossip handshake since we are
# are not doing mutual TLS
- CORE_PEER_GOSSIP_SKIPHANDSHAKE=true

问题:相互 TLS 与跳过握手有什么关系?

标签: hyperledger-fabrichyperledger

解决方案


这是自 v1.1 以来未使用的旧且已弃用的选项。在握手时,如果启用了双向 TLS,gossip 也验证了 TLS 证书,这个选项暂时允许跳过它。现在,它已被弃用,不再使用。


推荐阅读