Skip to content

Commit 20c0a0b

Browse files
Merge pull request #288999 from yutanglin16/patch-42
Add Client Cert info
2 parents 48015d4 + e4ff85c commit 20c0a0b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

articles/app-service/app-service-web-configure-tls-mutual-auth.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ ms.custom: devx-track-csharp, devx-track-extended-java, devx-track-js, devx-trac
1515
You can restrict access to your Azure App Service app by enabling different types of authentication for it. One way to do it is to request a client certificate when the client request is over TLS/SSL and validate the certificate. This mechanism is called TLS mutual authentication or client certificate authentication. This article shows how to set up your app to use client certificate authentication.
1616

1717
> [!NOTE]
18+
> Your app code is responsible for validating the client certificate. App Service doesn't do anything with this client certificate other than forwarding it to your app.
19+
>
1820
> If you access your site over HTTP and not HTTPS, you will not receive any client certificate. So if your application requires client certificates, you should not allow requests to your application over HTTP.
19-
>
2021
2122
[!INCLUDE [Prepare your web app](../../includes/app-service-ssl-prepare-app.md)]
2223

@@ -26,7 +27,13 @@ To set up your app to require client certificates:
2627

2728
1. From the left navigation of your app's management page, select **Configuration** > **General Settings**.
2829

29-
1. Set **Client certificate mode** to **Require**. Select **Save** at the top of the page.
30+
1. Select **Client certificate mode** of choice. Select **Save** at the top of the page.
31+
32+
|Client certificate modes|Description|
33+
|-|-|
34+
|Required|All requests require a client certificate.|
35+
|Optional|Requests may or may not use a client certificate. Clients will be prompted for a certificate by default. For example, browser clients will show a prompt to select a certificate for authentication.|
36+
|Optional Interactive User|Requests may or may not use a client certificate. Clients will not be prompted for a certificate by default. For example, browser clients will not show a prompt to select a certificate for authentication.|
3037

3138
### [Azure CLI](#tab/azurecli)
3239
To do the same with Azure CLI, run the following command in the [Cloud Shell](https://shell.azure.com):

0 commit comments

Comments
 (0)