Docker Private Registry: x509: certificate signed by unknown authority

In case anyone else is having this problem, the solution is:

docker-machine regenerate-certs machine-name

Where machine-name is the name of the machine with bad cert.