website: more docs on getting the key
This commit is contained in:
parent
b676058144
commit
7f140cdf9c
|
@ -38,8 +38,17 @@ Follow the steps below:
|
||||||
a private key. Note the password for the private key! This private key
|
a private key. Note the password for the private key! This private key
|
||||||
is your _client private key_.
|
is your _client private key_.
|
||||||
|
|
||||||
These two files you downloaded are necessary for Packer to talk to
|
Finally, one last step, you'll have to convert the `p12` file you
|
||||||
Google Compute Engine.
|
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
|
## Basic Example
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue