Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (71)
EC Keys (1856)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (5388)
Revoked Certificates (16)
Root CA (85)
RSA Keys (4399)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
Get Certificate Details in Windows PowerShell
How to get certificate detailed properties in Windows PowerShell?
✍: FYIcenter.com
You can get detailed properties of a specific certificate Windows PowerShell
as shown in the example below:
PS C:\fyicenter> cd Cert: PS Cert:\> cd localmachine PS Cert:\localmachine> cd authroot PS Cert:\LocalMachine\authroot> $c = (dir | where-object {$_.subject -like "*microsoft*"}) PS Cert:\LocalMachine\authroot> $c | format-list -Property * PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\authroot PSChildName : 8F43288AD272F3103B6FB1428485EA3014C0BCFE PSDrive : Cert PSProvider : Microsoft.PowerShell.Security\Certificate PSIsContainer : False EnhancedKeyUsageList : {} DnsNameList : {} SendAsTrustedIssuer : False Archived : False Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid} FriendlyName : Microsoft Root Certificate Authority 2011 IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName NotAfter : 3/22/2036 6:13:04 PM NotBefore : 3/22/2011 6:05:28 PM HasPrivateKey : False PrivateKey : PublicKey : System.Security.Cryptography.X509Certificates.PublicKey RawData : {48, 130, 5, 237...} SerialNumber : 3F8BC8B5FC9FB29643B569D66C42E144 SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName SignatureAlgorithm : System.Security.Cryptography.Oid Thumbprint : 8F43288AD272F3103B6FB1428485EA3014C0BCFE Version : 3 Handle : 168881712 Issuer : CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Subject : CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
⇒ Windows Certificates Tutorials
⇐ Get List of Certificates in Windows PowerShell
2022-10-12, 21948👍, 1💬
Popular Posts:
What can I use OpenSSL "req" command for? What are options supported by the "req" command? OpenSSL "...
Hi to all! Please help somebody I have certificate signed by CA(it should root for me), also generat...
Certificate summary - Owner: Entrust Certification Authority - L1E, "(c) 2009 Entrust, Inc.", www.en...
How to view Java VM certificates using Java Control Panel on Mac computers? To view Java VM certific...
Certificate Summary: Subject: AddTrust Qualified CA Root Issuer: AddTrust Qualified CA Root Expirati...