Skip to content

Commit 9def4be

Browse files
committed
new png, misc edits how-to-configure
1 parent 9761fef commit 9def4be

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

articles/spring-apps/how-to-configure-enterprise-spring-cloud-gateway.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -303,28 +303,29 @@ With the certificate updated to Azure Spring Apps, you can now configure the TLS
303303
304304
Use the following steps to configure the certificate in the Azure portal:
305305
306-
1. In your Azure Spring Apps instance, select **Spring Cloud Gateway** in the navigation page and then select **Certificate management**.
306+
1. In your Azure Spring Apps instance, select **Spring Cloud Gateway** in the navigation pane.
307+
1. On the **Spring Cloud Gateway** page, select **Certificate management**.
307308
1. Select **Enable cert verification**.
308-
1. Select the name of your certificate in **Certificates**.
309+
1. Select the TLS certificate in **Certificates**.
309310
1. Select **Save**.
310311
311312
Updating the configuration can take a few minutes. You should get a notification when the configuration is complete.
312313
313314
#### [Azure CLI](#tab/Azure-CLI)
314315
315-
Use the following command to configure the certificate using Azure CLI:
316+
Use the following command to enable (true) or disable (false) a certificate using Azure CLI:
316317
317318
```azurecli
318319
az spring gateway update \
319-
--enable-cert-verify <true/false> \
320-
--certificate-names <name of certificate in Azure Spring Apps>
320+
--enable-cert-verify <true-false> \
321+
--certificate-names <certificate-name-in-Azure-Spring-Apps>
321322
```
322323
323324
---
324325
325326
### Prepare the route configuration
326327
327-
You must specify the protocol as HTTPS in the route configuration. This specification instructs the gateway to use the HTTPS protocol for all traffic between the gateway and the app.
328+
You must specify the protocol as HTTPS in the route configuration. The following JSON object instructs the gateway to use the HTTPS protocol for all traffic between the gateway and the app.
328329
329330
1. Create a file with the following content and name the file `test-tls-route.json`.
330331
@@ -355,25 +356,30 @@ You can now test whether the application is TLS enabled with the endpoint of the
355356

356357
### Certificate rotation
357358

358-
You can use the Azure portal or Azure CLI to rotate and synchronize certificates.
359+
When a certificate expires, a new one needs to generated and synchronized. You can use the Azure portal or Azure CLI to synchronize certificates.
359360

360361
#### [Azure portal](#tab/Azure-portal)
361362

362-
Use the following steps to synchronize certificates.
363+
Use the following steps to rotate and synchronize certificates.
363364

364-
1. Navigate to your Azure Spring Apps instance.
365-
1. In the navigation pane, select **Apps** and then selection an application.
366-
1. In the navigation pane, select **Certificate Management**.
367-
1. On the **Certificate Management** page, select **sync certificate** to synchronize the certificates.
365+
1. In your Azure Spring Apps instance, select **Spring Cloud Gateway** in the navigation pane.
366+
1. On the **Spring Cloud Gateway** page, **Certificate management**.
367+
1. Select the new certificate in **Certificates**.
368+
1. Select **sync certificate**.
369+
1. Select **Save**.
370+
371+
:::image type="content" source="media/how-to-configure-enterprise-spring-cloud-gateway/gateway-sync-certificate.png" alt-text="Screenshot of Azure portal showing the Spring Cloud Gateway page for an Azure Spring Apps instance with Certificate Management selected and the prompt to sync the certificate highlighted." lightbox="media/how-to-configure-enterprise-spring-cloud-gateway/gateway-sync-certificate.png":::
368372

369373
#### [Azure CLI](#tab/Azure-CLI)
370374

371375
Use the following command to synchronize a certificate.
372376

373377
```azurecli
374-
The gateway will restart after synchronization to ensure that gateway uses the new certificate for all future connections.
378+
az spring gateway sync-cert
375379
```
376380

381+
The gateway will restart after synchronization to ensure that gateway uses the new certificate for all future connections.
382+
377383
---
378384

379385
## Next steps
163 KB
Loading

0 commit comments

Comments
 (0)