Regenerating Docker Machine TLS Certificate

Last Updated on: 21st November 2023, 09:45 am

Yesterday I updated my virtual box which confused my Local by Flywheel setup much. It got stuck in a loop, “Regenerating Docker Machine TLS Certificate ” then “Checking System”.

Here is the solution that worked for me as posted in:

I work on a Mac. If your Local runs on Windows, visit the link above for a modified version.

  • Quit Docker.
  • Open terminal and run:
alias local-docker-machine="/Applications/Local\ by\"
  • Wait for it to run, should only take a moment.
  • Now run:
local-docker-machine stop local-by-flywheel; rm -rf ~/.docker/machine/certs; local-docker-machine create local-cert-gen; local-docker-machine start local-by-flywheel; local-docker-machine regenerate-certs -f local-by-flywheel; local-docker-machine rm -f local-cert-gen;
  • Wait for it to run, should take a few minutes.
  • Afterwards open Local again.

Hope that fixes the problem for you as well.

Leave a Reply

Your email address will not be published. Required fields are marked *

Con Schneider