Difference between revisions of "Certutil"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
+
Certutil.exe is a command-line program, installed as part of Certificate Services. You can use <code>certutil.exe</code> to dump and display certification authority (CA) configuration information, configure Certificate Services, backup and restore CA components, and verify certificates, key pairs, and certificate chains.
  
 
* macOS: <code>brew install [[nss (libraries)|nss]]</code>
 
* macOS: <code>brew install [[nss (libraries)|nss]]</code>
Line 8: Line 8:
  
  
Create a [[CSR]] with subject CN=<common name>,O=<realm>, for example:
+
Create a [[CSR]] with [[subject]] <code>[[CN]]=<common name>,O=<realm></code>, for example:
 
* <code>[[certutil]] -R -d <database path> -a -g <key size> -s 'CN=<common name>,O=DOMAIN.COM'</code>
 
* <code>[[certutil]] -R -d <database path> -a -g <key size> -s 'CN=<common name>,O=DOMAIN.COM'</code>
 +
 +
== Related ==
 +
* <code>[[elasticsearch-certutil]]</code>
  
  
Line 16: Line 19:
 
* {{certutil}}
 
* {{certutil}}
 
* {{CA}}
 
* {{CA}}
 +
 +
[[Category:Computing]]

Latest revision as of 11:01, 28 June 2022

Certutil.exe is a command-line program, installed as part of Certificate Services. You can use certutil.exe to dump and display certification authority (CA) configuration information, configure Certificate Services, backup and restore CA components, and verify certificates, key pairs, and certificate chains.


certutil -N -d <database path>


Create a CSR with subject CN=<common name>,O=<realm>, for example:

  • certutil -R -d <database path> -a -g <key size> -s 'CN=<common name>,O=DOMAIN.COM'

Related[edit]


See also[edit]

Advertising: