Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save filipnavara/b3793a24dbb6fcaf904de6a37910e73f to your computer and use it in GitHub Desktop.
Save filipnavara/b3793a24dbb6fcaf904de6a37910e73f to your computer and use it in GitHub Desktop.
certutil -dump test.pfx
================ Certificate 0 ================
================ Begin Nesting Level 1 ================
Element 0:
Serial Number: 6187c7f200020000001b
Issuer: CN=MS Passport Test Root CA, OU=Passport Test, O=Microsoft, L=Redmond, S=WA, C=US, E=asmemon@microsoft.com
NotBefore: 27/10/2009 23:31
NotAfter: 14/12/2031 00:26
Subject: CN=MS Passport Test Sub CA, DC=redmond, DC=corp, DC=microsoft, DC=com
CA Version: V1.1
Certificate Template Name (Certificate Type): SubCA
Non-root Certificate
Template: SubCA
Cert Hash(sha1): 32ce7ccad37c91786d830c57a78db97957bab54a
---------------- End Nesting Level 1 ----------------
No key provider information
Cannot find the certificate and private key for decryption.
================ Certificate 1 ================
================ Begin Nesting Level 1 ================
Element 1:
Serial Number: 1b9671a4bc128b8341b0e314ead9a191
Issuer: CN=MS Passport Test Root CA, OU=Passport Test, O=Microsoft, L=Redmond, S=WA, C=US, E=asmemon@microsoft.com
NotBefore: 26/01/2005 03:39
NotAfter: 14/12/2031 00:26
Subject: CN=MS Passport Test Root CA, OU=Passport Test, O=Microsoft, L=Redmond, S=WA, C=US, E=asmemon@microsoft.com
Certificate Template Name (Certificate Type): CA
CA Version: V2.1
Signature matches Public Key
Root Certificate: Subject matches Issuer
Template: CA
Cert Hash(sha1): 504767759fc52868ace9fbf093c5467963ab27f9
---------------- End Nesting Level 1 ----------------
No key provider information
Cannot find the certificate and private key for decryption.
================ Certificate 2 ================
================ Begin Nesting Level 1 ================
Element 2:
Serial Number: 15eaa83a000100009291
Issuer: CN=MS Passport Test Sub CA, DC=redmond, DC=corp, DC=microsoft, DC=com
NotBefore: 10/01/2013 23:39
NotAfter: 14/12/2031 00:26
Subject: E=crispop@microsoft.com, CN=test.local, OU=TEST, O=TEST, L=Redmond, S=WA, C=US
Non-root Certificate
Cert Hash(sha1): daf5acd663545f1ebb4622bce2fc306b73ccb9c8
---------------- End Nesting Level 1 ----------------
Provider = Microsoft Enhanced Cryptographic Provider v1.0
Encryption test passed
CertUtil: -dump command completed successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment