How to View Certificates on Your Computer: A Step-by-Step Guide for Windows, Mac, and Linux
To view certificates on your computer, open the native certificate management tool for your operating system: run certmgr.msc (for user certificates) or certlm.msc (for local machine certificates) on Windows, launch Keychain Access on macOS, or inspect system...
To view certificates on your computer, open the native certificate management tool for your operating system: run certmgr.msc (for user certificates) or certlm.msc (for local machine certificates) on Windows, launch Keychain Access on macOS, or inspect system certificate stores using OpenSSL commands on Linux. Web browsers like Chrome, Firefox, and Edge also allow viewing site-specific SSL/TLS certificates directly from the security icon in the address bar.
Contents
Understanding Digital Certificates on Your Operating System
Digital certificates act as electronic credentials that establish identity and encrypt communications across public and private networks. Grounded in Public Key Infrastructure (PKI) and standardized under the ITU-T X.509 structure, these files bind cryptographic public keys to specific entities, such as domain names, organizations, hardware devices, or individuals.
When your operating system or web browser connects to a secure server, authenticates an encrypted email, or verifies the publisher of downloaded software, it relies on digital certificates stored locally on your machine. Understanding how to locate and read these files is essential for system administrators, software developers, and security-conscious users who need to audit trusted entities, verify encryption standards, or resolve connectivity errors.
Operating systems organize certificates into logical stores based on their function and trust level:
- Root Certification Authorities (Root CAs): Pre-installed certificates from globally trusted organizations (such as DigiCert, Sectigo, or Let's Encrypt). They sit at the top of the trust chain. If a Root CA is present in your computer's trusted root store, your system trusts any valid certificate issued beneath it.
- Intermediate Certification Authorities: Entities authorized by Root CAs to issue end-entity certificates. They prevent root private keys from being exposed online and bridge trust between the root authority and the end user.
- Personal / User Certificates: Client certificates, email signing keys (S/MIME), and user authentication keys assigned specifically to your active operating system account.
- Code Signing Certificates: Files used to verify that software binaries have not been altered or tampered with since being signed by the developer.
Viewing these certificates allows you to inspect critical details, including the cryptographic algorithm (e.g., RSA or ECDSA), expiration dates ("Valid From" and "Valid To"), serial numbers, thumbprints (hashes), and Subject Alternative Names (SANs).
Viewing Certificates on Windows
Windows categorizes digital certificates into two administrative scopes: Current User (certificates applied only to your login profile) and Local Machine (certificates applied system-wide to all users and background services). You can view both through graphical interfaces and command-line environments.
Method 1: Microsoft Management Console (MMC Snap-in)
The standard graphical method for inspecting certificates in Windows uses dedicated Management Console shortcuts.
- Press
Windows Key + Rto open the Run dialog box. - To view personal user certificates, type
certmgr.mscand press Enter. - To view system-wide machine certificates (requires administrator privileges), type
certlm.mscand press Enter. - In the left-hand navigation pane, expand the store folders:
- Personal: Contains client authentication certificates and S/MIME keys.
- Trusted Root Certification Authorities: Displays all root certificates trusted by Windows.
- Intermediate Certification Authorities: Displays intermediate certificates that build valid trust chains.
- Click Certificates inside any folder to view the list in the right-hand panel.
- Double-click any certificate entry to open its detailed property viewer:
- General tab: Shows the certificate's main purpose, issuer, owner, and validity dates.
- Details tab: Displays technical attributes including Public Key size, Signature Algorithm, Thumbprint, and Subject Alternative Names.
- Certification Path tab: Displays the hierarchical chain of trust from the root CA down to the selected certificate.
Method 2: Internet Options (Control Panel)
For a quick view of web and user certificates without opening administrative consoles:
- Press
Windows Key + R, typeinetcpl.cpl, and press Enter to launch Internet Properties. - Navigate to the Content tab.
- Click the Certificates button under the Certificates section.
- Use the tabbed interface (Personal, Other People, Intermediate Certification Authorities, Trusted Root Certification Authorities) to scroll through installed items.
- Select a certificate and click View to inspect its properties.
Method 3: Windows PowerShell
PowerShell allows you to query the Windows certificate provider programmatically, which is helpful for administrative auditing.
To list all certificates in your personal user store, open PowerShell and execute:
Get-ChildItem -Path Cert:\CurrentUser\My
To view certificates located in the local machine's trusted root store, run:
Get-ChildItem -Path Cert:\LocalMachine\Root | Format-Table Subject, Thumbprint, NotAfter
To view full cryptographic details of a specific certificate by its thumbprint:
Get-ChildItem -Path Cert:\LocalMachine\My\YOUR_CERTIFICATE_THUMBPRINT | Format-List *
Viewing Certificates on macOS
macOS centralizes digital certificate management within its system-level credential storage framework, known as Keychain Access. macOS uses keychains to store public keys, private keys, password items, and secure notes.
Method 1: Using the Keychain Access Application
- Open Finder, navigate to Applications, and open Utilities.
- Double-click Keychain Access (on newer macOS versions, this interface is integrated into Passwords & Keychains or launched via Spotlight by pressing
Command + Spaceand typing "Keychain Access"). - In the left sidebar, select the target keychain:
- login: Contains certificates owned by your specific user account.
- System: Contains certificates installed by system administrators for local machine services and Wi-Fi networks.
- System Roots: Contains system-default root certificates trusted by Apple. These are managed directly by macOS updates and cannot be modified by standard users.
- Click the Certificates tab at the top of the main window to filter out plain password entries.
- Look for status icons alongside each certificate:
- A green checkmark indicates a valid, trusted certificate.
- A red "X" or warning icon indicates an expired, revoked, or untrusted certificate.
- Double-click any certificate to expand its full detail modal:
- Expand the Trust dropdown to see explicit trust override rules applied to the entry.
- Scroll down to review key usage constraints, public key parameters, fingerprints (SHA-256 / SHA-1), and extensions.
Method 2: Using the macOS Terminal
You can inspect keychains and trusted certificates directly from the Command Line Interface (CLI) using the security tool.
To list certificates stored in the user's login keychain:
security find-certificate -a ~/Library/Keychains/login.keychain-db
To display detailed information for all root certificates trusted by the operating system:
security dump-trust-settings -d
To search for a specific certificate by its common name:
security find-certificate -c "Certificate Name" -p
The -p flag outputs the certificate in PEM (Privacy-Enhanced Mail) ASCII format, which can be piped directly into decoding utilities like OpenSSL.
Viewing Certificates on Linux Systems
Unlike Windows and macOS, Linux distributions do not feature a single unified graphical certificate manager across all desktop environments. Instead, certificates are stored as individual files or concatenated bundle files (such as .pem, .crt, or .ca-bundle) within standard file system directories.
Method 1: Examining System Storage Paths
Certificate storage locations vary depending on your Linux distribution family:
- Debian / Ubuntu / Linux Mint: Root certificates reside in
/etc/ssl/certs/and individual user-added certificates are placed in/usr/local/share/ca-certificates/. The system bundle file is located at/etc/ssl/certs/ca-certificates.crt. - RHEL / CentOS / Fedora / Rocky Linux: Certificates are located in
/etc/pki/tls/certs/or/usr/share/pki/ca-trust-source/. The system bundle file is located at/etc/pki/tls/certs/ca-bundle.crt. - Arch Linux: Certificates are stored under
/etc/ca-certificates/extracted/.
To list installed certificate files in Ubuntu/Debian, run:
ls -la /etc/ssl/certs/
Method 2: Inspecting Certificates with OpenSSL
Because certificate files on Linux are formatted as base64-encoded PEM files or binary DER files, you use the openssl command-line utility to read their contents in human-readable plain text.
To inspect a local PEM-formatted certificate file (example.crt):
openssl x509 -in /etc/ssl/certs/example.crt -text -noout
This command outputs comprehensive certificate data, including:
- Issuer details
- Validity period (Not Before / Not After)
- Subject (Owner identity)
- X509v3 Subject Alternative Name (SAN)
- Signature Algorithm and RSA/ECDSA Key Size
To extract only the expiration date of a specific certificate file:
openssl x509 -in /etc/ssl/certs/example.crt -noout -enddate
To inspect an SSL/TLS certificate directly from a remote web server over an active network connection:
openssl s_client -connect example.com:443 -servername example.com | openssl x509 -text -noout
How to View Web SSL/TLS Certificates in Web Browsers
While operating systems manage machine-wide trust, modern web browsers incorporate their own validation routines or maintain independent certificate stores (for example, Mozilla Firefox uses Network Security Services [NSS] rather than relying exclusively on the host OS store).
Google Chrome and Microsoft Edge (Chromium Engine)
- Navigate to the target website (e.g.,
https://example.com). - Click the Tune icon (or padlock icon) located to the left of the URL address bar.
- Select Connection is secure from the context menu.
- Click Certificate is valid (or Show Certificate).
- A native viewer window opens, displaying the General, Details, and Hierarchy tabs.
Mozilla Firefox
- Navigate to the target HTTPS website.
- Click the Padlock icon to the left of the address bar.
- Click Connection secure, then click More information.
- In the Page Info dialog box that appears, click the View Certificate button.
- Firefox opens a dedicated tab displaying detailed cryptographic attributes, full chain hierarchy, raw PEM downloads, and fingerprinted SAN extensions.
Apple Safari
- Navigate to the secure website.
- Click the Padlock icon in the smart search field.
- Click Show Certificate in the pop-up modal.
- Expand the operational details pane to view validation parameters, key usage, and trust evaluation results.
Comparing Certificate Management Across Platforms
The following matrix compares primary native tools, paths, and commands across supported desktop and server operating systems.
| Operating System / Environment | Graphical Management Tool | Command-Line (CLI) Tool | System Certificate Storage Location | Primary Use Case |
|---|---|---|---|---|
| Windows (User Level) | certmgr.msc |
PowerShell (Cert:\CurrentUser) |
Windows Registry (HKCU\Software\Microsoft\SystemCertificates) |
User S/MIME, personal VPN keys, client authentication |
| Windows (System Level) | certlm.msc |
PowerShell (Cert:\LocalMachine) |
Windows Registry (HKLM\SOFTWARE\Microsoft\SystemCertificates) |
Machine auth, IIS bindings, enterprise domain trust |
| macOS | Keychain Access app | security CLI utility |
/Library/Keychains/ and ~/Library/Keychains/ |
System-wide app security, Wi-Fi auth, Apple developer keys |
| Linux (Debian/Ubuntu) | Distribution utilities (e.g., GNOME Seahorse) | openssl, update-ca-certificates |
/etc/ssl/certs/ and /usr/local/share/ca-certificates/ |
Server daemon trust, NGINX/Apache SSL, SSH keys |
| Linux (RHEL/Fedora) | Distribution utilities | openssl, update-ca-trust |
/etc/pki/tls/certs/ and /etc/pki/ca-trust/source/ |
Enterprise Linux security, systemd trust services |
| Web Browsers (Cross-platform) | Browser Site Info Modal | OpenSSL s_client |
Browser profile (Firefox NSS) or Host OS Trust Store | HTTPS session inspection, web debugging, TLS audit |
Troubleshooting Common Certificate Errors
When viewing certificates on your computer, you may need to diagnose error messages that disrupt web browsing or software execution.
SSL/TLS TRUST FAILURE
- Check Expiration: Verify "Not After" date in viewer
- Check Domain Name: Confirm FQDN matches Subject / SAN list
- Check Trust Chain: Ensure Intermediate & Root CAs exist
- Check System Time: Verify local OS clock is synchronized
1. NET::ERR_CERT_AUTHORITY_INVALID or SEC_ERROR_UNKNOWN_ISSUER
- Cause: The certificate presented by the website or server was issued by an entity that is not present in your operating system or browser's trusted root store. This frequently occurs with self-signed certificates, private enterprise CAs, or deep-packet-inspection network security software (like corporate firewalls).
- Resolution: View the certificate using your browser or OS viewer. Check the Issuer field. If it is an internal corporate CA, import the CA's root certificate into your computer’s Trusted Root Certification Authorities store (Windows) or System Keychain (macOS).
2. NET::ERR_CERT_DATE_INVALID or Certificate Expired
- Cause: The current system date falls outside the boundary defined by the certificate’s Not Before and Not After fields.
- Resolution: First, check your computer's local clock settings. If your machine's system time is incorrect, valid certificates will evaluate as expired or not yet valid. If your clock is accurate, the server administrator must renew and re-install the certificate.
3. SSL_ERROR_BAD_CERT_DOMAIN or NET::ERR_CERT_COMMON_NAME_INVALID
- Cause: The host name entered in the web browser address bar does not match any entry listed in the certificate's Subject Common Name (CN) or Subject Alternative Name (SAN) list.
- Resolution: View the certificate details, navigate to the SAN extension, and check the valid domains listed. Access the service using one of the exact fully qualified domain names (FQDNs) specified in that list.
4. Broken Intermediate Certificate Chains
- Cause: The server presents a valid end-entity certificate and the client has the Root CA installed, but one or more Intermediate CA certificates are missing from the handshake transmission.
- Resolution: When inspecting the Certification Path tab in the Windows viewer or Keychain Access, you will see a broken link or a question mark next to the intermediate entity. To resolve this, download the missing intermediate certificate from the CA and import it into your computer's Intermediate Certification Authorities store.
Frequently Asked Questions
What is the difference between user certificates and computer certificates in Windows?
User certificates (certmgr.msc) are tied to a specific user profile and apply only when that specific user is logged into the machine. They store personal credentials such as S/MIME email encryption keys and individual user authentication tokens. Computer certificates (certlm.msc) apply system-wide across all user profiles and background system services. They manage machine-level trust, IPSec connections, local Web Server (IIS) bindings, and system services that run before any user logs in.
How do I export a digital certificate from my computer for backup or installation?
On Windows, open certmgr.msc, right-click the target certificate, select All Tasks > Export, and follow the Certificate Export Wizard. You can select formats like .CER (public certificate only) or .PFX/.PKCS12 (includes the private key if marked as exportable). On macOS, open Keychain Access, select the certificate, right-click, choose Export, and select your desired file format (.cer, .pem, or .p12). On Linux, locate the raw .crt or .pem file in /etc/ssl/certs/ and copy it using standard command-line tools such as cp or scp.
Can viewing a digital certificate compromise my computer's security or private keys?
No, simply opening, viewing, or reading the public properties of a digital certificate poses no security risk. Public certificate fields (such as owner name, public key, issuer, and validity dates) are designed to be shared publicly across open networks. However, you must exercise caution when exporting or moving certificates bundled with their associated Private Key (.pfx or .p12 files). Private keys must remain confidential and protected by strong passwords.
Why do browser certificate views differ from the OS system certificate store?
Most modern web browsers (including Chrome, Edge, and Safari) utilize the underlying host operating system's trust store to validate incoming certificates. However, Mozilla Firefox maintains its own built-in certificate store (using Network Security Services) independently of Windows or macOS stores. Consequently, installing a enterprise root certificate into your Windows store will trust the connection across Chrome and Edge, but Firefox will continue to reject it until the CA is explicitly imported into Firefox's internal Certificate Manager under Settings.
How can I tell if a root certificate on my computer is suspicious or rogue?
To verify a root certificate, view its properties and inspect its SHA-256 Fingerprint / Thumbprint, Issuer, and Subject. Compare these cryptographic fingerprints against published lists from trusted CA providers or official vendor repositories (such as Microsoft's Trusted Root Program or Apple's CA Program). If an unfamiliar root certificate appears in your Trusted Root store—especially one issued by an unknown third party or proxy security vendor that you did not explicitly authorize—it may indicate installed adware, local proxy inspection software, or unauthorized administrative modification.
Best Practices for Auditing Your Local Certificate Stores
Maintaining a clean and secure certificate store is a foundational component of computer system security. Unauthorized or outdated root certificates can leave your system vulnerable to Man-in-the-Middle (MitM) interception, expired software signature trust, and network authentication failures.
Adopt the following administrative habits when managing certificates on your computer:
- Schedule Regular Audits: Routinely inspect your Trusted Root and Personal certificate stores (quarterly for personal systems, continuously via automation for enterprise networks) to remove expired or revoked certificates.
- Never Force-Trust Unverified Root Certificates: If a website, installer, or software package prompts you to manually install a Root CA certificate into your machine's system store, inspect the publisher carefully. Installing an untrusted root certificate allows the issuer to intercept and decrypt all encrypted traffic routed through your machine.
- Use Scripted Inspections for Fleets: For IT environments managing multiple endpoints, avoid manual GUI inspection. Use native command-line scripts—such as PowerShell's
Get-ChildItem Cert:on Windows or OpenSSL scripts on Linux—to generate automated reports of certificate expiration dates and thumbprints across all managed hosts.