hyperledger / hyperledger/fabric

configtxgen: Marshal called with nil - when certificate in msp/cacerts is missing

Open
#5,049 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
16.7k
Forks
9.1k
Avg merge
5h 38m
Merged PRs (30d)
26

Description

### Description

When "MSPDir"-parameter in configtx.yaml is definied and all certificates available but the ca-cert.pem in the cacerts subdirectory, then an unspecified error occurs: proto: Marshal called with nil

Of course, this is a missconfiguration of the CA, but the inexistance of a file can be better reported to find the error.

### Steps to reproduce

Move the ca-cert.pem from msp/cacerts directory to somewhere else.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.