Search code examples
hyperledger-fabrichyperledger-fabric-ca

fabric-ca-client command line option for Subject Alternative Name


Using fabric-ca-client to generate a CSR, how do I declare a Subject Alternative Name with the CLI?


Solution

  • Use the --csr.hosts flag when calling the enroll command. It takes a comma-separated list of strings.