From 4eea8a96bf4e7eae40be7cce115761eb6b04ed75 Mon Sep 17 00:00:00 2001 From: Gari Singh Date: Sun, 25 Feb 2018 05:49:57 -0500 Subject: [PATCH] [FAB-8516] cryptogen NodeOUs should match fabric-ca 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 --- common/tools/cryptogen/msp/generator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/tools/cryptogen/msp/generator.go b/common/tools/cryptogen/msp/generator.go index fccb165eeaa..6e552d97797 100644 --- a/common/tools/cryptogen/msp/generator.go +++ b/common/tools/cryptogen/msp/generator.go @@ -28,8 +28,8 @@ const ( ) const ( - CLIENTOU = "FabricClient" - PEEROU = "FabricPeer" + CLIENTOU = "client" + PEEROU = "peer" ) var nodeOUMap = map[int]string{