Security certificate validation fails - Windows Server (2025)

  • Article

This article provides workarounds for an issue where security certificate that's presented by a website isn't issued when it has multiple trusted certification paths to root CAs.

Original KB number: 2831004

Symptoms

When a user tries to access a secured website, the user receives the following warning message in the web browser:

There is a problem with this website's security certificate.

The security certificate presented by this website was not issued by a trusted certificate authority.

After the user clicks Continue to this website (not recommended), the user can access the secured website.

Cause

This issue occurs because the website certificate has multiple trusted certification paths on the web server.

For example, assume that the client computer that you're using trusts Root certification authority (CA) certificate (2). And the web server trusts Root CA certificate (1) and Root CA certificate (2). Additionally, the certificate has the following two certification paths to the trusted root CAs on the web server:

  1. Certification path 1: Website certificate - Intermediate CA certificate - Root CA certificate (1)
  2. Certification path 2: Website certificate - Intermediate CA certificate - Cross root CA certificate - Root CA certificate (2)

When the computer finds multiple trusted certification paths during the certificate validation process, Microsoft CryptoAPI selects the best certification path by calculating the score of each chain. A score is calculated based on the quality and quantity of the information that a certificate path can provide. If the scores for the multiple certification paths are the same, the shortest chain is selected.

When Certification path 1 and Certification path 2 have the same quality score, CryptoAPI selects the shorter path (Certification path 1) and sends the path to the client. However, the client computer can verify the certificate only by using the longer certification path that links to Root CA certificate (2). So the certificate validation fails.

Workaround

To work around this issue, delete or disable the certificate from the certification path that you don't want to use by following these steps:

  1. Log on to the web server as a system administrator.

  2. Add the Certificate snap-in to Microsoft Management Console by following these steps:

    1. Click Start > Run, type mmc, and then press Enter.
    2. On the File menu, click Add/Remove Snap-in.
    3. Select Certificates, click Add, select Computer account, and then click Next.
    4. Select Local computer (the computer this console is running on), and then click Finish.
    5. Click OK.
  3. Expand Certificates (Local Computer) in the management console, and then locate the certificate on the certificate path that you don't want to use.

    Note

    If the certificate is a root CA certificate, it is contained in Trusted Root Certification Authorities. If the certificate is an intermediate CA certificate, it is contained in Intermediate Certification Authorities.

  4. Delete or disable the certificate by using one of the following methods:

    • To delete a certificate, right-click the certificate, and then click Delete.
    • To disable a certificate, right-click the certificate, click Properties, select Disable all purposes for this certificate, and then click OK.
  5. Restart the server if the issue is still occurring.

Additionally, if the Turn off Automatic Root Certificates Update Group Policy setting is disabled or not configured on the server, the certificate from the certification path that you don't want to use may be enabled or installed when the next chain building occurs. To change the Group Policy setting, follow these steps:

  1. Click Start > Run, type gpedit.msc, and then press Enter.

  2. Expand Computer Configuration > Administrative Templates > System > Internet Communication Management, and then click Internet Communication settings.

  3. Double-click Turn off Automatic Root Certificates Update, select Enabled, and then click OK.

  4. Close the Local Group Policy Editor.

Status

This behavior is by design.

Security certificate validation fails - Windows Server (2025)

FAQs

How to fix certificate validation failed? ›

Workaround
  1. Click Start > Run, type mmc, and then press Enter.
  2. On the File menu, click Add/Remove Snap-in.
  3. Select Certificates, click Add, select Computer account, and then click Next.
  4. Select Local computer (the computer this console is running on), and then click Finish.
  5. Click OK.
Feb 25, 2024

How to solve Windows does not have enough information to verify this certificate? ›

Solution 1: Enter Incognito Mode

When you run into the Windows 10 certification error: Windows does not have enough information to verify certificate, you can try turning on Incognito Mode first. In this way, you can find out whether the error is caused by your browser settings or not.

How do I fix SSL certificate verification failed? ›

How to Fix SSL Certificate Error
  1. Diagnose the problem with an online tool.
  2. Install an intermediate certificate on your web server.
  3. Generate a new Certificate Signing Request.
  4. Upgrade to a dedicated IP address.
  5. Get a wildcard SSL certificate.
  6. Change all URLS to HTTPS.
  7. Renew your SSL certificate.
