There are several ways to assign a certificate. You can assign
the certificate at the same time you request it (through the
|
|
---|---|
|
New in Office Communications Server 2007 R2. Specifies whether
the issued certificate should be assigned immediately. This
parameter is available only when
|
|
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:
|
To assign a certificate at the time it's requested, set the
A
Copy Code | |
---|---|
LCSCmd.exe /Cert /Action:Request /OU:Marketing /Org:Contoso /sn:eepool1.contoso.com /country:US /city:Redmond /state:Washington /assign:TRUE /Components:AP,MR /ca:contoso.com\contoso-CA |
The
If you choose to assign a certificate at a later time, use the
Copy Code | |
---|---|
LCSCmd /Cert /Action:Assign /issuer:<the issuer of the certificate> [/subjectName:<subject name of the certificate>] [/serialNumber:<serial number of the certificate>] [/Components:<AP | DP | MR | INTERNAL>] [/L:<log file path>] [/XML:[TRUE|FALSE]] |
Here is an example showing a certificate assignment:
Copy Code | |
---|---|
LCSCmd /Cert /Action:Assign /issuer:contoso.com /subjectName:Pool01-Certificate /Components:AP,MR |
Where:
|
|
---|---|
|
Executes the selected certificate task on the current computer. |
|
Takes a string that specifies the action name. Valid action
names include
|
|
Specifies the common name of the issuer. |
|
Specifies the subject name of the certificate. |
|
Specifies the serial number of the certificate. |
|
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:
|
|
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. |
|
Specifies whether the log file to be generated should be in XML format instead of HTML. |
|
Shows Help on usage. |