【问题标题】:Getting error while add new organizations in existing Consortium in hyperledger fabric在超级账本结构中的现有联盟中添加新组织时出错
【发布时间】:2021-05-09 04:01:48
【问题描述】:

在超级账本结构中的现有运行网络联盟中添加新组织时出现错误。我已经完成了this link
中提到的所有步骤 但是,当我到达最后一步时,我遇到了错误

Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'syschannel': error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Consortiums not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied

请建议如何解决或提供一些提示。

HLF 网络规范

3 raft-orderer with CA
2 org with 2 peer each with CA 

谢谢

【问题讨论】:

    标签: hyperledger-fabric hyperledger


    【解决方案1】:

    我认为问题在于您的订购者管理员证书没有正确的“ou”。

    首先,您应该检查“Admins”证书是否有正确的“ou”。尝试openssl x509 -text -in crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts/Admin@example.com-cert.pem 获取管理员证书的详细信息。

    如果你得到这样的细节:

        Issuer: C=US, ST=California, L=San Francisco, O=example.com, CN=ca.example.com
        Validity
            Not Before: Feb  9 08:53:00 2021 GMT
            Not After : Feb  7 08:53:00 2031 GMT
        Subject: C=US, ST=California, L=San Francisco, OU=client, CN=Admin@example.com
    

    OU 女巫应该是管理员,但这里是客户。

    此问题发生在 v1.4.3 及之前版本,已在 this link 中修复。

    解决此问题的一种方法是删除crypto-config.yaml: OrdererOrgs 中的EnableNodeOUs: true,然后重试所有步骤。另一种解决方案是使用cryptogen v1.4.4 及以上版本。

    【讨论】:

      猜你喜欢
      • 2018-03-14
      • 1970-01-01
      • 2018-09-30
      • 1970-01-01
      • 1970-01-01
      • 2021-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多