Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hyperledger fabric 如何使结构ca服务器能够在证书中添加属性_Hyperledger Fabric - Fatal编程技术网

Hyperledger fabric 如何使结构ca服务器能够在证书中添加属性

Hyperledger fabric 如何使结构ca服务器能够在证书中添加属性,hyperledger-fabric,Hyperledger Fabric,在Fabric-ca-server-config.yaml中,我在注册表部分看到以下注释 2) once authenticated, **retrieves the identity's attribute names and # values which the fabric-ca-server optionally puts into TCerts # which it issues for transacting on the Hyperledger Fabric blo

在Fabric-ca-server-config.yaml中,我在注册表部分看到以下注释

2) once authenticated, **retrieves the identity's attribute names and
#     values which the fabric-ca-server optionally puts into TCerts
#     which it issues for transacting on the Hyperledger Fabric blockchain**.
#     These attributes are useful for making access control decisions in
#     chaincode.
我的问题是如何强制ca服务器将这些属性添加到Tcerts?
对于默认设置,生成的证书中不包括角色和属性

尽管结构ca服务器支持将属性放入TCERT(事务证书),但包括SDK的客户端尚不支持使用TCERT。他们目前总是使用电子证书(注册证书)。还有一个jira项目,它也允许将属性放入eCert中。看。您可以通过jira跟踪进度并提出任何其他请求