Fix CA Root Certificate Not Trusted: Step-by-Step Guide

By Alice

If you're encountering the "CA root certificate is not trusted" error, don't worry, you're not alone. This common issue can be resolved with a few simple steps. Let's dive into the causes, understand the error, and then learn how to fix it.

Deploy Trusted Root Certificates via GPO
Deploy Trusted Root Certificates via GPO

The error typically occurs when your system doesn't recognize the SSL certificate. This could be due to an outdated or missing certificate in your system's certificate store. Let's tackle this step by step.

How to Fix Avaya J1xx Phone SSL Issues
How to Fix Avaya J1xx Phone SSL Issues

Understanding the Error and its Causes

When your system communicates with a server that's using SSL/TLS, it checks the server's certificate against the trusted root certificates in your system's certificate store. If the required root certificate is not found or is outdated, you'll encounter the "CA root certificate is not trusted" error.

How to add Certificate to Trusted Root on Windows 10
How to add Certificate to Trusted Root on Windows 10

This error can also occur due to issues with the server's certificate itself. It might have been signed by a certificate authority (CA) that your system doesn't recognize, causing the 'not trusted' response.

Certificates and Certificate Authorities (CAs)

Reminder: support for root certificates with kernel mode signing capabilities ends next year - gHacks Tech News
Reminder: support for root certificates with kernel mode signing capabilities ends next year - gHacks Tech News

Certificates are used to verify the identity of a website or server. Certificate Authorities (CAs) issue these certificates after verifying the identity of the entity requesting it. They are trusted because they follow a rigorous process to verify identity. Your system has a list of trusted CAs, and it throws an error if a server uses an untrusted CA's certificate.

Now that we understand the problem let's look at how to fix it.

Fixing the "CA root certificate is not trusted" Error

an image of a computer screen with instructions
an image of a computer screen with instructions

There are a few methods to fix this issue. We'll cover the most effective ones.

Update Your System's Certificate Store

This is the most common solution. Your system's certificate store might be outdated, missing the CA that signed the server's certificate.

How to Install or Import a Root Certificate in Windows
How to Install or Import a Root Certificate in Windows

To update it, you can use built-in tools like 'Update-Security Certificates' in PowerShell (Windows) or 'ca-certificates' package manager (Linux). Here's how you can do it on both systems:

  • Windows: Run PowerShell as an administrator and execute the command Update-SecurityCertificates.
  • Linux: Run sudo apt update and sudo apt upgrade for Ubuntu/Debian-based systems, and sudo yum update for CentOS/RHEL-based systems.
Windows Doesn't Have Enough Information To Verify This Certificate
Windows Doesn't Have Enough Information To Verify This Certificate
'Root IQ' review that can streamline and increase security of too many root certificates in Windows for free
'Root IQ' review that can streamline and increase security of too many root certificates in Windows for free
How to Download CAC Certificate and Status Report
How to Download CAC Certificate and Status Report
Configure Trusted Roots and Disallowed Certificates
Configure Trusted Roots and Disallowed Certificates
AlwaysTrustUserCerts: Make Android Trust Your Certificates Instantly
AlwaysTrustUserCerts: Make Android Trust Your Certificates Instantly
Creating Your Own SSL Certificate Authority (and Dumping Self Signed Certs)
Creating Your Own SSL Certificate Authority (and Dumping Self Signed Certs)
The Hacker News | #1 Trusted Source for Cybersecurity News
The Hacker News | #1 Trusted Source for Cybersecurity News
an apple logo with the words available root certificates for apple operating systems - apple support
an apple logo with the words available root certificates for apple operating systems - apple support
GitHub - puppetlabs/puppet-ca-bundle: CA cert bundle of trusted root certificates for Puppet Products
GitHub - puppetlabs/puppet-ca-bundle: CA cert bundle of trusted root certificates for Puppet Products

After updating, restart your browser or the application where you're encountering the error and see if the problem is resolved.

Add or Update the CA Certificate

If updating your system's certificate store doesn't work, you might need to add or update the CA certificate manually.

First, obtain the CA certificate (usually in .cer or .pem format) from a reliable source. Then you can add it to your system's certificate store. The process varies depending on your operating system. Here's how to do it on Windows and Linux:

  • Windows: Use the Certificate Manager (Certmgr) tool. You can add the .cer file using the 'Import' option.
  • Linux: Use the 'certtool' command or add it to the system's directory at /usr/share/ca-certificates/.

After adding or updating, restart your browser or the application where you're encountering the error and test if the issue has been resolved.

contacted the server or website administrator

Finally, if none of the above methods work, the issue might be with the server's certificate. Contact the server or website administrator to ensure their server is using a recognized CA's certificate.

Remember, it's crucial to ensure that only trusted CAs sign your certificates to avoid security risks and encountering these errors.

That's it! Now you can troubleshoot the 'CA root certificate is not trusted' error like a pro. Happy browsing!