certmgr.msc: How Windows Certificate Manager Works, Uses, Benefits, and Safety
QUICK ANSWER certmgr.msc opens the Microsoft Management Console Certificates snap-in for the signed-in user. It lets you inspect and manage certificates used...
QUICK ANSWER
certmgr.msc opens the Microsoft Management Console Certificates snap-in for the signed-in user. It lets you inspect and manage certificates used by that account for authentication, encryption, digital signatures, secure email, and other certificate-based operations.
It does not normally show the computer-wide certificate store. Use certlm.msc for certificates belonging to the local computer. Importing, deleting, or trusting certificates can affect security, so verify the certificate’s source, purpose, thumbprint, validity, and destination store before making changes.
What Is certmgr.msc?
certmgr.msc is a built-in Windows Microsoft Management Console file that opens Certificates – Current User. It provides a graphical interface for viewing and managing certificates associated with the account that is currently signed in.
Open it by pressing Windows key + R, entering:
certmgr.msc
Then select OK or press Enter.
The console can be used to:
- View certificates and their properties.
- Examine certificate validity dates, intended purposes, issuers, and thumbprints.
- View a certificate’s certification path.
- Import certificates into the current user’s stores.
- Export certificates, sometimes including their private keys.
- Delete certificates.
- Start certificate enrollment or renewal operations when supported by the environment.
- Review certificate stores such as Personal, Trusted Root Certification Authorities, and Intermediate Certification Authorities.
Microsoft documents certmgr.msc as the Certificate Manager view for the current user; certlm.msc provides the corresponding local-device view. WCF
Important:
certmgr.mscis not the same asCertMgr.exe.certmgr.mscis an MMC console file included with Windows.CertMgr.exeis a separate command-line tool supplied with certain Windows SDK installations. .NET Framework
How Windows Certificates Work
A digital certificate connects an identity—such as a user, computer, organization, service, or website—to a public key. A certificate typically contains:
- The certificate subject.
- The issuing certification authority, or CA.
- A public key.
- A serial number.
- Valid-from and expiration dates.
- Intended purposes, represented by key-usage and enhanced-key-usage extensions.
- Information used to locate issuers or check revocation.
- The issuer’s digital signature.
Certificates can support:
- User or computer authentication.
- TLS and HTTPS connections.
- VPN and Wi-Fi authentication.
- Email signing and encryption.
- Document or code signing.
- Encrypting File System operations.
- Smart cards and other identity systems.
Certificate chains and trust
Windows normally evaluates a certificate through a chain:
- The end-entity certificate identifies the user, device, service, or application.
- One or more intermediate CA certificates connect it to a root CA.
- The root CA acts as the trust anchor.
A chain is trusted only when Windows or the relevant application can build an acceptable path to a trusted root and the applicable validation requirements are satisfied. These can include dates, permitted purposes, policy, name matching, signatures, and revocation status. Microsoft Learn
Opening a certificate and seeing “This certificate is OK” is useful, but it should not be treated as a complete guarantee for every application or usage scenario. Applications can apply different policies, and revocation checking may depend on network availability, cached information, and application behavior.
Current User Versus Local Computer Certificates
Selecting the correct certificate scope is essential.
| Tool | Scope | Typical use | Administrator rights |
|---|---|---|---|
certmgr.msc |
Current signed-in user | User authentication, S/MIME, user-specific signing or encryption | Usually not required for routine user-store operations |
certlm.msc |
Local computer | Web servers, Windows services, device authentication, machine-wide trust | Commonly required to make changes |
mmc.exe with Certificates snap-in |
User, computer, or service account | Advanced administration and customized consoles | Depends on the selected scope and action |
The Current User store is associated with the user profile and is represented under HKEY_CURRENT_USER. The Local Machine store applies to the computer and is represented under HKEY_LOCAL_MACHINE. Microsoft notes that most Current User stores inherit Local Machine store content, with an exception for the Current User Personal store. learn.microsoft.com
A certificate placed in the wrong scope might appear correctly installed but remain unavailable to the application that needs it. For example:
- A desktop application running as the user may expect
CurrentUser\My. - A Windows service may require a certificate in
LocalMachine\My. - A service account may need its own certificate store and private-key permissions.
Understanding the Main Certificate Stores
The folders displayed in Certificate Manager are logical stores organized by purpose.
| Store | Purpose |
|---|---|
| Personal | Certificates belonging to the user, commonly including certificates linked to private keys |
| Trusted Root Certification Authorities | Root CAs that Windows is instructed to trust |
| Intermediate Certification Authorities | Intermediate or subordinate CA certificates used to construct certificate chains |
| Trusted People | Certificates for explicitly trusted people or entities |
| Trusted Publishers | Certificates associated with publishers that have been designated as trusted |
| Untrusted Certificates | Certificates explicitly marked as untrusted |
| Enterprise Trust | Certificate trust lists commonly used for trust relationships between organizations |
| Certificate Enrollment Requests | Pending or rejected certificate requests |
| Active Directory User Object | Certificates published with the user’s Active Directory object, when applicable |
Microsoft provides definitions for these logical stores in its certificate-directory documentation. Microsoft Learn
Not every system displays every folder. Store visibility can depend on the Windows edition, installed components, domain membership, enterprise policies, and whether the store currently contains relevant objects.
Why the Trusted Root store requires special care
A root certificate in Trusted Root Certification Authorities can establish a trust anchor. Software that relies on the affected Windows trust store may consequently trust certificates chaining to that root.
Never install a root certificate merely to suppress a browser, VPN, application, or installation warning. First confirm:
- Who operates the CA.
- Why the root is required.
- How the certificate was delivered.
- Whether its thumbprint matches a value supplied through an independent trusted channel.
- Whether organizational policy authorizes it.
Compromising or incorrectly expanding the trusted-root store can enable impersonation, traffic interception, or acceptance of malicious software in affected scenarios. Microsoft confirms that this store contains the root CAs Windows trusts. Microsoft Learn
How to Inspect a Certificate
In certmgr.msc, expand a store, open Certificates, and double-click a certificate.
General tab
The General tab normally shows:
- The certificate’s intended purposes.
- The subject to which it was issued.
- The issuing CA.
- Its valid-from and valid-to dates.
- A summary of its status.
Details tab
The Details tab exposes fields such as:
- Version.
- Serial number.
- Signature algorithm.
- Issuer.
- Subject.
- Validity period.
- Public key.
- Key usage.
- Enhanced key usage.
- Subject alternative name.
- Authority Information Access.
- CRL distribution points.
- Thumbprint.
The exact fields depend on the certificate.
Certification Path tab
The Certification Path tab displays the chain from the selected certificate toward its root. Select each item in the path to inspect its status.
A missing or untrusted intermediate or root may cause an error. Windows can sometimes retrieve a missing intermediate CA certificate using an Authority Information Access URL embedded in the certificate, if policy and network access permit it. Microsoft Learn
How to check whether a private key is present
Open the certificate and inspect the General tab. For a certificate connected to an accessible private key, Windows commonly displays:
You have a private key that corresponds to this certificate.
A key symbol may also appear on the certificate icon.
A certificate without its private key may still be sufficient for verifying signatures or encrypting information to another party. It generally cannot perform operations requiring proof of private-key possession, such as client authentication, signing, or decryption for that identity.
Importing a Certificate Safely
To import a certificate for the current user:
- Open
certmgr.msc. - Select the appropriate destination store.
- Right-click the store or its Certificates folder.
- Select All Tasks > Import.
- Choose the certificate file.
- Supply the password if importing a protected PFX file.
- Select the destination store carefully.
- Review the summary and complete the wizard.
- Reopen the store and verify the imported certificate.
Common certificate file types
| Extension | Typical contents |
|---|---|
.cer, .crt, .der |
Usually a certificate containing a public key but no private key |
.p7b, .p7c |
One or more certificates, often a certificate chain; normally no private key |
.pfx, .p12 |
A certificate and potentially its private key and chain; normally password-protected |
Extensions alone do not prove that a file is safe or contains the expected material. Inspect its origin and contents.
Choosing the destination store
For standard imports, allowing Windows to select a store can be appropriate. For controlled administrative work, select the store required by the application or deployment documentation.
Typical placements include:
- User identity certificate: Current User > Personal.
- Computer or server identity certificate: Local Computer > Personal.
- Intermediate CA certificate: Intermediate Certification Authorities.
- Approved root CA certificate: Trusted Root Certification Authorities.
Do not place an ordinary server, user, or self-signed end certificate into the Trusted Root store merely to make an error disappear.
Private-key import precautions
PFX and P12 files can contain private keys. Treat them as secrets:
- Obtain them through an approved secure channel.
- Use a strong transport password.
- Do not email an unprotected PFX.
- Avoid making a private key exportable unless portability is required.
- Delete unsecured temporary copies when organizational retention policy permits.
- Restrict access to backups.
- Never disclose the PFX password in a script, ticket, or command history.
Exporting Certificates
To export from certmgr.msc:
- Locate the certificate.
- Right-click it.
- Select All Tasks > Export.
- Follow the Certificate Export Wizard.
- Choose whether to export the private key, if that option is available.
- Select the appropriate file format.
- Protect a private-key export with strong encryption and a strong password.
- Save the file to a protected location.
- Verify the exported file and secure or remove unnecessary copies.
Exporting without the private key
A public certificate can normally be exported as a CER file. This is suitable when another party needs the public certificate for trust configuration, signature verification, or encryption to the certificate holder.
Exporting with the private key
When Windows permits it, a certificate and private key can be exported as a PFX/P12 file. The option can be unavailable when:
- The private key was marked non-exportable.
- The certificate does not have an associated private key.
- The user lacks access to the key.
- The key is protected by hardware or a provider that prohibits export.
- Policy prevents export.
Microsoft’s supported export process uses the certificate console and the PFX format for certificates exported with private keys. learn.microsoft.com
Warning: Possession of an exported private key may allow another person or system to impersonate its owner, decrypt applicable protected data, or create signatures. Handle a PFX as sensitive credential material.
Deleting a Certificate
Before deleting a certificate:
- Confirm whether it belongs to the current user, computer, or service account.
- Record its subject, issuer, serial number, thumbprint, and expiration date.
- Determine which application or service uses it.
- Confirm that a replacement is installed and working, if applicable.
- Export an authorized backup when required and permitted.
- Delete only the intended certificate.
- Test the dependent application afterward.
Deleting a certificate can interrupt:
- Wi-Fi, VPN, or smart-card authentication.
- Web server TLS.
- S/MIME email signing or decryption.
- Code or document signing.
- Encrypted-file access.
- Application-to-application authentication.
- Windows services running under specialized identities.
Deleting an expired certificate is not automatically harmless. An old private key may still be needed to decrypt previously encrypted email or files or to validate historical workflows. Removing a certificate from a store also does not revoke it at the issuing CA.
Requesting or Renewing Certificates
In managed Active Directory environments, Certificate Manager may provide options such as:
- Request New Certificate
- Renew Certificate with New Key
- Renew Certificate with Same Key
- Enroll on behalf of
Availability depends on:
- An enterprise certification authority.
- Published certificate templates.
- Enrollment permissions.
- Group Policy configuration.
- Domain connectivity.
- Certificate template settings.
- Whether renewal is supported for the selected certificate.
These menu options do not turn Certificate Manager into a certification authority. The CA and enrollment policy determine whether a request is accepted.
For internet-facing TLS certificates, renewal is often performed through the CA, a hosting platform, a server product, or an automated certificate-management client rather than through certmgr.msc.
Useful Alternatives for IT Professionals
Local computer Certificate Manager
Use:
certlm.msc
This directly opens Certificates – Local Computer. Administrative elevation is generally required to modify protected machine stores.
Custom Microsoft Management Console
Run:
mmc.exe
Then select File > Add/Remove Snap-in > Certificates > Add. Depending on the environment, MMC can target:
- My user account.
- A service account.
- A computer account.
This is useful when a certificate belongs to a Windows service or remote computer rather than the interactive user.
PowerShell Certificate provider
PowerShell exposes certificate stores through the Cert: drive. Examples:
List the available certificate-store scopes:
Get-ChildItem Cert:\
List personal certificates for the current user:
Get-ChildItem Cert:\CurrentUser\My
List personal certificates for the local computer:
Get-ChildItem Cert:\LocalMachine\My
Find current-user personal certificates that have expired:
Get-ChildItem Cert:\CurrentUser\My |
Where-Object NotAfter -lt (Get-Date)
Find certificates expiring within 30 days:
Get-ChildItem Cert:\CurrentUser\My |
Where-Object {
$_.NotAfter -ge (Get-Date) -and
$_.NotAfter -le (Get-Date).AddDays(30)
}
Import a public certificate into the current user’s Personal store:
Import-Certificate `
-FilePath "C:\Certificates\UserCertificate.cer" `
-CertStoreLocation "Cert:\CurrentUser\My"
Import-Certificate imports certificates into a selected store; Microsoft recommends using Get-ChildItem Cert:\ to discover valid store locations. Microsoft Learn
Use an elevated PowerShell session when changing protected Local Machine stores. Confirm paths and certificate identities before automating imports or removals.
certutil.exe
certutil.exe can display certificate and CA information, inspect stores, verify certificates, and perform other PKI operations. For example:
certutil -user -store My
This displays the current user’s Personal store.
certutil -store My
This targets the machine context when run with the appropriate permissions.
Microsoft cautions that certutil is an administrative and diagnostic tool and is not recommended as a dependency in production application code. learn.microsoft.com
Benefits of certmgr.msc
Simple graphical management
It provides a built-in interface that is easier for beginners than command-line tools, scripts, or direct access to cryptographic APIs.
Clear separation into logical stores
Certificates are grouped according to roles such as personal identity, root trust, intermediate authorities, trusted publishers, and explicitly untrusted certificates.
Detailed certificate inspection
Administrators can review subjects, issuers, intended purposes, expiration dates, fingerprints, extensions, and certification paths without third-party software.
Support for common lifecycle tasks
The console supports routine importing, exporting, deletion, and—in supported enterprise environments—enrollment and renewal.
Useful troubleshooting visibility
It helps identify common problems including:
- A certificate installed under the wrong account.
- A certificate installed in the wrong store.
- An expired or not-yet-valid certificate.
- A missing private key.
- An incomplete chain.
- An untrusted issuer.
- A certificate without the required enhanced key usage.
- Multiple certificates with similar subjects.
No separate installation normally required
The MMC console is included with supported Windows desktop and server installations that provide the Certificates snap-in.
Limitations of certmgr.msc
- It opens only the current user’s certificate stores by default.
- It does not manage a certification authority.
- It does not automatically determine which certificate every application uses.
- A displayed certificate status may not reproduce every application’s validation policy.
- Certificate presence does not prove the associated private key is accessible to a service.
- It is not designed for bulk management across many computers.
- It cannot bypass a non-exportable private key.
- It does not replace certificate inventory, monitoring, renewal automation, or enterprise PKI governance.
- Some browsers and applications may use their own certificate databases or apply additional validation rules.
- Group Policy or device-management software may restore, replace, or remove centrally managed certificates.
For enterprise-scale administration, use supported mechanisms such as Group Policy, mobile device management, Active Directory Certificate Services enrollment, PowerShell, or the relevant application’s certificate-management system.
Troubleshooting Common Problems
certmgr.msc does not show the expected certificate
Check whether the certificate was installed for:
- The current user.
- Another user account.
- The local computer.
- A service account.
- An application-specific certificate database.
Try certlm.msc if the certificate belongs to the computer or a Windows service.
A certificate works for one user but not another
Current User stores are account-specific. Importing a certificate while signed in as an administrator does not install it for every user. Enroll or deploy the certificate in the correct user context.
The private-key export option is unavailable
Confirm that:
- The certificate has an associated private key.
- The private key was created or imported as exportable.
- Your account has permission to access it.
- The key is not hardware-protected or restricted by policy.
A non-exportable key cannot legitimately be made exportable through certmgr.msc.
Windows reports an untrusted certificate
Inspect the Certification Path tab. Possible causes include:
- A missing intermediate CA certificate.
- An untrusted root CA.
- An expired certificate in the chain.
- Incorrect system date or time.
- Certificate policy or usage restrictions.
- Revocation-checking failures.
- Network restrictions preventing CA, AIA, CRL, or OCSP access.
Do not solve the problem by blindly placing the end certificate in the Trusted Root store.
The certificate is valid but the application rejects it
Verify:
- Subject or subject alternative names.
- Enhanced key usage.
- Private-key availability.
- Private-key permissions.
- Certificate scope and store.
- Validity dates.
- Chain and revocation accessibility.
- Application-specific certificate selection.
- Whether the application must be restarted after replacement.
For a Windows service, the service identity must have appropriate access to the private key.
The certificate disappeared or returned after deletion
The certificate might be controlled by:
- Group Policy.
- Mobile device management.
- Enterprise certificate auto-enrollment.
- An application installer.
- Windows root-certificate updating.
- Security software.
Identify the deployment source instead of repeatedly deleting a centrally managed certificate.
FAQ
Frequently Asked Questions
Is certmgr.msc safe to use?
Opening it and inspecting certificates is normally safe. Importing, deleting, or changing trust can cause security or availability problems. Create an authorized backup where appropriate and verify the exact certificate and store before making changes.
Does certmgr.msc require administrator rights?
Viewing and performing permitted operations in your own user stores usually does not require elevation. Modifying Local Machine stores through certlm.msc or MMC commonly requires administrator rights.
What is the difference between certmgr.msc and certlm.msc?
certmgr.msc manages certificates for the current user. certlm.msc manages certificates for the local computer and therefore affects services or users that rely on machine-wide stores.
Where are personal certificates located?
User certificates normally appear under Certificates – Current User > Personal > Certificates. Computer certificates normally appear under Certificates – Local Computer > Personal > Certificates. Windows and PowerShell refer to the Personal store internally as My.
How can I tell whether a certificate is expired?
Open the certificate and check the Valid from and Valid to dates. PowerShell can also examine the certificate’s NotBefore and NotAfter properties.
Can certmgr.msc renew an expired certificate?
It may offer enrollment or renewal in an enterprise PKI environment with an available CA, certificate template, and appropriate permissions. It cannot independently renew an arbitrary public certificate. Contact the issuing CA or use the approved renewal system.
Can I recover a certificate after deleting it?
There is no general undo function in Certificate Manager. Recovery requires an authorized backup, a retained PFX, re-enrollment, or reissuance. A certificate whose non-exportable private key is lost may not be recoverable.
Why should I not install an unknown root certificate?
A trusted root can cause Windows and affected applications to trust certificates issued beneath it. An unauthorized root could enable impersonation or interception. Install roots only from verified, approved authorities.
Does deleting a certificate revoke it?
No. Deletion removes the local copy from the selected store. Revocation must be performed through the issuing CA or the organization’s certificate-management process.
Is certmgr.msc available on Linux or macOS?
No. It is a Windows MMC console. Linux and macOS use different certificate stores and management tools.
FINAL RECOMMENDATION / CONCLUSION
Use certmgr.msc to inspect and manage certificates belonging to the signed-in Windows user, and use certlm.msc or a custom MMC console for computer and service certificates. Before importing, exporting, or deleting anything, verify the certificate’s subject, issuer, thumbprint, intended purpose, validity, private-key status, scope, and certification path.
Treat private keys as credentials and Trusted Root certificates as security-critical configuration. For business environments, prefer centrally managed enrollment, renewal, deployment, monitoring, and revocation instead of relying on manual certificate changes.
#certmgrmsc #WindowsCertificates #CertificateManager #WindowsSecurity #PKI #DigitalCertificates #CertificateStore #TrustedRoot #CertificateImport #CertificateExport #PFX #PrivateKey #certlmmsc #MMC #PowerShell #Certutil #TLS #ITAdministration #WindowsTroubleshooting #Cybersecurity
SOURCES
- Microsoft Learn — How to view certificates with the MMC snap-in
- Microsoft Learn — Certificate Stores
- Microsoft Learn — Local Machine and Current User Certificate Stores
- Microsoft Learn — Certificate Directory
- Microsoft Learn — Trusted Root Certification Authorities Certificate Store
- Microsoft Learn — Certificate Chains
- Microsoft Learn — Authority Information Access retrieval in Windows
- Microsoft Learn — Export a certificate with its private key
- Microsoft Learn — Import-Certificate
- Microsoft Learn — Certutil
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.