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
...

machine, regenerate-certs, subcommand

© 2019 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/v17.12/machine/reference/regenerate-certs/