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
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.
328
329
329
330
1. Create a file with the following content and name the file `test-tls-route.json`.
330
331
@@ -355,25 +356,30 @@ You can now test whether the application is TLS enabled with the endpoint of the
355
356
356
357
### Certificate rotation
357
358
358
-
You can use the Azure portal or AzureCLI 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.
359
360
360
361
#### [Azure portal](#tab/Azure-portal)
361
362
362
-
Use the following steps to synchronize certificates.
363
+
Use the following steps to rotate and synchronize certificates.
363
364
364
-
1.Navigate to your AzureSpringApps instance.
365
-
1.In the navigation pane, select **Apps** and then selection an application.
366
-
1.In the navigation pane, select **CertificateManagement**.
367
-
1.On the **CertificateManagement** page, select **sync certificate** to synchronize the certificates.
365
+
1.In your AzureSpringApps instance, select **SpringCloudGateway** in the navigation pane.
366
+
1.On the **SpringCloudGateway** 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":::
368
372
369
373
#### [AzureCLI](#tab/Azure-CLI)
370
374
371
375
Use the following command to synchronize a certificate.
372
376
373
377
```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
375
379
```
376
380
381
+
The gateway will restart after synchronization to ensure that gateway uses the new certificate for all future connections.
0 commit comments