Failed to save virtual network gateway when uploading root certificate.

ManoharLakkoju 690 Reputation points Microsoft Vendor
2024-10-07T08:54:56.1266667+00:00

Why is my virtual network gateway encountering an error when attempting to upload the 21st Point-to-Site (P2S) root certificate?

PS - Based on common issues that we have seen from customers and other sources, we are posting these questions to help the Azure community.

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,472 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ManoharLakkoju 690 Reputation points Microsoft Vendor
    2024-10-07T08:55:18.44+00:00

    You are encountering the error message "Failed to save virtual network gateway. Error: The number of vpn client root certificates for virtual network gateway exceeds the maximum allowed count 20. Please specify total certificates within limit and retry" because there is a design limitation in Azure that restricts the number of VPN client root certificates to a maximum of 20. This limit is documented in the Azure subscription service limits and is a hard limit which cannot be increased.

    To resolve this issue, you need to ensure that the total number of root certificates does not exceed this limit. You can either remove some existing certificates or consolidate them to stay within the allowed number. For more detailed information on the limits and how to manage certificates, please refer to the following documentation:

    Resources:

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    Please do not forget to "Accept the answer" and "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.

    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.