dump-certs

The dump-certs command prints the public certificates used by the MKE web server. Specifically, the command produces public certificates for the MKE web server running on the specified node. By default, it prints the contents of the ca.pem and cert.pem files.

Integrating MKE and MSR requires that you use this command with the --cluster --ca flags to configure MSR.


To use the dump-certs command:

docker container run --rm \
  --name ucp \
  -v /var/run/docker.sock:/var/run/docker.sock \
  mirantis/ucp:3.x.y \
  dump-certs <command-options>

Options

Option

Description

--debug, -D

Enables debug mode.

--jsonlog

Produces JSON-formatted output for easier parsing.

--ca

Prints only the contents of the ca.pem file.

--cluster

Prints the internal MKE swarm root CA and certificate instead of the public server certificate.

--etcd

Prints the etcd server certificate. By default, the option prints the contents of both the ca.pem and cert.pem files. You can, though, print only the contents of ca.pem by using the option in conjunction with the --ca option.