Files
docker-docs/machine/reference/regenerate-certs.md
Sebastiaan van Stijn 19c6cb8f1c Markdown: fix some code-hints
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-17 14:50:31 +01:00

1.0 KiB

description, keywords, title, hide_from_sitemap
description keywords title hide_from_sitemap
Regenerate and update TLS certificates machine, regenerate-certs, subcommand docker-machine regenerate-certs true
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
...