Historical Content Alert

This is a historical content for Windows NT 4.0 product and is presented for informative purposes only. All content in this directory is copyrighted and owned by Microsoft.

Examining Configuration Information

Certificate Server configuration information is stored at the Shared Folder location in an ASCII text file named CertSrv.txt. The configuration file can contain multiple configuration entries if Configuration Wizard was run on multiple machines using the same Shared Folder location. The entries are numbered sequentially, beginning with Entry 0.

The CertUtil.exe console application can dump the configuration information in CertSrv.txt when it is started with the -dump command line parameter. CertUtil dumps the entire contents of CertSrv.txt regardless of the number of entries in the file. The following illustrates the output of a dump with two configuration entries:

Entry 0:
  Name:
`Your Name'
  OrgUnit:
`Your Unit'
  Organization:
`Your Company'
  Locality:
`Your Locality'
  State:
`Your State'
  Country:
`Your Country'
  Config:
`Configuration Name'
  ExchangeCertificate:
`TEST_EXCHANGE.CRT'
  SiteCertificate:
`TEST.CRT'
  Comment:
`Your Comment'
Entry 1:
  Name:
`Another Name'
  OrgUnit:
`Another Unit'
  Organization:
`Another Company'
  Locality:
`Another Locality'
  State:
`Another State'
  Country:
`Another Country'
  Config:
`Another Configuration Name'
  ExchangeCertificate:
`TEST1_EXCHANGE.CRT'
  SiteCertificate:
`TEST1.CRT'
  Comment:
`Another Comment'
End of list

By default, CertUtil dumps configuration information to the console, but you can redirect the output to a file or some other device by running CertUtil from the command line with the appropriate command syntax. For example, typing the following command will redirect the output to an ASCII text file:

certutil -dump > config.txt

For more information on command syntax see CertUtil.

Developers can write custom applications to access the Certificate Server configuration information file by writing to the ICertConfig Interface.


Share this article: