Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 2.22 KB

File metadata and controls

35 lines (24 loc) · 2.22 KB
title Generate and export certificates for User VPN P2S: Linux - strongSwan
description Learn how to create a self-signed root certificate, export the public key, and to generate client certificates using the Linux (strongSwan) CLI.
titleSuffix Azure Virtual WAN
author cherylmc
ms.service azure-virtual-wan
ms.custom linux-related-content
ms.topic how-to
ms.date 03/20/2025
ms.author cherylmc

User VPN - Generate and export certificates - Linux (strongSwan)

This article shows you how to create a self-signed root certificate and generate client certificates using strongSwan. The steps in this exercise help you create certificate .pem files. If you need .pfx and .cer files instead, see the Windows- PowerShell instructions.

For point-to-site connections, each VPN client must have a client certificate installed locally to connect. Additionally, the root certificate public key information must be uploaded to Azure. For more information, see P2S User VPN configuration - certificate authentication.

Install strongSwan

The following steps help you install strongSwan.

[!INCLUDE strongSwan Install]

Linux CLI instructions (strongSwan)

The following steps help you generate and export certificates using the Linux CLI (strongSwan). For more information, see Additional instructions to install the Azure CLI.

[!INCLUDE strongSwan certificates]

Next steps

Continue with your point-to-site configuration. See Configure P2S VPN clients: certificate authentication - Linux.