如何在 Hyperledger Composer 中从 CA 获取身份证书
How to get certificates for identities from CA in Hyperledger Composer
当按照 here 的文档在 Hyperledger Composer 中发布身份时,他们说:
The Hyperledger Fabric certificate authority generates an enrollment secret that can be given to the participant, who can then use the enrollment secret to request their enrollment certificate and private keys from the Hyperledger Fabric certificate authority.
我已成功颁发身份并获得注册密码。但是,不清楚如何向 CA 申请证书。
有人能帮忙吗?
该说明并不完全清楚,需要对其进行更改。
商业网络卡是连接到 Composer 商业网络的最终方式,其中的一个组成部分是您发布的身份(并且映射到 Composer 的参与者)——它只能访问Composer 业务网络,通过有效的业务网络卡。它由一个连接配置文件、使用它的身份的一些元数据以及最终的一组凭据(certificate/private 密钥组成,这些密钥会自动填充到用户的钱包中,从那里它被用来 'connect' - 一个'ping' 也是一个连接)。仅供参考,一个身份(链接到 Composer 的参与者)可以有一张或多张卡片(每张卡片连接到一个或多个业务网络)。
您需要阅读的文档是 https://hyperledger.github.io/composer/latest/reference/composer.identity.issue.html
你会看到它有一个 -f 标志来创建一个卡片文件——这是你导入的文件(例如使用 Composer Playground 导入或 composer card import -f
)。如果您已从 CLI 完成导入,请执行 composer network ping
以便它将使用一次性注册密码从 CA 服务器请求 certificate/key,然后将其存储在用户的钱包中$HOME/.composer - 该卡应该可以使用命令 composer card list
列出
当按照 here 的文档在 Hyperledger Composer 中发布身份时,他们说:
The Hyperledger Fabric certificate authority generates an enrollment secret that can be given to the participant, who can then use the enrollment secret to request their enrollment certificate and private keys from the Hyperledger Fabric certificate authority.
我已成功颁发身份并获得注册密码。但是,不清楚如何向 CA 申请证书。
有人能帮忙吗?
该说明并不完全清楚,需要对其进行更改。
商业网络卡是连接到 Composer 商业网络的最终方式,其中的一个组成部分是您发布的身份(并且映射到 Composer 的参与者)——它只能访问Composer 业务网络,通过有效的业务网络卡。它由一个连接配置文件、使用它的身份的一些元数据以及最终的一组凭据(certificate/private 密钥组成,这些密钥会自动填充到用户的钱包中,从那里它被用来 'connect' - 一个'ping' 也是一个连接)。仅供参考,一个身份(链接到 Composer 的参与者)可以有一张或多张卡片(每张卡片连接到一个或多个业务网络)。
您需要阅读的文档是 https://hyperledger.github.io/composer/latest/reference/composer.identity.issue.html
你会看到它有一个 -f 标志来创建一个卡片文件——这是你导入的文件(例如使用 Composer Playground 导入或 composer card import -f
)。如果您已从 CLI 完成导入,请执行 composer network ping
以便它将使用一次性注册密码从 CA 服务器请求 certificate/key,然后将其存储在用户的钱包中$HOME/.composer - 该卡应该可以使用命令 composer card list