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
@@ -49,7 +49,7 @@ The following ARM template example configures ingress to require a client certif
49
49
50
50
Before you run the following commands, make sure to replace the placeholders surrounded by `<>` with your own values.
51
51
52
-
Get the ARM ID of your container app:
52
+
Get the Azure Resource Manager (ARM) ID of your container app:
53
53
54
54
```bash
55
55
APP_ID=$(az containerapp show \
@@ -79,18 +79,28 @@ az rest \
79
79
> [!NOTE]
80
80
> Be sure to use a valid and stable API version that supports this feature. For example, replace <API_VERSION> in the command with 2025-01-01 or another supported version.
81
81
82
+
## Client certificate mode and header format
83
+
82
84
The value for `clientCertificateMode` varies what you need to provide for Container Apps to manage your certificate:
83
85
- When `require` is set, the client must provide a certificate.
84
86
- When `accept` is set, the certificate is optional. If the client provides a certificate, it passes to the app in the `X-Forwarded-Client-Cert` header, as a semicolon-separated list.
85
87
86
-
For example:
88
+
### Example `X-Forwarded-Client-Cert` header value
87
89
88
-
Before you use the following example, make sure to replace the placeholders surrounded by `<>` with your own values.
90
+
The following example is a sample value of the `X-Forwarded-Client-Cert` header that your app might receive:
|`Hash`| The SHA-256 thumbprint of the client certificate. | Use the thumbprint to identify or validate the client certificate. |
100
+
|`Cert`| The base64-encoded client certificate in PEM format (single certificate). | Parse the certificate to inspect metadata such as subject and issuer. |
101
+
|`Chain`| One or more PEM-encoded intermediate certificates. | Provide the intermediate certificates when building a full trust chain for validation. |
0 commit comments