Created
July 9, 2015 08:19
-
-
Save alexei-led/3673baea4fcfff01b66f to your computer and use it in GitHub Desktop.
Fix boot2docker TSL error: "...certificate is valid for 127.0.0.1, 10.0.2.15, not ..." for IP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SSH to Boot2Docker with `boot2docker ssh` | |
# add your IP to command bellow, run this command as superuser | |
/usr/local/bin/generate_cert --host=boot2docker,127.0.0.1,10.0.2.15,192.168.59.103 --ca=/var/lib/boot2docker/tls/ca.pem --ca-key=/var/lib/boot2docker/tls/cakey.pem --cert=/var/lib/boot2docker/tls/server.pem --key=/var/lib/boot2docker/tls/serverkey.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment