Understanding the Windows Certificate Update Process
Windows has a built-in feature that manages trusted root certificates. This feature automatically downloads and installs updated root certificates from the Microsoft Trusted Root Program when Windows Update is enabled. This ensures that Windows has the most current and trusted root certificates. The process is as follows:
- Certificate Store Management
Windows maintains a certificate store that includes a list of trusted root certificates. These certificates are used to verify the authenticity of software and secure communications. - Update Mechanism
When a new or updated certificate is published by a Certificate Authority (CA) that is part of the Microsoft Trusted Root Program, Windows Update automatically downloads and installs this certificate. This process helps maintain the integrity and trustworthiness of the system. - Periodic Checks
Windows periodically checks for updates to the list of trusted root certificates and downloads them as needed. This automatic check ensures that the certificate store is always up to date without requiring manual intervention.
In environments where Windows Update is not used, such as when using WSUS or other update management systems, administrators need to manually manage certificate updates. Here are the steps recommended by Microsoft for updating certificates in such environments:
- Identifying Outdated Certificates
- Regularly audit the certificate store on your systems to identify certificates that are expired or nearing expiration.
- Use tools like
certutil
to list and review certificates.
- Downloading Certificates
- Manually download updated root certificates from the Microsoft Update Catalog or directly from the Certificate Authority’s (CA) website. The Microsoft Update Catalog provides a searchable database of updates, including root certificate updates.
- Ensure that you download certificates from trusted sources to avoid security risks.
- Importing Certificates
- Import the downloaded certificates into the appropriate certificate stores on the system. This can be done using the Microsoft Management Console (MMC) with the Certificates snap-in or via command-line tools like
certutil
. - For MMC:
- Open MMC and add the Certificates snap-in.
- Navigate to the appropriate store (e.g., Trusted Root Certification Authorities).
- Right-click and select "Import" to start the Certificate Import Wizard.
- Follow the prompts to select and import the downloaded certificate.
- For
certutil
, use the following command to add a certificate to the trusted root store:certutil -addstore root <certificate_file>
- Import the downloaded certificates into the appropriate certificate stores on the system. This can be done using the Microsoft Management Console (MMC) with the Certificates snap-in or via command-line tools like
- Automating Certificate Distribution
- In domain environments, use Group Policy to automate the distribution and installation of certificates across multiple systems. This ensures consistency and compliance across the network.
- Open the Group Policy Management Console (GPMC).
- Create or edit a Group Policy Object (GPO).
- Navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Public Key Policies.
- Right-click Trusted Root Certification Authorities and select "Import" to start the Certificate Import Wizard.
- Follow the prompts to select and import the downloaded certificate.
- Apply the GPO to the relevant Organizational Units (OUs) or groups to ensure that all targeted systems receive the updated certificates.
- In domain environments, use Group Policy to automate the distribution and installation of certificates across multiple systems. This ensures consistency and compliance across the network.
- Regular Maintenance and Monitoring
- Establish a routine schedule for checking and updating certificates to ensure they remain current.
- Monitor the environment for any certificate-related issues and address them promptly.
- Stay informed about updates and changes to root certificates by subscribing to notifications from Microsoft or the relevant CAs.
EasyFix for System Certificates is a tool that inspects the operating system to identify the missing certificates required by Trend Micro Apex One 2019, Trend Micro Apex One SaaS or Trend Micro Vision One Agent. It imports those certificates to the operating system automatically, and the result of certificate inspection and recovery is recorded in a log file.
EasyFix for System Certificates can be executed on any Windows platform supported by the installed product. A product license of any of the following products is required for using this tool.
- Trend Micro Apex One 2019
- Trend Micro Apex One SaaS
- Trend Micro Vision One Agent
- Trend Micro Cloud One Workload Security Agent
This tool can be deployed via a software distribution platform to massive Windows machines. It can also be executed manually by following these steps:
- Download the EasyFix for System Certificates tool. Do the following:
- Log in to your Trend Micro MySupport Account.
- Once logged in, click on your Profile Name at the top-right corner and then select Dashboard.
- On the left pane, click Diagnostic Tool.
- Click on the EasyFix for System Certificates thumbnail to start the download.
- Extract all files from "EasyFix_for_System_Certificates_v1.0.zip" to a temp folder (e.g. C:\temp).
- Go to the temp folder C:\temp and execute EasyFixSysCerts.exe in CMD with administrator privilege.
- To inspect and import missing certificates for Trend Micro Apex One 2019 and Trend Micro Apex One SaaS:
EasyFixSysCerts.exe A1
- To inspect and import missing certificates for Trend Micro Vision One Agent:
EasyFixSysCerts.exe V1
- To inspect and import missing certificates for Trend Micro Cloud One Workload Security Agent:
EasyFixSysCerts.exe C1
- To inspect and import missing certificates for Trend Micro Apex One 2019 and Trend Micro Apex One SaaS:
- A 'Log' subfolder will be created with 2 files:
- EasyFixofSysCerts.json - a summary of missing and installed certificates
- SCPeasyfix.log - the log of the EasyFixSysCerts process
- Search the flowing key words to confirm the execution result:
- Fixing result is True.
- Fixing result is False.
Recommended Practices
To ensure that certificates remain up to date, follow Microsoft’s recommended procedures, as outlined in their documentation on managing trusted root certificates, Configure Trusted Roots and Disallowed Certificates.