|
1 | 1 | ---
|
2 |
| -title: 'User VPN client configuration: certificate authentication - Windows' |
| 2 | +title: 'Configure User VPN clients: certificate authentication: Azure VPN client: Windows' |
3 | 3 | titleSuffix: Azure Virtual WAN
|
4 |
| -description: Learn how to configure VPN clients on Windows computers for User VPN connections that use certificate authentication. |
| 4 | +description: Learn how to configure the Azure VPN Client on a Windows operating system for P2S configurations that use certificate authentication. |
5 | 5 | author: cherylmc
|
6 | 6 | ms.service: azure-virtual-wan
|
7 | 7 | ms.topic: how-to
|
8 |
| -ms.date: 02/04/2025 |
| 8 | +ms.date: 02/07/2025 |
9 | 9 | ms.author: cherylmc
|
10 | 10 | ---
|
11 | 11 |
|
12 |
| -# User VPN (P2S) client configuration - certificate authentication - Windows |
| 12 | +# Configure Azure VPN Client for User VPN P2S certificate authentication connections - Windows |
13 | 13 |
|
14 |
| -This article helps you configure Virtual WAN User VPN clients on a Windows operating system for P2S configurations that use certificate authentication. When you connect to Virtual WAN using User VPN (P2S) and certificate authentication, you can use the VPN client that is natively installed on the operating system from which you’re connecting. If you use the tunnel type OpenVPN, you also have the additional options of using the Azure VPN Client or OpenVPN client software. All of the necessary configuration settings for the VPN clients are contained in a VPN client configuration zip file. The settings in the zip file help you easily configure VPN clients. |
15 |
| - |
16 |
| -The VPN client configuration files that you generate are specific to the P2S User VPN gateway configuration. If there are any changes to the P2S VPN configuration after you generate the files, such as changes to the VPN protocol type or authentication type, you need to generate new VPN client configuration files and apply the new configuration to all of the VPN clients that you want to connect. |
| 14 | +If your User VPN point-to-site (P2S) VPN gateway is configured to use OpenVPN and certificate authentication, you can connect to your virtual network using the Azure VPN Client. This article walks you through the steps to configure the **Azure VPN Client** and connect to your virtual network. |
17 | 15 |
|
18 | 16 | This article applies to Windows operating system clients. For more information about other VPN client configuration articles, see the following table:
|
19 | 17 |
|
20 |
| -[!INCLUDE [P2S client configuration articles](../../includes/virtual-wan-vpn-client-install-articles.md)] |
21 |
| - |
22 |
| -## <a name="generate"></a>Before you begin |
23 |
| - |
24 |
| -Before beginning, make sure you've configured a virtual WAN according to the steps in the [Create User VPN point-to-site connections](virtual-wan-point-to-site-portal.md) article. Your User VPN configuration must use certificate authentication. |
25 |
| - |
26 |
| -## <a name="certificates"></a>1. Install client certificates |
| 18 | +## Before you begin |
27 | 19 |
|
28 |
| -When your User VPN configuration settings are configured for certificate authentication, in order to authenticate, a client certificate must be installed on each connecting client computer. Later in this article, you specify the client certificate(s) that you install in this section. The client certificate that you install must have been exported with its private key, and must contain all certificates in the certification path. |
29 |
| - |
30 |
| -* For steps to generate a client certificate, see [Generate and export certificates](certificates-point-to-site.md#clientcert). |
31 |
| - |
32 |
| -* For steps to install a client certificate see [Install client certificates](install-client-certificates.md). |
| 20 | +Before beginning client configuration steps, verify that you're on the correct VPN client configuration article. The following table shows the configuration articles available for Virtual WAN point-to-site VPN clients. Steps differ, depending on the authentication type, tunnel type, and the client OS. |
33 | 21 |
|
34 |
| -* To view an installed client certificate, open **Manage User Certificates**. The client certificate is installed in **Current User\Personal\Certificates**. |
35 |
| - |
36 |
| -## <a name="generate"></a>2. Generate VPN client profile configuration files |
37 |
| - |
38 |
| -The files contained in the profile configuration package are used to configure the VPN client and are specific to the User VPN configuration. You can generate VPN client profile configuration files using PowerShell, or by using the Azure portal. Either method returns the same zip file. |
39 |
| - |
40 |
| -After you configure the Azure VPN Client, if you later update or change the User VPN configuration (change tunnel type, add or remove/revoke certificates, etc.), you must generate a new VPN client profile configuration package and use it to reconfigure connecting Azure VPN clients. |
| 22 | +[!INCLUDE [P2S client configuration articles](../../includes/virtual-wan-vpn-client-install-articles.md)] |
41 | 23 |
|
42 |
| -To generate a VPN client profile configuration package, see [Generate VPN client configuration files](virtual-wan-point-to-site-portal.md#p2sconfig). |
| 24 | +### Prerequisites |
43 | 25 |
|
44 |
| -After you generate the client profile configuration package, use the instructions below that correspond to your User VPN configuration. |
| 26 | +This article assumes that you've already performed the following prerequisites: |
45 | 27 |
|
46 |
| -* [IKEv2 and SSTP - native VPN client steps](#native) |
47 |
| -* [OpenVPN - Azure VPN Client steps](#vpn-client) |
48 |
| -* [OpenVPN - OpenVPN Client steps](howto-openvpn-clients.md) |
| 28 | +* You configured a virtual WAN according to the steps in the [Create User VPN point-to-site connections](virtual-wan-point-to-site-portal.md) article. Your User VPN configuration must use certificate authentication and the OpenVPN tunnel type. |
| 29 | +* You generated and downloaded the VPN client configuration files. For steps to generate a VPN client profile configuration package, see [Generate VPN client configuration files](virtual-wan-point-to-site-portal.md#download). |
| 30 | +* You can either generate client certificates, or acquire the appropriate client certificates necessary for authentication. |
49 | 31 |
|
50 |
| -## <a name="native"></a>IKEv2 and SSTP - native VPN client |
| 32 | +### Workflow |
51 | 33 |
|
52 |
| -If you specified the IKEv2 VPN tunnel type for the User VPN configuration, you can connect using the Windows native VPN client already installed on your computer. |
| 34 | +The workflow for this article is as follows: |
53 | 35 |
|
54 |
| -1. Select the VPN client configuration files that correspond to the architecture of the Windows computer. For a 64-bit processor architecture, choose the 'VpnClientSetupAmd64' installer package. For a 32-bit processor architecture, choose the 'VpnClientSetupX86' installer package. |
| 36 | +1. Generate and install client certificates if you haven't already done so. |
| 37 | +1. View the VPN client profile configuration files contained in the VPN client profile configuration package that you generated. |
| 38 | +1. Configure the Azure VPN Client. |
| 39 | +1. Connect to Azure. |
55 | 40 |
|
56 |
| -1. Double-click the package to install it. If you see a SmartScreen popup, select **More info**, then **Run anyway**. |
| 41 | +## <a name="certificates"></a>Install client certificates |
57 | 42 |
|
58 |
| -1. On the client computer, go to your VPN page and select the connection that you configured. Then, click **Connect**. |
| 43 | +When your User VPN configuration settings are configured for certificate authentication, in order to authenticate, a client certificate must be installed on each connecting client computer. Later in this article, you specify the client certificates that you install in this section. The client certificate that you install must have been exported with its private key, and must contain all certificates in the certification path. |
59 | 44 |
|
60 |
| -## <a name="vpn-client"></a>OpenVPN - Azure VPN Client |
| 45 | +* For steps to generate a client certificate, see [Generate and export certificates](certificates-point-to-site.md#clientcert). |
61 | 46 |
|
62 |
| -The following steps help you download, install, and configure the Azure VPN Client to connect. This section assumes that you have already installed required [client certificates](#certificates) locally on the client computer. |
| 47 | +* For steps to install a client certificate see [Install client certificates](install-client-certificates.md). |
63 | 48 |
|
64 |
| -> [!NOTE] |
65 |
| -> The Azure VPN Client is only supported for OpenVPN® protocol connections. If the VPN tunnel type is not OpenVPN, use the [native VPN client](#native) that is part of the Windows operating system. |
66 |
| -> |
| 49 | +* To view an installed client certificate, open **Manage User Certificates**. The client certificate is installed in **Current User\Personal\Certificates**. |
67 | 50 |
|
68 |
| -### View client profile config files |
| 51 | +## <a name="generate"></a>View configuration files |
69 | 52 |
|
70 |
| -When you open the zip file, you'll see the **AzureVPN** folder. Locate the **azurevpnconfig.xml** file. This file contains the settings you use to configure the VPN client profile. If you don't see the file, verify the following items: |
| 53 | +The VPN client profile configuration package contains specific folders. The files within the folders contain the settings needed to configure the VPN client profile on the client computer. The files and the settings they contain are specific to the P2S VPN gateway and the type of authentication and tunnel your VPN gateway is configured to use. |
71 | 54 |
|
72 |
| -* Verify that your User VPN gateway is configured to use the OpenVPN tunnel type. |
73 |
| -* If you're using Microsoft Entra authentication, you may not have an AzureVPN folder. See the [Microsoft Entra ID](openvpn-azure-ad-client.md) configuration article instead. |
| 55 | +Locate and unzip the VPN client profile configuration package you generated. For Certificate authentication and OpenVPN, you'll see the **AzureVPN** folder. In this folder, you'll see either the **azurevpnconfig_cert.xml** file or the **azurevpnconfig.xml** file, depending on whether your P2S configuration includes multiple authentication types. The .xml file contains the settings you use to configure the VPN client profile. |
74 | 56 |
|
75 |
| -For more information about User VPN client profile files, see [Working with User VPN client profile files](about-vpn-profile-download.md). |
| 57 | +If you don't see either file, or you don't have an **AzureVPN** folder, verify that your VPN gateway is configured to use the OpenVPN tunnel type and that certificate authentication is selected. |
76 | 58 |
|
77 | 59 | ### Download the Azure VPN Client
|
78 | 60 |
|
79 | 61 | [!INCLUDE [Download the Azure VPN client](../../includes/vpn-gateway-download-vpn-client.md)]
|
80 | 62 |
|
81 |
| -### Configure the Azure VPN Client |
| 63 | +### Configure the Azure VPN Client profile |
82 | 64 |
|
83 | 65 | [!INCLUDE [Configure the Azure VPN client](../../includes/vpn-gateway-vwan-configure-azure-vpn-client-certificate.md)]
|
84 | 66 |
|
|
0 commit comments