CertUtil.exe
certutil
- C:\Windows\system32\certutil.exe /?
Output:
Verbs:
-dump -- Dump configuration information or file
-dumpPFX -- Dump PFX structure
-asn -- Parse ASN.1 file
-decodehex -- Decode hexadecimal-encoded file
-decode -- Decode Base64-encoded file
-encode -- Encode file to Base64
-deny -- Deny pending request
-resubmit -- Resubmit pending request
-setattributes -- Set attributes for pending request
-setextension -- Set extension for pending request
-revoke -- Revoke Certificate
-isvalid -- Display current certificate disposition
-getconfig -- Get default configuration string
-ping -- Ping Active Directory Certificate Services Request interface
-pingadmin -- Ping Active Directory Certificate Services Admin interface
-CAInfo -- Display CA Information
-ca.cert -- Retrieve the CA's certificate
-ca.chain -- Retrieve the CA's certificate chain
-GetCRL -- Get CRL
-CRL -- Publish new CRLs [or delta CRLs only]
-shutdown -- Shutdown Active Directory Certificate Services
-installCert -- Install Certification Authority certificate
-renewCert -- Renew Certification Authority certificate
-schema -- Dump Certificate Schema
-view -- Dump Certificate View
-db -- Dump Raw Database
-deleterow -- Delete server database row
-backup -- Backup Active Directory Certificate Services
-backupDB -- Backup Active Directory Certificate Services database
-backupKey -- Backup Active Directory Certificate Services certificate and private key
-restore -- Restore Active Directory Certificate Services
-restoreDB -- Restore Active Directory Certificate Services database
-restoreKey -- Restore Active Directory Certificate Services certificate and private key
-importPFX -- Import certificate and private key
-dynamicfilelist -- Display dynamic file List
-databaselocations -- Display database locations
-hashfile -- Generate and display cryptographic hash over a file
-store -- Dump certificate store
-enumstore -- Enumerate certificate stores
-addstore -- Add certificate to store
-delstore -- Delete certificate from store
-verifystore -- Verify certificate in store
-repairstore -- Repair key association or update certificate properties or key security descriptor
-viewstore -- Dump certificate store
-viewdelstore -- Delete certificate from store
-UI -- invoke CryptUI
-attest -- Verify Key Attestation Request
-dsPublish -- Publish certificate or CRL to Active Directory
-ADTemplate -- Display AD templates
-Template -- Display Enrollment Policy templates
-TemplateCAs -- Display CAs for template
-CATemplates -- Display templates for CA
-SetCASites -- Manage Site Names for CAs
-enrollmentServerURL -- Display, add or delete enrollment server URLs associated with a CA
-ADCA -- Display AD CAs
-CA -- Display Enrollment Policy CAs
-Policy -- Display Enrollment Policy
-PolicyCache -- Display or delete Enrollment Policy Cache entries
-CredStore -- Display, add or delete Credential Store entries
-InstallDefaultTemplates -- Install default certificate templates
-URLCache -- Display or delete URL cache entries
-pulse -- Pulse autoenrollment event or NGC task
-MachineInfo -- Display Active Directory machine object information
-DCInfo -- Display domain controller information
-EntInfo -- Display enterprise information
-TCAInfo -- Display CA information
-SCInfo -- Display smart card information
-SCRoots -- Manage smart card root certificates
-DeleteHelloContainer -- Delete Hello Logon container.
** Users need to sign out after using this option for it to complete. **
-verifykeys -- Verify public/private key set
-verify -- Verify certificate, CRL or chain
-verifyCTL -- Verify AuthRoot or Disallowed Certificates CTL
-syncWithWU -- Sync with Windows Update
-generateSSTFromWU -- Generate SST from Windows Update
-generatePinRulesCTL -- Generate Pin Rules CTL
-downloadOcsp -- Download OCSP Responses and Write to Directory
-generateHpkpHeader -- Generate HPKP header using certificates in specified file or directory
-flushCache -- Flush specified caches in selected process, such as, lsass.exe
-addEccCurve -- Add ECC Curve
-deleteEccCurve -- Delete ECC Curve
-displayEccCurve -- Display ECC Curve
-sign -- Re-sign CRL or certificate
-vroot -- Create/delete web virtual roots and file shares
-vocsproot -- Create/delete web virtual roots for OCSP web proxy
-addEnrollmentServer -- Add an Enrollment Server application
-deleteEnrollmentServer -- Delete an Enrollment Server application
-addPolicyServer -- Add a Policy Server application
-deletePolicyServer -- Delete a Policy Server application
-oid -- Display ObjectId or set display name
-error -- Display error code message text
-getreg -- Display registry value
-setreg -- Set registry value
-delreg -- Delete registry value
-ImportKMS -- Import user keys and certificates into server database for key archival
-ImportCert -- Import a certificate file into the database
-GetKey -- Retrieve archived private key recovery blob, generate a recovery script,
or recover archived keys
-RecoverKey -- Recover archived private key
-MergePFX -- Merge PFX files
-ConvertEPF -- Convert PFX files to EPF file
-add-chain -- (-AddChain) Add certificate chain
-add-pre-chain -- (-AddPrechain) Add pre-certificate chain
-get-sth -- (-GetSTH) Get signed tree head
-get-sth-consistency -- (-GetSTHConsistency) Get signed tree head changes
-get-proof-by-hash -- (-GetProofByHash) Get proof by hash
-get-entries -- (-GetEntries) Get entries
-get-roots -- (-GetRoots) Get roots
-get-entry-and-proof -- (-GetEntryAndProof) Get entry and proof
-VerifyCT -- Verify certificate SCT
-? -- Display this usage message
CertUtil -? -- Display a verb list (command list)
CertUtil -dump -? -- Display help text for the "dump" verb
CertUtil -v -? -- Display all help text for all verbs
CertUtil: -? command completed successfully.
Return Code: 0
C:\Windows\system32\certutil.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 1700864bytes |
| Creation Time | 2022/09/29 14:53:56 |
| LastWrite Time | 2022/09/29 14:53:56 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 10.0.19041.1 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 018796d4670ac12865be2f00382bbc8e |
| SHA1 | 8564027153dca487eca613345ab3b2de0add4f26 |
| SHA224 | de77a1b2367e24c9363ba20566940894665b3e25e5d7f57e66e7e5eb |
| SHA256 | 22d1471ed17c681aa5580c59712005e1c70ef9c306cbcad245a64f7dfae47847 |
| SHA384 | 0b7f0a44d23d4f28ea61f993fd33f1f2f33dd1c72b1f0bb0f2f265141d4619053762dc67cb2ab50da1c43f6ae5077440 |
| SHA512 | 4edac00e0d19b439c300328bf4f7abc98cadfce0d7f4283f1c6278bec24d0ed7c2e51090a2e584a7a2a2e645e396a890d9589fe3f660fa73fc238a09d827bc7b |