mirror of https://github.com/istio/istio.io.git
Error in Secure Gateways (SDS) extra <angle brackets> (#4930)
* Fix bash: syntax error near unexpected token * Use <password> throughout * Add angle brackets for single-backticked 'password'
This commit is contained in:
parent
91c93a39b3
commit
71145ac443
|
@ -307,7 +307,7 @@ TLS origination.
|
|||
Use any password with the following command:
|
||||
|
||||
{{< text bash >}}
|
||||
$ ./generate.sh nginx.example.com password
|
||||
$ ./generate.sh nginx.example.com <password>
|
||||
{{< /text >}}
|
||||
|
||||
Select `y` for all prompts that appear.
|
||||
|
|
|
@ -35,7 +35,7 @@ Generate the certificates and keys in the same way as in the [Securing Gateways
|
|||
Use any password with the following command:
|
||||
|
||||
{{< text bash >}}
|
||||
$ ./generate.sh nginx.example.com password
|
||||
$ ./generate.sh nginx.example.com <password>
|
||||
{{< /text >}}
|
||||
|
||||
When prompted, select `y` for all the questions.
|
||||
|
|
|
@ -50,10 +50,10 @@ from the <https://github.com/nicholasjackson/mtls-go-example> repository.
|
|||
$ pushd mtls-go-example
|
||||
{{< /text >}}
|
||||
|
||||
1. Generate the certificates for `httpbin.example.com`. Change `password` to any value you like in the following command:
|
||||
1. Generate the certificates for `httpbin.example.com`. Change `<password>` to any value you like in the following command:
|
||||
|
||||
{{< text bash >}}
|
||||
$ ./generate.sh httpbin.example.com password
|
||||
$ ./generate.sh httpbin.example.com <password>
|
||||
{{< /text >}}
|
||||
|
||||
When prompted, select `y` for all the questions. The command will generate four directories: `1_root`,
|
||||
|
@ -314,10 +314,10 @@ only this time for host `bookinfo.com` instead of `httpbin.example.com`.
|
|||
$ pushd mtls-go-example
|
||||
{{< /text >}}
|
||||
|
||||
1. Generate the certificates for `bookinfo.com`. Change `password` to any value you like in the following command:
|
||||
1. Generate the certificates for `bookinfo.com`. Change `<password>` to any value you like in the following command:
|
||||
|
||||
{{< text bash >}}
|
||||
$ ./generate.sh bookinfo.com password
|
||||
$ ./generate.sh bookinfo.com <password>
|
||||
{{< /text >}}
|
||||
|
||||
When prompted, select `y` for all the questions.
|
||||
|
|
|
@ -58,11 +58,11 @@ from the <https://github.com/nicholasjackson/mtls-go-example> repository.
|
|||
$ pushd mtls-go-example
|
||||
{{< /text >}}
|
||||
|
||||
1. Generate the certificates for `httpbin.example.com`. Replace `password` with
|
||||
1. Generate the certificates for `httpbin.example.com`. Replace `<password>` with
|
||||
any value in the following command:
|
||||
|
||||
{{< text bash >}}
|
||||
$ ./generate.sh httpbin.example.com password
|
||||
$ ./generate.sh httpbin.example.com <password>
|
||||
{{< /text >}}
|
||||
|
||||
When prompted, answer `y` to all the questions. The command generates
|
||||
|
|
|
@ -287,7 +287,7 @@ $ kubectl delete destinationrule egressgateway-for-cnn
|
|||
1. 为 `nginx.example.com` 生成证书,注意用密码替换下面的 `password`:
|
||||
|
||||
{{< text bash >}}
|
||||
$ ./generate.sh nginx.example.com password
|
||||
$ ./generate.sh nginx.example.com <password>
|
||||
{{< /text >}}
|
||||
|
||||
所有提示都输入 `y`。
|
||||
|
|
|
@ -33,7 +33,7 @@ aliases:
|
|||
1. 为 `nginx.example.com` 生成证书。使用以下命令的任何密码:
|
||||
|
||||
{{< text bash >}}
|
||||
$ ./generate.sh nginx.example.com password
|
||||
$ ./generate.sh nginx.example.com <password>
|
||||
{{< /text >}}
|
||||
|
||||
遇见所有的问题请输入 `y` 来回答。
|
||||
|
|
|
@ -39,7 +39,7 @@ keywords: [traffic-management,ingress,sds-credentials]
|
|||
1. 为 `httpbin.example.com` 生成证书。注意要把下面命令中的 `password` 替换为其它值。
|
||||
|
||||
{{< text bash >}}
|
||||
$ ./generate.sh httpbin.example.com password
|
||||
$ ./generate.sh httpbin.example.com <password>
|
||||
{{< /text >}}
|
||||
|
||||
看到提示后,所有问题都输入 `Y` 即可。这个命令会生成四个目录:`1_root`、`2_intermediate`、`3_application` 以及 `4_client`。这些目录中包含了后续过程所需的客户端和服务端证书。
|
||||
|
|
Loading…
Reference in New Issue