Set up a connection using a certificate
To set up an L2TP over IPsec VPN connection in Microsoft Windows 10 using an X.509 certificate, do as follows.
Prerequisite: You've downloaded the X.509 certificate from the User Portal.
Import the certificate into Windows 10
-
Click Start and open Run.
-
Enter mmc, and click OK to open the Microsoft Management Console.
-
Confirm the Windows security notice.
-
Click File > Add/Remove Snap-in.
-
Select Certificates, then click Add.
-
Select Computer account, then click Next.
-
Select Local computer (the computer this console is running on).
-
Click Finish and then OK.
-
In the tree view on the left side, in the category Certificates (Local Computer), right-click Personal.
-
From the context menu select All Tasks > Import.
The Certificate Import Wizard opens.
-
Click Next.
-
Click Browse and select the PKCS#12 container file to import.
You might have to select the correct file extension .p12 in the drop-down list to make the PKCS#12 container file visible.
-
Click Open and then Next.
-
Enter the password for the private key.
Enter the security password you used for downloading the certificate from the User Portal.
-
Click Next.
-
Select Automatically select the certificate store based on the type of certificate.
-
Click Next and then Finish.
You should see a confirmation message that the import was successful.
-
Click OK.
-
From the menu, select Action > Refresh.
Now, the newly imported certificate should be visible.
-
Close the Microsoft Management Console.
If asked whether you want to save anything, you don’t need to.
Configure the VPN connection in Windows 10
-
Go to Start > Settings.
-
In the dialog, go to Network & Internet > VPN.
-
Click Add a VPN connection.
-
In the dialog, specify the following settings:
VPN provider: Select Windows (built-in).
Connection name: Enter a name for the connection.
Server name or address: Enter the DNS name or the IP address of your organization’s server that accepts remote access connections. Your organization’s administrator should have provided this information to you.
VPN type: Select L2TP/IPsec with certificate. Automatic should work as well if Windows can determine the type during the connection establishment.
Type of sign-in info: Select User name and password.
-
(Optional) You can enter your username and password now. You can also save these along with the connection.
If you don’t enter your credentials, Windows prompts you when you initiate the connection.
- Click Save.
- Select Connect to test the connection.
- Close the dialog once you’re finished.