website: more docs on getting the key

This commit is contained in:
Mitchell Hashimoto 2013-12-12 21:52:25 -08:00
parent b676058144
commit 7f140cdf9c
1 changed files with 11 additions and 2 deletions

View File

@ -38,8 +38,17 @@ Follow the steps below:
a private key. Note the password for the private key! This private key
is your _client private key_.
These two files you downloaded are necessary for Packer to talk to
Google Compute Engine.
Finally, one last step, you'll have to convert the `p12` file you
got from Google into the PEM format. You can do this with OpenSSL, which
is installed standard on most Unixes:
```
$ openssl pkcs12 -in <path to .p12> -nocerts -passin pass:notasecret \
-nodes -out private_key.pem
```
The client secrets JSON you downloaded along with the new "private\_key.pem"
file are the two files you need to configure Packer with to talk to GCE.
## Basic Example