Show/Hide Toolbars

The CertMgr.exe command line utility is located in the application directory of the Application Server. Its purpose is to give you an easy way of dealing with the the self signed default certificates that are used by default for communication between clients and the Application Server.

To run CertMgr open a console window change to the Application directory and type CertMgr.exe with the appropriate command line arguments.

Table 1 describes the command arguments that can be used with CertMgr.exe, listing 1 shows the basic command line syntax and Listing 2 an exemplary usage of the utility

Argument

Description

-i, --Install

Installs the default certificate - needs administrative             rights

-r, --Remove

Removes the default certificate if installed -  needs administrative

-c, --Check

Checks if the default certificate is installed

-u, --User

Name of the windows user account that runs the Application Server service, mandatory if you specify -i.

-d, --Domain

Name of the windows domain of the account that runs the Application Server Service, , mandatory if you specify -i.

-h, --help

Displays a help screen.

Table 1: Command line options for the CertMgr.exe utility

CertMgr -c | -i [-u <username> [-d <domainname>]] | -r]

Listing 1: Basic syntax of the CertMgr.exe utility.

C:\Program Files\Redbex\Application Server\>certmgr -c

0       30.04.2013 07:40:11 +02:00      Searching for installed default certificate

1       30.04.2013 07:40:11 +02:00      Search criteria:

2       30.04.2013 07:40:11 +02:00        Certificate name: RedbexDefaultCertificate

3       30.04.2013 07:40:11 +02:00        Store name: My

4       30.04.2013 07:40:11 +02:00        Store location: LocalMachine

 

Default certificate is not installed

 

C:\Program Files\Redbex\Application Server\>certmgr -i -u scc3b -d at

0       30.04.2013 07:40:24 +02:00      Installing default certificate:

1       30.04.2013 07:40:24 +02:00        Certificate name: RedbexDefaultCertificate

2       30.04.2013 07:40:24 +02:00        Store name: My

3       30.04.2013 07:40:24 +02:00        Store location: LocalMachine

4       30.04.2013 07:40:24 +02:00      Searching for installed default certificate

5       30.04.2013 07:40:24 +02:00      Search criteria:

6       30.04.2013 07:40:24 +02:00        Certificate name: RedbexDefaultCertificate

7       30.04.2013 07:40:24 +02:00        Store name: My

8       30.04.2013 07:40:24 +02:00        Store location: LocalMachine

9       30.04.2013 07:40:24 +02:00      Certificate successfully installed.

10      30.04.2013 07:40:25 +02:00      Adding key file permissions for user: >scc3b< in domain >at<

 

Default certificate successfully installed

 

C:\Program Files\Redbex\Application Server\>certmgr -c

0       30.04.2013 07:40:36 +02:00      Searching for installed default certificate

1       30.04.2013 07:40:36 +02:00      Search criteria:

2       30.04.2013 07:40:36 +02:00        Certificate name: RedbexDefaultCertificate

3       30.04.2013 07:40:36 +02:00        Store name: My

4       30.04.2013 07:40:36 +02:00        Store location: LocalMachine

5       30.04.2013 07:40:36 +02:00      Details on installed certificate

6       30.04.2013 07:40:36 +02:00        Issuer name: CN=RedbexDefaultCertificate

7       30.04.2013 07:40:36 +02:00        Has private key: True

8       30.04.2013 07:40:36 +02:00        Subject name: CN=RedbexDefaultCertificate

 

Default certificate is installed

 

C:\Program Files\Redbex\Application Server\>certmgr -r

0       30.04.2013 07:40:40 +02:00      Searching for installed default certificate

1       30.04.2013 07:40:40 +02:00      Search criteria:

2       30.04.2013 07:40:40 +02:00        Certificate name: RedbexDefaultCertificate

3       30.04.2013 07:40:40 +02:00        Store name: My

4       30.04.2013 07:40:40 +02:00        Store location: LocalMachine

5       30.04.2013 07:40:40 +02:00      Details on installed certificate

6       30.04.2013 07:40:40 +02:00        Issuer name: CN=RedbexDefaultCertificate

7       30.04.2013 07:40:40 +02:00        Has private key: True

8       30.04.2013 07:40:40 +02:00        Subject name: CN=RedbexDefaultCertificate

9       30.04.2013 07:40:40 +02:00      Removing default certificate

10      30.04.2013 07:40:40 +02:00        Certificate name: RedbexDefaultCertificate

11      30.04.2013 07:40:40 +02:00        Store name: My

12      30.04.2013 07:40:40 +02:00        Store location: LocalMachine

13      30.04.2013 07:40:40 +02:00      Removing certificate with subject: CN=RedbexDefaultCertificate

 

Default certificate successfully deinstalled

 

C:\Program Files\Redbex\Application Server\>certmgr -c

0       30.04.2013 07:40:44 +02:00      Searching for installed default certificate

1       30.04.2013 07:40:44 +02:00      Search criteria:

2       30.04.2013 07:40:44 +02:00        Certificate name: RedbexDefaultCertificate

3       30.04.2013 07:40:44 +02:00        Store name: My

4       30.04.2013 07:40:44 +02:00        Store location: LocalMachine

 

Default certificate is not installed

Listing 2: Exemplary use of the CertMgr.exe utility

 

© 2021 AFRY Austria GmbH, www.redbex.com