Importing a CA Chain (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 ImportCAChain action is used to import the certificate chain from the certification authority (CA) that issued the certificate. In order for the validity of a certificate to be verified and for the certificate to be assigned or used by Office Communications Server in any way, the root CA certificate must be in Trusted Root Certification Authority. When you import the CA chain, you obtain all CA certificates in the certification path, including the root CA certificate. The ImportCAChain action requires the following syntax.

LCSCmd.exe /Cert /Action:ImportCAChain /Filename:<file name> [/L:<log file path>] [/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]]

Such as:

LcsCmd.exe /Cert /Action:ImportCAChain /Filename:Certfile.p7b

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 to which you want to export the certificate chain.

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