Skip to content

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

Open
@Jenziner

Description

@Jenziner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions