3 Ways to Get Rid of the Certificate Validation Failure on VPNs

Reading time icon 7 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • The most common reason for certificate validation failure on VPN is an expired certificate.
  • VPN certificates are essential because they are a more secure way for authentication than preshared keys.
  • Users reported that updating the certificate will solve the certificate validation failure error.
azure-page certificate validation failure vpn

VPN, an acronym for Virtual Privacy Networks has certificates by a public authority that manages them. They are essential electronic documents, as VPN devices use them to indicate if they are the ones you connect to. Thus, it is imperative to quickly fix any VPN certificate validation failure.

Digital certificates of VPN are also used for authentication, and this is more secure than preshared keys. VPN certificates expire due to security reasons and when there is a need to replace them.

It used to take a more extended period of time for a valid VPN certificate to last, however, in 2021, SSL certificate expiration was reduced and a valid certificate lasted for 12 months only.

Still, this may not be the sole reason you are getting a failure in certificate validation. There are many other reasons why this may be happening with Cisco or some other VPN service provider.

Virtual Privacy Networks improve your security and privacy as you browse the Internet, which is why people use them. Therefore if you cannot validate VPN security, the purpose of getting the VPN in the first place is defeated.

How do I get a VPN certificate?

  1. Visit the Azure portal as an administrator.azure certificate validation failure vpn
  2. Click on Azure Active Directory on the left menu.azure-active certificate validation failure vpn
  3. Go to the Manage section in the Azure Active Directory menu and click on Security.
  4. Click on the Protect section on the Security page and select Conditional Access.
  5. Go to the Policies page on the Conditional access page and click on VPN Connectivity.policies certificate validation failure vpn
  6. Click New Certificate and generate one for yourself.

To have access to generate a new VPN certificate, you need to create an Azure Microsoft account. Microsoft has a free trial that you can use to gain access before you need to pay.

When your VPN certificate expires, you need to update it. If you do not update your VPN certificate, you lose security and become exposed to threats that make your private and classified information vulnerable.

How do I update my VPN certificate?

In order to update your VPN certificate, you will have to enter the Certificates – Local Computer app from your system and tweak your current certificate.

For an in-depth, step-by-step guide on how to achieve this, follow the second solution from the list below in order to update your VPN certificate.

Do VPN certificates expire?

VPN certificates are issued with an expiration date for the sake of increased security. After that date has passed, the certificates must be updated with fresh ones.

There is a validity period of three years attached to the VPN certificates that were issued by both the Internal RSA CA for Gateways and the Internal ECDSA CA.

How do I fix VPN validation failure?

1. Check the validity of your VPN certificate

  1. Press the Windows and R keys on your device to open the Run tab and type in mmc then press Enter.mmc certificate validation failure vpn
  2. Click on the File option in the top right corner and select Add/Remove Snap-in from the drop-down menu. snapin certificate validation failure vpn
  3. Choose Certificates from the Available snap-ins section then click on the Add button.cettificate-add certificate validation failure vpn
  4. From the three options, click on My User Account.my-usrr certificate validation failure vpn

These steps will enable you access to the current User certificates to see the certificate that you have in the system. When you double-click on the certificate, you can see the details, which include the validity and expiry date.

After you check, and find that your VPN certificate may have expired, proceed to renew it.

2. Update your VPN certificate

  1. Click on the magnifying glass icon from your Taskbar then type in certlm.msc and select the topmost result.certlmsc certificate validation failure vpn
  2. Right-click on the open space and select All Tasks.all-tasks certificate validation failure vpn
  3. Click on Advanced Operations and select Create Custom Request.
  4. Select Proceed without enrollment and continue with the onscreen steps.
  5. Click on the arrow next to Details and select Properties from the drop-down menu.details-prop certificate validation failure vpn
  6. Name the certificate a title that is easy to remember then click on Subject and select common name from the Full QDN drop-down menu.
  7. Enter the Fully Qualified Domain Name and click Add followed by Next.
  8. Go back to Properties and select the Extensions tab.extensions-tab certificate validation failure vpn
  9. Select Extended Key Usage, and click on Server Authentication and Add.
  10. Click on the Private Key tab then select Cryptographic service provider and check the Microsoft RSA or Microsoft DH option as you wish.security-microsoft certificate validation failure vpn
  11. Save everything by clicking on Apply and OK then click on the magnifying glass icon on your Taskbar and type PowerShell. Finally, click on the topmost result in order to open it.powershell-search certificate validation failure vpn
  12. Type in the following command and press Enter: cd $home\desktopcd-home certificate validation failure vpn
  13. On the next line, type in the following command and replace the FILE_NAME with your certificate’s name: certutil.exe FILE_NAMEcertutil certificate validation failure vpn
  14. Copy the content of the file and submit it to your public certification authority for signing.

To fix certificate validation failure VPN Cisco, and certificate validation failure VPN anyconnect, you have to first verify that the hostname and host address are still valid and then check if the certificate has expired before you proceed to install a new certificate or update the existing one.

3. Turn on OCSP Nonce on the Windows server

  1. Press the Windows and R keys to open a command bar and type certlm.msc to open the Certificate Service Management Console.certlmsc-run certificate validation failure vpn
  2. Select Certificate template from the left menu and click on Manage then find OCSP Respond Signing from the drop-down menu and select it.template-ocds certificate validation failure vpn
  3. Right-click on it and select Properties.
  4. Click on the Security tab and add the server that will be hosting the OCSP services. security-add certificate validation failure vpn
  5. Check Read and Enrol then go back to Certificate template. Click on New, select Certificate Template to issue, and choose OCSP signing.read-enroll certificate validation failure vpn
  6. Click on the certificate server and select Properties.
  7. Select the Extension tab and choose Authority Information Access. Select the URL of the server and click on Add.extensions-click
  8. Go to the dashboard of the server manager of the OCSP service and click on Add roles and features.
  9. Check Active directory services and select Role services. Uncheck Certification Authority and check Online Responder.
  10. Launch the Online Responder management console.

OCSP is Online Certificate Status Protocol, and it is a method that browsers use to ensure that a security certificate is valid. Enabling OCSP service nonce protects secure network communication.

Microsoft Windows uses RFC 5019 while Cisco AnyConnect VPN ASA uses RFC 2560. This disparity causes VPN validation failure, and as such needs fixing.

When OpenVPN certificate verification failed and VPN certificate validation failure occurs, these are the steps that you can follow to rectify them.

Also, for IBM VPN certificate validation failure, there is a renew certificate application in the IBM store that can help you with renewing your certificate if it is outdated.

How do I add a VPN certificate to Windows 10/11?

  1. Open Settings by holding Windows and I together then go to Network and Internet followed by VPN.network-vpn sett
  2. Click on Add VPN. vpn-add settings
  3. On the dropdown menu, select Windows built-in as the VPN provider.windows-builin certificate validation failure vpn
  4. Type in a name for the VPN connection in the Connection name field.
  5. Get the server name and address from the provider and type it into the Server address field.
  6. In the Type-of-sign-in info bar, type in the one your VPN provider uses and click on Save.type-signin certificate validation failure vpn
  7. When the name of the VPN appears, connect to it.connect-vpn windows

Is there any good 3rd party VPN for business?

There is another security method to protect all your business data and avoid certificate validation failure for your VPN protection.

You can use the Perimeter 81 as a Zero Trust Application Access software and secure any sensitive data from public use. This way, you guarantee private communication with IPSec or WireGuard technology.

Plus, it provides safer digital support against data leaking or cyber threats with access by role, a cloud-based interface, or monitoring tools.

โ‡’ Get Perimeter 81

In conclusion, VPN is vital because of the protection and security that users get from it. These steps will fix the validation failure that pops up. However, if these do not work, you can disconnect completely and start a new connection.

Check out our post with the five best VPNs for Windows 11, after 3 months of usage and tests, to decide which one to get on your devices.

We hope our guide proved to be useful to you. Don’t hesitate to share your thoughts with us in the comments section below. Thanks for reading!

More about the topics: certificate error, VPN