Azure VPN P2S Error for Ubuntu 20.04

Agung Dwi Saputro 1 Reputation point
2021-09-24T13:48:02.087+00:00

134976-azure.png

I get an error when connecting azure vpn P2S to my ubuntu server 20.04 using strongwan IPsec.

can anyone give a solution?

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,574 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,541 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,626 Reputation points Microsoft Employee
    2021-09-27T11:57:12.35+00:00

    Hello @Agung Dwi Saputro ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I believe you are using IKEv2 tunnel type & certificate authentication type. The error seems to be related to certificates.
    Did you take a look into this Github issue with similar error?

    This error also occurs if a CA root certificate is used in place of VpnServerRoot certificate while configuring the client.
    Please refer the following article & make sure that the correct VpnServerRoot certificate is added to the client: https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-configuration-azure-cert#linuxgui

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.