The Azure VPN client XML file created for my virtual network gateway will not import into Azure VPN

Stephen Siggs 20 Reputation points
2025-11-12T15:55:40.2866667+00:00

I have put a new Public certificate into the point-to-site configuration settings of my virtual network gateway, downloaded the VPN client files, but they will not import into the Azure VPN app. Can you help diagnose the problem?

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.
{count} votes

Answer accepted by question author
  1. Ravi Varma Mudduluru 3,625 Reputation points Microsoft External Staff Moderator
    2025-11-12T16:19:05.1433333+00:00

    Hello @Stephen Siggs,

    Thanks for reaching out to Microsoft Q&A.

    I understand that you're facing an issue with importing the VPN client files into the Azure VPN app after making some changes to your virtual network gateway configuration.

    Could you please check both your client certificate, and the root (Azure gateway) certificate are installed in the correct locations on your machine:

    • Client Certificate: Should be under Current User > Personal > Certificates.
    • Root Certificate: Both should be under Current User > Trusted Root Certification Authorities and Local Computer > Trusted Root Certification Authorities.

    After uploading the root certificate to the VPN gateway, please allow some time for the settings to update. Once the update is complete, download the VPN client and connect using certificate authentication. For more information, please refer to the document below.

    https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-certificate-windows-azure-vpn-client

    Could you check if the IONOS certificate matches the correct format shown below? According to the Microsoft document, this is the required format for the root certificate.

    PowerShell

    $params = @{
        Type = 'Custom'
        Subject = 'CN=P2SRootCert'
        KeySpec = 'Signature'
        KeyExportPolicy = 'Exportable'
        KeyUsage = 'CertSign'
        KeyUsageProperty = 'Sign'
        KeyLength = 2048
        HashAlgorithm = 'sha256'
        NotAfter = (Get-Date).AddMonths(24)
        CertStoreLocation = 'Cert:\CurrentUser\My'
    }
    $cert = New-SelfSignedCertificate @params
    
    
    

    If the GoDaddy certificate is working, please verify whether the same parameters are present in IONOS. If they are not, kindly check with the IONOS team.

    According to the security complaints, the certificate parameters are being updated. Please check with the IONOS team to obtain the latest certificate with valid parameters.

    Reference document: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site#rootcert

    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

0 additional answers

Sort by: Most helpful

Your answer

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