tls模式配置
来源:互联网 发布:em算法推导 编辑:程序博客网 时间:2024/06/18 11:16
fabric1.0 tls模式配置
由于tls模式需要域名,目前可以通过修改hosts的形式来进行配置。
修改HOSTS文件
docker-compose文件中添加相关的extra_hosts
extra_hosts:
- “peer1.org1.example.com: 192.168.9.1”
- “orderer0.example.com: 192.168.9.2”
- “orderer1.example.com: 192.168.9.3”
peer节点所在宿主机修改hosts文件,这个是因为chaincode容器是host模式
echo 0.0.0.0 peer0.org1.example.com >> /etc/hosts
注意各个地方都要用域名形式
configtx.yaml中orderer地址要用域名
Addresses:
- orderer0.example.com:7050
- orderer1.example.com:7050
peer节点配置相关Address的时候需要用域名的形式
environment:
- CORE_PEER_ADDRESS=peer0.org1.example.com:7051
- CORE_PEER_CHAINCODELISTENADDRESS=peer0.org1.example.com:7052
阅读全文
0 0
- tls模式配置
- SSL/TLS服务器配置
- TLS 配置和使用
- 配置OpenLDAP使用TLS通讯
- openfire connection manager tls 配置
- docker swarm集群TLS配置
- Kubernetes双向TLS配置-Centos7
- Tomcat SSL / TLS (HTTPS) 配置
- Ubuntu 16.04 TLS Samba配置
- TLS
- TLS
- TLS
- TLS
- TLS
- TLS
- TLS
- TLS
- tls
- 文章标题
- JDBC总结
- Windows下QT中用C++调用Python之一
- 泛型委托学习进程
- Javascript高级程序设计(BOM)
- tls模式配置
- jq ajax请求
- 聪聪可可
- vs启动错误:Exception Processing Message 0xc0000005 Parameters...
- mysql子查询总结
- TypeScript简单的日期和计时器工具类
- 文章标题
- 1014. 福尔摩斯的约会 (20)
- 剑指offer—数值的整数次方