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
title: 'Generate and export certificates for User VPN: Linux - OpenSSL'
3
+
description: Learn how to create a self-signed root certificate, export the public key, and generate client certificates using OpenSSL for Virtual WAN User VPN connections.
4
+
titleSuffix: Azure Virtual WAN
5
+
author: cherylmc
6
+
ms.service: azure-virtual-wan
7
+
ms.custom: linux-related-content
8
+
ms.topic: how-to
9
+
ms.date: 03/20/2025
10
+
ms.author: cherylmc
11
+
---
12
+
# User VPN - Generate and export certificates - Linux - OpenSSL
13
+
14
+
This article helps you create a self-signed root certificate and generate client certificate **.pem** files using OpenSSL. If you need *.pfx* and *.cer* files instead, see the [Windows- PowerShell](certificates-point-to-site.md) instructions. To upload the self-signed certificate to Azure, see the [User VPN configuration steps](virtual-wan-point-to-site-portal.md#p2sconfig).
Copy file name to clipboardExpand all lines: articles/vpn-gateway/point-to-site-certificates-linux-openssl.md
+3-52Lines changed: 3 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,64 +6,15 @@ author: cherylmc
6
6
ms.service: azure-vpn-gateway
7
7
ms.custom: linux-related-content
8
8
ms.topic: how-to
9
-
ms.date: 02/26/2025
9
+
ms.date: 03/20/2025
10
10
ms.author: cherylmc
11
11
---
12
12
# Generate and export certificates - Linux - OpenSSL
13
13
14
14
This article helps you create a self-signed root certificate and generate client certificate **.pem** files using OpenSSL. If you need *.pfx* and *.cer* files instead, see the [Windows- PowerShell](vpn-gateway-certificates-point-to-site.md) instructions.
15
15
16
-
## Prerequisites
17
-
18
-
To use this article, you must have a computer running OpenSSL.
19
-
20
-
## Self-signed root certificate
21
-
22
-
This section helps you generate a self-signed root certificate. After you generate the certificate, you export root certificate public key data file.
23
-
24
-
1. The following example helps you generate the self-signed root certificate.
1. Print the self-signed root certificate public data in base64 format. This is the format that's supported by Azure. Upload this certificate to Azure as part of your [P2S configuration](point-to-site-certificate-gateway.md#uploadfile) steps.
> Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
41
-
42
-
In this section, you generate the user certificate (client certificate). Certificate files are generated in the local directory in which you run the commands. You can use the same client certificate on each client computer, or generate certificates that are specific to each client. It's crucial that the client certificate is signed by the root certificate.
43
-
44
-
1. To generate a client certificate, use the following examples.
> Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that aren't present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
35
+
36
+
In this section, you generate the user certificate (client certificate). Certificate files are generated in the local directory in which you run the commands. You can use the same client certificate on each client computer, or generate certificates that are specific to each client. It's crucial that the client certificate is signed by the root certificate.
37
+
38
+
1. To generate a client certificate, use the following examples.
0 commit comments