Fabric-ca-server关联在开始时的定义(命令行选项或环境变量)

问题描述 投票:0回答:1

我希望在我的网络中有其他几个组织(例如:5)。我尝试使用环境变量以及内联命令选项设置从属关系(与未知CA进行通信时出现其他404错误),均无效。

即:在docker-compose-e2e-template.yaml中

- FABRIC_CA_SERVER_AFFILIATIONS_ORG4=org4

和即:在docker-compose-e2e-template.yaml中

command: sh -c 'fabric-ca-server start --affiliations org4.department1 -b admin:adminpw'

如何在不启动CA并在CA启动后添加隶属关系定义的情况下实现这一目标?当然,手动操作不是唯一的方法

hyperledger-fabric hyperledger-fabric-ca
1个回答
0
投票

引用FABRIC_CA_SERVER_AFFILIATIONS in environment variables

since affiliations are arbitrary and hierarchical in nature, it is not possible to specify them as environment variables.
© www.soinside.com 2019 - 2024. All rights reserved.