docs/ucp/reference/dump-certs.md

1.3 KiB

description keywords menu title
Dump out public certificates
dump-certs, ucp
main
identifier parent
ucp_ref_dump_certs ucp_ref
dump-certs

docker/ucp dump-certs

Dump out the public certs for this UCP controller.

Usage

docker run --rm \
  --name ucp \
  -v /var/run/docker.sock:/var/run/docker.sock \
  docker/ucp \
  dump-certs [command options]

Description

This utility will dump out the public certificates for the UCP controller running on the local engine. This can then be used to populate local certificate trust stores as desired.

When connecting UCP to DTR, use the output of '--cluster --ca' to configure DTR.

Options

Option Description
--debug, -D Enable debug
--jsonlog Produce json formatted output for easier parsing
--ca Dump only the contents of the ca.pem file (default is to dump both ca and cert)
--cluster Dump the internal UCP Cluster Root CA and cert instead of the public server cert