{
  "id": 23707978,
  "title": "Windows certificate inventory with PowerShell: RSA and ECC",
  "url": "https://urgent.news/2026/12/05/windows-certificate-inventory-with-powershell-rsa-and-ecc",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-05T21:59:08.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/hansstudy/windows-certificate-inventory-with-powershell-rsa-and-ecc-2391"
  },
  "original_language": null,
  "account": "The Windows certificate inventory can be examined using PowerShell, revealing multiple certificates within the machine's personal store, each with different expiry dates and issuance dates. These certificates might belong to various applications or be placeholders awaiting maintenance.\n\nThe PowerShell query extracts crucial information such as the subject's name, identification number, expiration date, and public key algorithm. The public key algorithm can be RSA or ECC (Elliptic Curve Cryptography). RSA refers to a modulus length, while ECC requires checking the specific named curve parameters.\n\nIn a test conducted on Windows 11 Pro build 26200.9974 with PowerShell version 5.1, only one certificate was found in the machine store, using RSA with AES-256 encryption. However, querying the certificate store of the signed-in user returned no entries. It is crucial to specify the store path when conducting these checks, as the result may vary depending on the store used.\n\nTo ensure consistent certificate presentation across all clients, it is essential to verify the TLS termination point of the service. If the application is hosted behind a load balancer, the browser may see the load balancer's certificate, while a different certificate authenticates the application itself. By calculating the SHA-256 fingerprint of the leaf certificate (the certificate presented to the client) and comparing it with the fingerprint of the configured certificate for the listener, one can confirm that the client trusts the presented certificate and that the TLS connection is established securely.\n\nThe loopback test on the Windows host demonstrated that a temporary RSA certificate issued for 'localhost' was trusted by the client, verified the hostname, and successfully negotiated TLS 1.3. This highlights the importance of checking both the configured and presented fingerprints to accurately determine the listener's certificate. Ultimately, maintaining a comprehensive cryptographic inventory that includes both the machine store and user store certificates, along with their respective algorithms and fingerprint comparisons, is vital for ensuring the security and reliability of the TLS connections.",
  "summary": "Start with one service. Its Windows certificate store can contain an expired certificate, the replacement waiting for a maintenance window, and a certificate issued for an entirely different application. Which one does the client see? Read the machine store Open Windows PowerShell on a system you administer. This query reads public certificate properties from the local machine’s personal store.…",
  "summary_source": "publisher",
  "key_points": [
    "PowerShell can inventory Windows certificates in personal store",
    "Certificates have RSA or ECC public key algorithms",
    "Verify TLS termination point and fingerprint comparison for secure connections"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}