Skip to content

Commit

Permalink
[FAB-16783] the cryptogen gen admin cert ou error
Browse files Browse the repository at this point in the history
fixed the FAB-16783 bug which the tool cryptogen gen orderer admin cert "ou" not admin but client.

Signed-off-by: Yunfeng Zou <zouyunfeng@peersafe.cn>
Change-Id: I9b87e4b5403de460d0e11402c0ffc388d8909147
  • Loading branch information
zyf7862634 committed Oct 14, 2019
1 parent 81953e5 commit cea596a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/tools/cryptogen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ func generateOrdererOrg(baseDir string, orgSpec OrgSpec) {
generateNodes(orderersDir, orgSpec.Specs, signCA, tlsCA, msp.ORDERER, orgSpec.EnableNodeOUs)

adminUser := NodeSpec{
isAdmin: true,
CommonName: fmt.Sprintf("%s@%s", adminBaseName, orgName),
}

Expand Down

0 comments on commit cea596a

Please sign in to comment.