Skip to content

Commit 4872175

Browse files
authored
chore(docs): Add mTLS verification to Istio deployment docs [skip ci]
1 parent b022c54 commit 4872175

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

docs/istio-deployment.markdown

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Keyfactor EJBCA must be configured with an active CA and a certificate profile t
3838

3939
## 1. Deploy the EJBCA K8s CSR Signer
4040

41-
Follow the steps in the [Getting Started](getting-started.markdown) guide to build the container image and prepare the credentials and configuration.
41+
Follow the steps in the [Getting Started](getting-started.markdown) guide to build the container image and prepare the credentials and configuration. The `chainDepth` field in the `ejbca-signer-config.yaml` can be set to `1` since the CA chain will be provided to Istio via the IstioOperator.
4242

4343
## 2. Prepare Istio
4444

@@ -199,8 +199,12 @@ Istio must not already be installed in your cluster, since modification of the I
199199
kubectl -n bookinfo exec "$(kubectl -n bookinfo get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage
200200
```
201201
202+
Observe the mTLS certificate and chain.
203+
```shell
204+
kubectl -n bookinfo exec "$(kubectl -n bookinfo get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c istio-proxy -- openssl s_client -showcerts -connect productpage.bookinfo:9080
205+
```
202206
203-
5. Apply the Istio Gateway and VirtualService to expose the Bookinfo application.
207+
6. Apply the Istio Gateway and VirtualService to expose the Bookinfo application.
204208
205209
```shell
206210
kubectl -n bookinfo apply -f https://raw.githubusercontent.com/istio/istio/master/samples/bookinfo/networking/bookinfo-gateway.yaml
@@ -212,7 +216,7 @@ Istio must not already be installed in your cluster, since modification of the I
212216
kubectl get gateway -n bookinfo
213217
```
214218
215-
6. Determine the Ingress IP and Port of the Istio Gateway.
219+
7. Determine the Ingress IP and Port of the Istio Gateway.
216220
217221
```shell
218222
export INGRESS_HOST=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
@@ -223,9 +227,9 @@ Istio must not already be installed in your cluster, since modification of the I
223227
export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT
224228
```
225229
226-
7. Confirm that the Bookinfo application is running.
230+
8. Confirm that the Bookinfo application is running.
227231
228232
```shell
229233
curl -s http://${GATEWAY_URL}/productpage | grep -o "<title>.*</title>"
230234
echo "http://${GATEWAY_URL}/productpage"
231-
```
235+
```

0 commit comments

Comments
 (0)