Skip to content

Commit

Permalink
[FAB-8516] cryptogen NodeOUs should match fabric-ca
Browse files Browse the repository at this point in the history
cryptogen generates the following NodeOUs (when
enabled):
OU=FabricClient
OU=FabricPeer

fabric-ca generates:
OU=client
OU=peer

This causes issues if you try to bootstrap a
network with cryptogen and then enroll clients
with fabric-ca.

It's trivial to make cryptogen use the same
OUs as fabric-ca.

Change-Id: I817f5e034822cfb1b6ce6bf5635a5e19fe6b74ba
Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
  • Loading branch information
mastersingh24 committed Feb 25, 2018
1 parent 271dea5 commit 4eea8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/tools/cryptogen/msp/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const (
)

const (
CLIENTOU = "FabricClient"
PEEROU = "FabricPeer"
CLIENTOU = "client"
PEEROU = "peer"
)

var nodeOUMap = map[int]string{
Expand Down

0 comments on commit 4eea8a9

Please sign in to comment.