The fabric-samples
test network setup for fabric-ca-server (found in fabric-samples/test-network/docker/docker-compose-ca.yaml
) initializes the certificate server with
command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
The option -b
is clear in meaning - as shown in the output from --help
and the online copy of that, it's a user/password for bootstrapping the config file. The -d
flag, however, is completely undocumented. What does it do?
This is the flag to enable debug mode; see Deploy Guide, Start the TLS CA server:
The option is defined here as a tag, and parsed here. For unknown reasons, it is set to be hidden from
fabric-ca-server --help
.(h/t @david_k)