You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-apps/how-to-configure-enterprise-spring-cloud-gateway.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -297,7 +297,7 @@ Before configuring TLS, you need to have a TLS-enabled application and a TLS cer
297
297
298
298
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).
299
299
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.
301
301
302
302
#### [Azure portal](#tab/Azure-portal)
303
303
@@ -313,11 +313,11 @@ Updating the configuration can take a few minutes. You should get a notification
313
313
314
314
#### [Azure CLI](#tab/Azure-CLI)
315
315
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.
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.
329
329
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.
331
331
332
332
```json
333
333
{
@@ -347,14 +347,14 @@ You must specify the protocol as HTTPS in the route configuration. The following
347
347
1.Use the following command to apply the rule to the application:
348
348
349
349
```azurecli
350
-
az spring gateway route-config create \
350
+
az spring gateway route-config create \
351
351
--name test-tls-app \
352
352
--routes-file test-tls-route.json
353
353
```
354
354
355
355
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 [UseSpringCloudGateway](how-to-use-enterprise-spring-cloud-gateway.md).
356
356
357
-
### Certificate rotation
357
+
### Rotate certificates
358
358
359
359
As certificates expire, new ones need to be generated and synchronized (rotation).You can use the Azure portal or AzureCLI to synchronize certificates.
360
360
@@ -363,12 +363,12 @@ As certificates expire, new ones need to be generated and synchronized (rotation
363
363
Use the following steps to rotate and synchronize certificates.
364
364
365
365
1.In your AzureSpringApps instance, select **SpringCloudGateway** in the navigation pane.
366
-
1.On the **SpringCloudGateway** page, **Certificate management**.
366
+
1.On the **SpringCloudGateway** page, select **Certificate management**.
367
367
1.Select the new certificate in **Certificates**.
368
368
1. Select **sync certificate**.
369
369
1. Select **Save**.
370
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":::
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":::
0 commit comments