1
0
mirror of https://github.com/docker/docs.git synced 2026-11-06 12:54:24 +03:00
Files
docs/reference/dump-certs.md
Misty Stanley-Jones 1d0e3c1313 Update UCP CLI reference to match CLI
Fixes #3185

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2016-11-05 21:47:14 -07:00

1021 B

+++ title = "dump-certs" keywords= ["dump-certs, ucp"] description = "Dump out public certificates" [menu.main] parent ="ucp_ref" identifier="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

--debug, -D  Enable debug mode
--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