hyperledger / hyperledger/fabric
configtxgen: Marshal called with nil - when certificate in msp/cacerts is missing
Open
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
Assessment
This issue has not been assessed yet.