docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.96k forks source link

Cannot use encrypted CA key when creating #3376

Open LBaali opened 8 years ago

LBaali commented 8 years ago

When using the option --tls-ca-key with my private CA, I get the error :

Error creating machine: Error running provisioning: error generating server cert: crypto/tls: failed to parse private key

as the CA private key is encrypted. Is it possible to ask for the password instead of failing if the key is encrypted ?

docker-machine --version
docker-machine version 0.7.0, build a650a40
dweomer commented 8 years ago

@LBaali I take it this means you have a passphrase, yes? Seems like a reasonable requirement to me.