Checking Certificate Request Status (Offline Requests) (Command Line)

Microsoft Office Communications Server 2007 and Microsoft Office Communications Server 2007 R2 will reach end of support on January 9, 2018. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

The CheckStatus action is used in offline certificate request scenarios to check the status of a pending certificate request. The /CheckStatus action requires the following syntax.

LCSCmd.exe /Cert /Action:CheckStatus /requestId:<pending request-id> /ca:<certification authority in the form <CAFQDN>\<CAName>> [/caAccount:<Account in the form <CADomain>\<CAUser> or <CAComputer>\<CAUser>>] [/caPassword:<Password for the CA account>] [/L:<log file path>] [/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]]

Such as:

LcsCmd.exe /Cert /Action:CheckStatus /requestId:5 /ca:mydomain\myCA

Where:

Parameter Description

/Cert

Executes the selected certificate task on the current computer.

/Action

Takes a string that specifies the action name. Valid action names include Request,CheckStatus, ImportResponse, ImportPFX, ExportPFX, ListCA, and ImportCAChain.

/requestId

Specifies the pending certificate request identifier.

/ca

Specifies the certification authority to use for online certificate requests in the form <CA FQDN>\<CA Name>. This parameter is required for online certificate requests.

/caAccount

Specifies an account that is recognized by the CA and has privileges to request certificates (if integrated authentication is not desired). This parameter is ignored if CredMan is not available.

/caPassword

Specifies the password to be used with /caAccount. This parameter is ignored if /caAccount is not specified.

/L

Specifies the log file path. If not specified, %TEMP%\<ActionName>[<Date>][<Time>].html is used. To disable logging, use a dash character (-) as the log file name.

/XML

Specifies whether the log file to be generated should be in XML format instead of HTML.

/?

Shows Help on usage.