Files
docker-docs/machine/reference/regenerate-certs.md
Sebastiaan van Stijn 26926972ea machine: handle indexing through config
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:32:17 +02:00

1003 B

description, keywords, title
description keywords title
Regenerate and update TLS certificates machine, regenerate-certs, subcommand docker-machine regenerate-certs
Usage: docker-machine regenerate-certs [OPTIONS] [arg...]

Regenerate TLS Certificates for a machine

Description:
   Argument(s) are one or more machine names.

Options:

   --force, -f		Force rebuild and do not prompt
   --client-certs	Also regenerate client certificates and CA.

Regenerate TLS certificates and update the machine with new certs.

For example:

$ docker-machine regenerate-certs dev

Regenerate TLS machine certs?  Warning: this is irreversible. (y/n): y
Regenerating TLS certificates

If your certificates have expired, you'll need to regenerate the client certs as well using the --client-certs option:

$ docker-machine regenerate-certs --client-certs dev

Regenerate TLS machine certs?  Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Regenerating local certificates
...