The ImportResponseaction is used in offline certificate request scenarios to import the response from the CA. The response from the CA usually contains the requested certificate. The /ImportResponseaction requires the following syntax.

Copy Code
LCSCmd.exe /Cert /Action:ImportResponse /Filename:<file name>
[/assign:{TRUE|FALSE}] [/Components:{AP | DP | MR | INTERNAL}]
[/L:<log file path>] [/XML[:{TRUE|FALSE}]]
[/?[:{TRUE|FALSE}]]

Such as:

Copy Code
LcsCmd.exe /Cert /Action:ImportResponse
/Filename:c:\CertResponse.cer

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.

/Filename

Specifies the file containing the CAs response.

/assign

New in Office Communications Server 2007 R2. Specifies whether the issued certificate should be assigned immediately. This parameter is available only when /online is set to True (the default).

/Components

New in Office Communications Server 2007 R2. Specifies the Edge Server to which the certificate should be assigned. This is a comma-separated list, specifying one or more of the following options:

APAccess Proxy or Access Edge Server

DPData Proxy or Web Conferencing Edge Server

MRMedia Relay or A/V Edge Server

INTERNALEdge Server internal interface (default)

/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.