Use this command to print the public certificates used by this MKE web server.
This command outputs the public certificates for the MKE web server running on this node. By default, it prints the contents of the ca.pem and cert.pem files.
When integrating MKE and MSR, use this command with the --cluster --ca
flags to configure MSR.
docker container run --rm \
--name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp \
dump-certs [command options]
Option | Description |
---|---|
--debug, -D |
Enable debug mode |
--jsonlog |
Produce json formatted output for easier parsing. |
--ca |
Only print the contents of the ca.pem file. |
--cluster |
Print the internal MKE swarm root CA and cert instead of the public server cert. |