forked from TrueCloudLab/certificates
Update cas.md
Added `--location` flag to a couple of the commands
This commit is contained in:
parent
7d779e12db
commit
3f55f22b2e
1 changed files with 4 additions and 1 deletions
|
@ -103,6 +103,7 @@ or using `gcloud` CLI:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gcloud beta privateca roots create prod-root-ca \
|
gcloud beta privateca roots create prod-root-ca \
|
||||||
|
--location us-west1 \
|
||||||
--kms-key-version "$KMS_ROOT_KEY_VERSION" \
|
--kms-key-version "$KMS_ROOT_KEY_VERSION" \
|
||||||
--subject "CN=Example Root CA, O=Example LLC" \
|
--subject "CN=Example Root CA, O=Example LLC" \
|
||||||
--max-chain-length 2
|
--max-chain-length 2
|
||||||
|
@ -112,7 +113,9 @@ or using `gcloud` CLI:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gcloud beta privateca subordinates create prod-intermediate-ca \
|
gcloud beta privateca subordinates create prod-intermediate-ca \
|
||||||
--issuer prod-root-ca --issuer-location us-west1 \
|
--location us-west1 \
|
||||||
|
--issuer prod-root-ca \
|
||||||
|
--issuer-location us-west1 \
|
||||||
--kms-key-version "$KMS_INTERMEDIATE_KEY_VERSION" \
|
--kms-key-version "$KMS_INTERMEDIATE_KEY_VERSION" \
|
||||||
--subject "CN=Example Intermediate CA, O=Example LLC" \
|
--subject "CN=Example Intermediate CA, O=Example LLC" \
|
||||||
--reusable-config "subordinate-server-tls-pathlen-0"
|
--reusable-config "subordinate-server-tls-pathlen-0"
|
||||||
|
|
Loading…
Reference in a new issue