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/application-gateway/application-gateway-key-vault-common-errors.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,21 +5,21 @@ description: This article identifies key vault-related problems, and helps you r
5
5
author: jaesoni
6
6
ms.service: application-gateway
7
7
ms.topic: reference
8
-
ms.date: 07/12/2021
8
+
ms.date: 07/26/2022
9
9
ms.author: jaysoni
10
10
11
11
---
12
12
13
13
# Common key vault errors in Azure Application Gateway
14
14
15
-
Application Gateway enables customers to securely store TLS certificates in Azure Key Vault. When using a key vault resource, it is important that the gateway always has access to the linked key vault. If your Application Gateway is unable to fetch the certificate, the associated HTTPS listeners will be placed in a disabled state. [Learn more](../application-gateway/disabled-listeners.md).
15
+
Application Gateway enables customers to securely store TLS certificates in Azure Key Vault. When using a key vault resource, it's important that the gateway always has access to the linked key vault. If your Application Gateway is unable to fetch the certificate, the associated HTTPS listeners will be placed in a disabled state. [Learn more](../application-gateway/disabled-listeners.md).
16
16
17
17
This article helps you understand the details of the error codes and the steps to resolve such key vault misconfigurations.
18
18
19
19
> [!TIP]
20
20
> Use a secret identifier that doesn't specify a version. This way, Azure Application Gateway will automatically rotate the certificate, if a newer version is available in Azure Key Vault. An example of a secret URI without a version is: `https://myvault.vault.azure.net/secrets/mysecret/`.
21
21
22
-
## List of error codes and their details
22
+
## Azure Advisor error codes
23
23
24
24
The following sections describe the various errors you might encounter. You can verify if your gateway has any such problem by visiting [**Azure Advisor**](./key-vault-certs.md#investigating-and-resolving-key-vault-errors) for your account, and use this troubleshooting article to fix the problem. We recommend configuring Azure Advisor alerts to stay informed when a key vault problem is detected for your gateway.
25
25
@@ -48,11 +48,11 @@ For more information, see [Assign a Key Vault access policy by using the Azure p
48
48
1. Go to the linked key vault in the Azure portal.
49
49
1. Open the **Access policies** blade.
50
50
1. For **Permission model**, select **Azure role-based access control**.
51
-
1.After this, navigate to **Access Control (IAM)** blade to configure permissions.
51
+
1.Navigate to **Access Control (IAM)** blade to configure permissions.
52
52
1.**Add role assignment** for your managed identity by choosing the following<br>
53
53
a. **Role**: Key Vault Secrets User<br>
54
54
b. **Assign access to**: Managed identity<br>
55
-
c. **Members**: select the user-assigned managed identity which you've associated with your application gateway.<br>
55
+
c. **Members**: select the user-assigned managed identity that you've associated with your application gateway.<br>
56
56
1. Select **Review + assign**.
57
57
58
58
For more information, see [Azure role-based access control in Key Vault](../key-vault/general/rbac-guide.md).
@@ -83,7 +83,7 @@ For more information, see [Azure role-based access control in Key Vault](../key-
83
83
1. Open the **Certificates** pane.
84
84
1. Use the **Managed deleted certificates** tab to recover a deleted certificate.
85
85
86
-
On the other hand, if a certificate object is permanently deleted, you will need to create a new certificate and update Application Gateway with the new certificate details. When you're configuring through the Azure CLI or Azure PowerShell, use a secret identifier URI without a version. This choice allows instances to retrieve a renewed version of the certificate, if it exists.
86
+
On the other hand, if a certificate object is permanently deleted, you'll need to create a new certificate and update Application Gateway with the new certificate details. When you're configuring through the Azure CLI or Azure PowerShell, use a secret identifier URI without a version. This choice allows instances to retrieve a renewed version of the certificate, if it exists.
87
87
88
88
:::image type="content" source="./media/application-gateway-key-vault-common-errors/secret-deleted.png" alt-text="Screenshot that shows how to recover a deleted certificate in Key Vault.":::
89
89
@@ -101,7 +101,7 @@ On the other hand, if a certificate object is permanently deleted, you will need
101
101
102
102
**Description:** There's a restricted network setting for Key Vault.
103
103
104
-
**Resolution:** You will encounter this error when you enable the Key Vault firewall for restricted access. You can still configure Application Gateway in a restricted network of Key Vault, by following these steps:
104
+
**Resolution:** You'll encounter this error when you enable the Key Vault firewall for restricted access. You can still configure Application Gateway in a restricted network of Key Vault, by following these steps:
105
105
1. In Key Vault, open the **Networking** pane.
106
106
1. Select the **Firewalls and virtual networks** tab, and select **Private endpoint and selected networks**.
107
107
1. Then, using Virtual Networks, add your Application Gateway's virtual network and subnet. During the process, also configure 'Microsoft.KeyVault' service endpoint by selecting its checkbox.
@@ -128,12 +128,12 @@ Select **Managed deleted vaults**. From here, you can find the deleted Key Vault
128
128
129
129
**Resolution:** Your Azure subscription can get disabled for various reasons. To take the necessary action to resolve, see [Reactivating a disabled Azure subscription](../cost-management-billing/manage/subscription-disabled.md).
**Description:** You may encounter this error when trying to update a listener certificate. When this error occurs, the change to update the certificate will be discarded and the listener will continue to handle traffic with the previously defined configuration.
134
+
**Description:** You may encounter this error when trying to update a listener certificate. When this error occurs, the change to update the certificate will be discarded, and the listener will continue to handle traffic with the previously defined configuration.
135
135
136
-
**Resolution:** To resolve this issue please try uploading the certificate again. For example, the following PowerShell commands may be used to update certificates uploaded to Application Gateway or referenced via Azure Key Vault.
136
+
**Resolution:** To resolve this issue, please try uploading the certificate again. For example, the following PowerShell commands may be used to update certificates uploaded to Application Gateway or referenced via Azure Key Vault.
137
137
138
138
Update certificate uploaded directly to Application Gateway:
0 commit comments