Azure VPN P2S Error for Ubuntu 20.04

Agung Dwi Saputro 1 Reputation point


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.
976 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.
1,410 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 32,801 Reputation points Microsoft Employee

    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:

    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