Skip to content

Commit 1f28523

Browse files
Apply suggestions from code review
Co-authored-by: Karl Erickson <[email protected]>
1 parent 21e5ad5 commit 1f28523

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Before configuring TLS, you need to have a TLS-enabled application and a TLS cer
297297
298298
After you have a TLS-enabled application running in Azure Spring Apps, upload the certificate to Azure Spring Apps. For more information, see [Import a certificate](how-to-use-tls-certificate.md#import-a-certificate).
299299
300-
With the certificate updated to Azure Spring Apps, you can now configure the TLS certificate for the gateway and enable certificate verification. You can configure the certification in the Azure portal or by using Azure CLI.
300+
With the certificate updated to Azure Spring Apps, you can now configure the TLS certificate for the gateway and enable certificate verification. You can configure the certification in the Azure portal or by using the Azure CLI.
301301
302302
#### [Azure portal](#tab/Azure-portal)
303303
@@ -313,11 +313,11 @@ Updating the configuration can take a few minutes. You should get a notification
313313
314314
#### [Azure CLI](#tab/Azure-CLI)
315315
316-
Use the following command to enable (true) or disable (false) a certificate using Azure CLI:
316+
Use the following command to enable or disable certificate verification using the Azure CLI. Be sure to replace the *`<value>`* placeholder with *true* to enable or *false* to disable verification.
317317
318318
```azurecli
319319
az spring gateway update \
320-
--enable-cert-verify <true-false> \
320+
--enable-cert-verify <value> \
321321
--certificate-names <certificate-name-in-Azure-Spring-Apps>
322322
```
323323
@@ -327,7 +327,7 @@ az spring gateway update \
327327
328328
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.
329329
330-
1. Create a file named `test-tls-route.json` with the following content.
330+
1. Create a file named *test-tls-route.json* with the following content.
331331
332332
```json
333333
{
@@ -347,14 +347,14 @@ You must specify the protocol as HTTPS in the route configuration. The following
347347
1. Use the following command to apply the rule to the application:
348348

349349
```azurecli
350-
az spring gateway route-config create \
350+
az spring gateway route-config create \
351351
--name test-tls-app \
352352
--routes-file test-tls-route.json
353353
```
354354

355355
You can now test whether the application is TLS enabled with the endpoint of the gateway. For more information, see the [Configure routes](how-to-use-enterprise-spring-cloud-gateway.md#configure-routes) section of [Use Spring Cloud Gateway](how-to-use-enterprise-spring-cloud-gateway.md).
356356

357-
### Certificate rotation
357+
### Rotate certificates
358358

359359
As certificates expire, new ones need to be generated and synchronized (rotation). You can use the Azure portal or Azure CLI to synchronize certificates.
360360

@@ -363,12 +363,12 @@ As certificates expire, new ones need to be generated and synchronized (rotation
363363
Use the following steps to rotate and synchronize certificates.
364364

365365
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**.
366+
1. On the **Spring Cloud Gateway** page, select **Certificate management**.
367367
1. Select the new certificate in **Certificates**.
368368
1. Select **sync certificate**.
369369
1. Select **Save**.
370370

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":::
371+
:::image type="content" source="media/how-to-configure-enterprise-spring-cloud-gateway/gateway-sync-certificate.png" alt-text="Screenshot of the 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":::
372372

373373
#### [Azure CLI](#tab/Azure-CLI)
374374

0 commit comments

Comments
 (0)