Apr 3, 2024

How to solve certificate is not valid? ›

How to Solve the Invalid SSL /TLS Certificate Error
  1. Check the date on your computer. First of all you should check if the date and time on your computer is correct. ...
  2. Check for configuration errors. ...
  3. Check for domain mismatch. ...
  4. Get your certificate from a reliable CA. ...
  5. Check the certificate structure. ...
  6. Check for revocation.
Apr 21, 2024

How do you fix a security certificate that Cannot be verified? ›

How to Resolve the Certificate Not Verified Error?
  1. Correct Certificate Name Mismatch.
  2. Change the Outgoing SMTP Port.
  3. Correct the Name of Your Domain.
  4. Utilize the Domain Name of your Hosting as a Mail Server.
  5. Use Insecure Ports.
  6. Utilize Automatic Repair Tool – Remo Outlook PST.

How to validate a server certificate? ›

To check an SSL certificate on any website, all you need to do is follow two simple steps.
  1. First, check if the URL of the website begins with HTTPS, where S indicates it has an SSL certificate.
  2. Second, click on the padlock icon on the address bar to check all the detailed information related to the certificate.

What does certificate verify failed mean? ›

What does the CERTIFICATE_VERIFY_FAILED error mean? The error happens because the certificate being used by the server was not issued by a certificate authority (CA) included in the default list of trusted CAs used by the requests module.

How to troubleshoot SSL certificate and server connection issues? ›

Suggested fix
  1. Update your system date and time.
  2. Check if your SSL certificate is valid.
  3. Configure your browser for the latest SSL/TLS protocol support.
  4. Verify that your server is properly configured to support Server Name Indication.
  5. Make sure the cipher suites match.
Sep 25, 2023

How do I fix expired SSL certificate error? ›

How to renew
  1. Create a certificate signing request (CSR). First and foremost, your web host will need to validate the identity of your server. ...
  2. Send the CSR to the CA. Your CSR is all set and you are ready to move forward with the renewal process. ...
  3. Validate your certificate. ...
  4. Install the certificate.
Jul 24, 2023

How do I make a certificate valid? ›

For an SSL certificate to be valid, domains need to obtain it from a certificate authority (CA). A CA is an outside organization, a trusted third party, that generates and gives out SSL certificates. The CA will also digitally sign the certificate with their own private key, allowing client devices to verify it.

Why do I keep getting certificate errors? ›

It could be because a certificate has been damaged, tampered with, written in an unknown format, or is unreadable. You shouldn't trust the identity of the site if a certificate has this error.

How do I disable certificate error? ›

To disable this policy:
  1. Go to Run and type "gpedit. ...
  2. Expand Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel.
  3. Look for and double-click Prevent ignoring certificate errors. ...
  4. Select Disabled then click Apply > OK.

How do I fix validation errors? ›

Resolving a Data Validation Error
  1. Choose the row that contains the Invalid Work Item Type issue, choose Choose Values, and then specify the type of work item that you want to associate with the task. Note. ...
  2. If no more issues occur, choose Save and Publish.
Jan 12, 2017

Why does my VPN say certificate validation failure? ›

An expired certificate is the most common reason for a VPN certificate validation failure. You can check whether your certificate is still valid in the VPN provider interface. Fixing this will depend on whether your certificate is externally signed for the VPN firewall or internally signed for an external component.

How to fix certificate error in Chrome? ›

If the error mentions HSTS, privacy certificates, or invalid names, try the following steps:
  1. Step 1: Sign in to the portal. ...
  2. Step 2: Open the page in Incognito mode (computer only) ...
  3. Step 3: Update your operating system. ...
  4. Step 4: Temporarily turn off your antivirus. ...
  5. Step 5: Get extra help.

How do I skip certificate validation? ›

Disable SSL Certificate Verification for an environment
  1. Open the API Client UI.
  2. Click on the Environments pane of the sidebar.
  3. Select your environment of choice.
  4. Click on the Settings tab.
  5. Use the Certificate Verification dropdown to disable or enable SSL verification.

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Catherine Tremblay

Last Updated:

Views: 5818

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.